0s autopkgtest [12:11:56]: starting date and time: 2026-01-29 12:11:56+0000 0s autopkgtest [12:11:56]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [12:11:56]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.b501qs68/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pkgconf --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-s390x-11.secgroup --name adt-resolute-s390x-glib2.0-20260129-121156-juju-7f2275-prod-proposed-migration-environment-2-11e74e6b-91cd-4de5-8758-4cf6796deaaa --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-s390x-glib2.0-20260129-121156-juju-7f2275-prod-proposed-migration-environment-2-11e74e6b-91cd-4de5-8758-4cf6796deaaa from image adt/ubuntu-resolute-s390x-server-20260128.img (UUID 5ba972fb-5682-41ac-8a6c-59e0b358d8f4)... 70s autopkgtest [12:13:06]: testbed dpkg architecture: s390x 71s autopkgtest [12:13:07]: testbed apt version: 3.1.14 71s autopkgtest [12:13:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 71s autopkgtest [12:13:07]: testbed release detected to be: None 72s autopkgtest [12:13:08]: updating testbed package index (apt update) 73s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 73s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 73s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 73s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 73s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 73s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 73s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 73s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1007 kB] 73s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [117 kB] 73s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [643 kB] 73s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [6428 B] 74s Fetched 2032 kB in 1s (1492 kB/s) 77s Reading package lists... 78s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 78s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 78s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 78s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 81s Reading package lists... 81s Reading package lists... 81s Building dependency tree... 82s Reading state information... 82s Calculating upgrade... 83s The following packages will be upgraded: 83s libxcb1 tzdata 83s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s Need to get 250 kB of archives. 83s After this operation, 0 B of additional disk space will be used. 83s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x tzdata all 2025c-3ubuntu3 [199 kB] 83s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb1 s390x 1.17.0-2ubuntu1 [50.6 kB] 84s dpkg-preconfigure: unable to re-open stdin: No such file or directory 84s Fetched 250 kB in 0s (10.6 MB/s) 87s (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 ... 87720 files and directories currently installed.) 87s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 87s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 87s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_s390x.deb ... 88s Unpacking libxcb1:s390x (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 88s Setting up libxcb1:s390x (1.17.0-2ubuntu1) ... 88s Setting up tzdata (2025c-3ubuntu3) ... 89s 89s Current default time zone: 'Etc/UTC' 89s Local time is now: Thu Jan 29 12:14:45 UTC 2026. 89s Universal Time is now: Thu Jan 29 12:14:45 UTC 2026. 89s Run 'dpkg-reconfigure tzdata' if you wish to change it. 89s 89s Processing triggers for libc-bin (2.42-2ubuntu4) ... 89s autopkgtest [12:13:25]: upgrading testbed (apt dist-upgrade and autopurge) 89s Reading package lists... 90s Building dependency tree... 90s Reading state information... 91s Calculating upgrade... 91s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 92s Solving dependencies... 92s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 95s autopkgtest [12:13:31]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP Mon Jan 12 15:39:23 UTC 2026 96s autopkgtest [12:13:32]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 112s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (dsc) [4685 B] 112s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [661 kB] 112s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [5675 kB] 112s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (diff) [141 kB] 112s gpgv: Signature made Thu Jan 1 13:00:10 2026 UTC 112s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 112s gpgv: Can't check signature: No public key 112s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.3-4.dsc: no acceptable signature found 115s autopkgtest [12:13:51]: testing package glib2.0 version 2.86.3-4 120s autopkgtest [12:13:56]: build not needed 128s autopkgtest [12:14:04]: test build: preparing testbed 129s Reading package lists... 129s Building dependency tree... 129s Reading state information... 129s Solving dependencies... 130s The following NEW packages will be installed: 130s build-essential cpp cpp-15 cpp-15-s390x-linux-gnu cpp-s390x-linux-gnu g++ 130s g++-15 g++-15-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-15 130s gcc-15-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libblkid-dev libcc1-0 130s libffi-dev libgcc-15-dev libgio-2.0-dev libgomp1 libisl23 libitm1 130s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 130s libpcre2-posix3 libpkgconf7 libselinux-dev libsepol-dev libstdc++-15-dev 130s libsysprof-capture-4-dev libubsan1 pkgconf pkgconf-bin uuid-dev zlib1g-dev 130s 0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded. 130s Need to get 56.5 MB of archives. 130s After this operation, 186 MB of additional disk space will be used. 130s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libisl23 s390x 0.27-1build1 [702 kB] 131s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libmpc3 s390x 1.3.1-2 [57.4 kB] 131s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-15-s390x-linux-gnu s390x 15.2.0-11ubuntu1 [10.2 MB] 131s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-15 s390x 15.2.0-11ubuntu1 [1028 B] 131s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [5746 B] 131s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x cpp s390x 4:15.2.0-4ubuntu1 [22.4 kB] 131s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x libcc1-0 s390x 15.2.0-11ubuntu1 [50.0 kB] 131s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x libgomp1 s390x 15.2.0-11ubuntu1 [154 kB] 131s Get:9 http://ftpmaster.internal/ubuntu resolute/main s390x libitm1 s390x 15.2.0-11ubuntu1 [30.9 kB] 131s Get:10 http://ftpmaster.internal/ubuntu resolute/main s390x libasan8 s390x 15.2.0-11ubuntu1 [2968 kB] 131s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x libubsan1 s390x 15.2.0-11ubuntu1 [1211 kB] 131s Get:12 http://ftpmaster.internal/ubuntu resolute/main s390x libgcc-15-dev s390x 15.2.0-11ubuntu1 [1045 kB] 131s Get:13 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-15-s390x-linux-gnu s390x 15.2.0-11ubuntu1 [19.9 MB] 132s Get:14 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-15 s390x 15.2.0-11ubuntu1 [517 kB] 132s Get:15 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [1208 B] 132s Get:16 http://ftpmaster.internal/ubuntu resolute/main s390x gcc s390x 4:15.2.0-4ubuntu1 [5018 B] 132s Get:17 http://ftpmaster.internal/ubuntu resolute/main s390x libstdc++-15-dev s390x 15.2.0-11ubuntu1 [2660 kB] 132s Get:18 http://ftpmaster.internal/ubuntu resolute/main s390x g++-15-s390x-linux-gnu s390x 15.2.0-11ubuntu1 [11.7 MB] 132s Get:19 http://ftpmaster.internal/ubuntu resolute/main s390x g++-15 s390x 15.2.0-11ubuntu1 [24.6 kB] 132s Get:20 http://ftpmaster.internal/ubuntu resolute/main s390x g++-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [956 B] 132s Get:21 http://ftpmaster.internal/ubuntu resolute/main s390x g++ s390x 4:15.2.0-4ubuntu1 [1078 B] 132s Get:22 http://ftpmaster.internal/ubuntu resolute/main s390x build-essential s390x 12.12ubuntu2 [5258 B] 132s Get:23 http://ftpmaster.internal/ubuntu resolute/main s390x libffi-dev s390x 3.5.2-3 [62.3 kB] 132s Get:24 http://ftpmaster.internal/ubuntu resolute/main s390x uuid-dev s390x 2.41.2-4ubuntu2 [56.6 kB] 132s Get:25 http://ftpmaster.internal/ubuntu resolute/main s390x libblkid-dev s390x 2.41.2-4ubuntu2 [237 kB] 132s Get:26 http://ftpmaster.internal/ubuntu resolute/main s390x libsepol-dev s390x 3.9-2 [413 kB] 132s Get:27 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-16-0 s390x 10.46-1 [260 kB] 132s Get:28 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-32-0 s390x 10.46-1 [245 kB] 132s Get:29 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-posix3 s390x 10.46-1 [7226 B] 132s Get:30 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-dev s390x 10.46-1 [900 kB] 132s Get:31 http://ftpmaster.internal/ubuntu resolute/main s390x libselinux-dev s390x 3.9-4 [178 kB] 132s Get:32 http://ftpmaster.internal/ubuntu resolute/main s390x libmount-dev s390x 2.41.2-4ubuntu2 [37.6 kB] 132s Get:33 http://ftpmaster.internal/ubuntu resolute/main s390x libsysprof-capture-4-dev s390x 49.0-5 [51.8 kB] 132s Get:34 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpkgconf7 s390x 2.5.1-2 [39.0 kB] 132s Get:35 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x pkgconf-bin s390x 2.5.1-2 [23.6 kB] 132s Get:36 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x pkgconf s390x 2.5.1-2 [20.0 kB] 132s Get:37 http://ftpmaster.internal/ubuntu resolute/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu2 [897 kB] 132s Get:38 http://ftpmaster.internal/ubuntu resolute/main s390x libgio-2.0-dev s390x 2.86.3-4 [1829 kB] 133s Fetched 56.5 MB in 2s (31.6 MB/s) 134s Selecting previously unselected package libisl23:s390x. 134s (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 ... 87720 files and directories currently installed.) 134s Preparing to unpack .../00-libisl23_0.27-1build1_s390x.deb ... 134s Unpacking libisl23:s390x (0.27-1build1) ... 134s Selecting previously unselected package libmpc3:s390x. 134s Preparing to unpack .../01-libmpc3_1.3.1-2_s390x.deb ... 134s Unpacking libmpc3:s390x (1.3.1-2) ... 134s Selecting previously unselected package cpp-15-s390x-linux-gnu. 134s Preparing to unpack .../02-cpp-15-s390x-linux-gnu_15.2.0-11ubuntu1_s390x.deb ... 134s Unpacking cpp-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 135s Selecting previously unselected package cpp-15. 135s Preparing to unpack .../03-cpp-15_15.2.0-11ubuntu1_s390x.deb ... 135s Unpacking cpp-15 (15.2.0-11ubuntu1) ... 135s Selecting previously unselected package cpp-s390x-linux-gnu. 135s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 135s Unpacking cpp-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 135s Selecting previously unselected package cpp. 135s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_s390x.deb ... 135s Unpacking cpp (4:15.2.0-4ubuntu1) ... 135s Selecting previously unselected package libcc1-0:s390x. 135s Preparing to unpack .../06-libcc1-0_15.2.0-11ubuntu1_s390x.deb ... 135s Unpacking libcc1-0:s390x (15.2.0-11ubuntu1) ... 135s Selecting previously unselected package libgomp1:s390x. 135s Preparing to unpack .../07-libgomp1_15.2.0-11ubuntu1_s390x.deb ... 135s Unpacking libgomp1:s390x (15.2.0-11ubuntu1) ... 135s Selecting previously unselected package libitm1:s390x. 135s Preparing to unpack .../08-libitm1_15.2.0-11ubuntu1_s390x.deb ... 135s Unpacking libitm1:s390x (15.2.0-11ubuntu1) ... 135s Selecting previously unselected package libasan8:s390x. 135s Preparing to unpack .../09-libasan8_15.2.0-11ubuntu1_s390x.deb ... 135s Unpacking libasan8:s390x (15.2.0-11ubuntu1) ... 135s Selecting previously unselected package libubsan1:s390x. 135s Preparing to unpack .../10-libubsan1_15.2.0-11ubuntu1_s390x.deb ... 135s Unpacking libubsan1:s390x (15.2.0-11ubuntu1) ... 135s Selecting previously unselected package libgcc-15-dev:s390x. 136s Preparing to unpack .../11-libgcc-15-dev_15.2.0-11ubuntu1_s390x.deb ... 136s Unpacking libgcc-15-dev:s390x (15.2.0-11ubuntu1) ... 136s Selecting previously unselected package gcc-15-s390x-linux-gnu. 136s Preparing to unpack .../12-gcc-15-s390x-linux-gnu_15.2.0-11ubuntu1_s390x.deb ... 136s Unpacking gcc-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 138s Selecting previously unselected package gcc-15. 138s Preparing to unpack .../13-gcc-15_15.2.0-11ubuntu1_s390x.deb ... 138s Unpacking gcc-15 (15.2.0-11ubuntu1) ... 138s Selecting previously unselected package gcc-s390x-linux-gnu. 138s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 138s Unpacking gcc-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 138s Selecting previously unselected package gcc. 138s Preparing to unpack .../15-gcc_4%3a15.2.0-4ubuntu1_s390x.deb ... 138s Unpacking gcc (4:15.2.0-4ubuntu1) ... 138s Selecting previously unselected package libstdc++-15-dev:s390x. 138s Preparing to unpack .../16-libstdc++-15-dev_15.2.0-11ubuntu1_s390x.deb ... 138s Unpacking libstdc++-15-dev:s390x (15.2.0-11ubuntu1) ... 139s Selecting previously unselected package g++-15-s390x-linux-gnu. 139s Preparing to unpack .../17-g++-15-s390x-linux-gnu_15.2.0-11ubuntu1_s390x.deb ... 139s Unpacking g++-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 140s Selecting previously unselected package g++-15. 140s Preparing to unpack .../18-g++-15_15.2.0-11ubuntu1_s390x.deb ... 140s Unpacking g++-15 (15.2.0-11ubuntu1) ... 140s Selecting previously unselected package g++-s390x-linux-gnu. 140s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 140s Unpacking g++-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 140s Selecting previously unselected package g++. 140s Preparing to unpack .../20-g++_4%3a15.2.0-4ubuntu1_s390x.deb ... 140s Unpacking g++ (4:15.2.0-4ubuntu1) ... 140s Selecting previously unselected package build-essential. 140s Preparing to unpack .../21-build-essential_12.12ubuntu2_s390x.deb ... 140s Unpacking build-essential (12.12ubuntu2) ... 140s Selecting previously unselected package libffi-dev:s390x. 140s Preparing to unpack .../22-libffi-dev_3.5.2-3_s390x.deb ... 140s Unpacking libffi-dev:s390x (3.5.2-3) ... 141s Selecting previously unselected package uuid-dev:s390x. 141s Preparing to unpack .../23-uuid-dev_2.41.2-4ubuntu2_s390x.deb ... 141s Unpacking uuid-dev:s390x (2.41.2-4ubuntu2) ... 141s Selecting previously unselected package libblkid-dev:s390x. 141s Preparing to unpack .../24-libblkid-dev_2.41.2-4ubuntu2_s390x.deb ... 141s Unpacking libblkid-dev:s390x (2.41.2-4ubuntu2) ... 141s Selecting previously unselected package libsepol-dev:s390x. 141s Preparing to unpack .../25-libsepol-dev_3.9-2_s390x.deb ... 141s Unpacking libsepol-dev:s390x (3.9-2) ... 141s Selecting previously unselected package libpcre2-16-0:s390x. 141s Preparing to unpack .../26-libpcre2-16-0_10.46-1_s390x.deb ... 141s Unpacking libpcre2-16-0:s390x (10.46-1) ... 141s Selecting previously unselected package libpcre2-32-0:s390x. 141s Preparing to unpack .../27-libpcre2-32-0_10.46-1_s390x.deb ... 141s Unpacking libpcre2-32-0:s390x (10.46-1) ... 141s Selecting previously unselected package libpcre2-posix3:s390x. 141s Preparing to unpack .../28-libpcre2-posix3_10.46-1_s390x.deb ... 141s Unpacking libpcre2-posix3:s390x (10.46-1) ... 141s Selecting previously unselected package libpcre2-dev:s390x. 141s Preparing to unpack .../29-libpcre2-dev_10.46-1_s390x.deb ... 141s Unpacking libpcre2-dev:s390x (10.46-1) ... 141s Selecting previously unselected package libselinux-dev:s390x. 141s Preparing to unpack .../30-libselinux-dev_3.9-4_s390x.deb ... 141s Unpacking libselinux-dev:s390x (3.9-4) ... 141s Selecting previously unselected package libmount-dev:s390x. 141s Preparing to unpack .../31-libmount-dev_2.41.2-4ubuntu2_s390x.deb ... 141s Unpacking libmount-dev:s390x (2.41.2-4ubuntu2) ... 141s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 141s Preparing to unpack .../32-libsysprof-capture-4-dev_49.0-5_s390x.deb ... 141s Unpacking libsysprof-capture-4-dev:s390x (49.0-5) ... 141s Selecting previously unselected package libpkgconf7:s390x. 141s Preparing to unpack .../33-libpkgconf7_2.5.1-2_s390x.deb ... 141s Unpacking libpkgconf7:s390x (2.5.1-2) ... 141s Selecting previously unselected package pkgconf-bin. 141s Preparing to unpack .../34-pkgconf-bin_2.5.1-2_s390x.deb ... 141s Unpacking pkgconf-bin (2.5.1-2) ... 141s Selecting previously unselected package pkgconf:s390x. 141s Preparing to unpack .../35-pkgconf_2.5.1-2_s390x.deb ... 141s Unpacking pkgconf:s390x (2.5.1-2) ... 141s Selecting previously unselected package zlib1g-dev:s390x. 141s Preparing to unpack .../36-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_s390x.deb ... 141s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 141s Selecting previously unselected package libgio-2.0-dev:s390x. 141s Preparing to unpack .../37-libgio-2.0-dev_2.86.3-4_s390x.deb ... 141s Unpacking libgio-2.0-dev:s390x (2.86.3-4) ... 142s Setting up libpkgconf7:s390x (2.5.1-2) ... 142s Setting up libgomp1:s390x (15.2.0-11ubuntu1) ... 142s Setting up libffi-dev:s390x (3.5.2-3) ... 142s Setting up libpcre2-16-0:s390x (10.46-1) ... 142s Setting up libsysprof-capture-4-dev:s390x (49.0-5) ... 142s Setting up libpcre2-32-0:s390x (10.46-1) ... 142s Setting up uuid-dev:s390x (2.41.2-4ubuntu2) ... 142s Setting up libmpc3:s390x (1.3.1-2) ... 142s Setting up libsepol-dev:s390x (3.9-2) ... 142s Setting up pkgconf-bin (2.5.1-2) ... 142s Setting up libubsan1:s390x (15.2.0-11ubuntu1) ... 142s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 142s Setting up libpcre2-posix3:s390x (10.46-1) ... 142s Setting up libasan8:s390x (15.2.0-11ubuntu1) ... 142s Setting up libisl23:s390x (0.27-1build1) ... 142s Setting up libcc1-0:s390x (15.2.0-11ubuntu1) ... 142s Setting up libitm1:s390x (15.2.0-11ubuntu1) ... 142s Setting up libblkid-dev:s390x (2.41.2-4ubuntu2) ... 142s Setting up libgcc-15-dev:s390x (15.2.0-11ubuntu1) ... 142s Setting up libpcre2-dev:s390x (10.46-1) ... 142s Setting up pkgconf:s390x (2.5.1-2) ... 142s Setting up libstdc++-15-dev:s390x (15.2.0-11ubuntu1) ... 142s Setting up cpp-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 142s Setting up libselinux-dev:s390x (3.9-4) ... 142s Setting up libmount-dev:s390x (2.41.2-4ubuntu2) ... 142s Setting up gcc-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 142s Setting up g++-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 142s Setting up libgio-2.0-dev:s390x (2.86.3-4) ... 142s Setting up cpp-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 142s Setting up gcc-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 142s Setting up cpp-15 (15.2.0-11ubuntu1) ... 142s Setting up cpp (4:15.2.0-4ubuntu1) ... 142s Setting up g++-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 142s Setting up gcc-15 (15.2.0-11ubuntu1) ... 142s Setting up g++-15 (15.2.0-11ubuntu1) ... 142s Setting up gcc (4:15.2.0-4ubuntu1) ... 142s Setting up g++ (4:15.2.0-4ubuntu1) ... 142s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 142s Setting up build-essential (12.12ubuntu2) ... 142s Processing triggers for libc-bin (2.42-2ubuntu4) ... 142s Processing triggers for man-db (2.13.1-1) ... 144s Processing triggers for libglib2.0-0t64:s390x (2.86.3-4) ... 144s No schema files found: doing nothing. 144s Processing triggers for install-info (7.2-5) ... 146s autopkgtest [12:14:22]: test build: [----------------------- 146s + mode=dynamic 146s + getopt -o --long static -n debian/tests/build -- 146s + getopt_temp= -- 146s + eval set -- -- 146s + set -- -- 146s + true 146s + shift 146s + break 146s + mktemp -d 146s + WORKDIR=/tmp/tmp.TiPVrAXoyx 146s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 146s + cd /tmp/tmp.TiPVrAXoyx 146s + [ -n ] 146s + CROSS_COMPILE= 146s + cat 146s + cat 146s + cat 146s + cat 146s + cat 146s + cat 146s + cflags= 146s + pcflags= 146s + packages=glib-2.0 146s + pkg-config --cflags --libs glib-2.0 146s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 146s + echo build (glib, dynamic): OK 146s + [ -x glib-dynamic ] 146s + foo=bar ./glib-dynamic 146s build (glib, dynamic): OK 146s run (glib, dynamic): OK 146s + echo run (glib, dynamic): OK 146s + cflags= 146s + pcflags= 146s + packages=gobject-2.0 146s + pkg-config --cflags --libs gobject-2.0 146s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 147s build (gobject, dynamic): OK 147s run (gobject, dynamic): OK 147s + echo build (gobject, dynamic): OK 147s + [ -x gobject-dynamic ] 147s + foo=bar ./gobject-dynamic 147s + echo run (gobject, dynamic): OK 147s + cflags= 147s + pcflags= 147s + packages=gio-2.0 147s + pkg-config --cflags --libs gio-2.0 147s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 147s build (gio, dynamic): OK 147s run (gio, dynamic): OK 147s + echo build (gio, dynamic): OK 147s + [ -x gio-dynamic ] 147s + foo=bar ./gio-dynamic 147s + echo run (gio, dynamic): OK 147s + cflags= 147s + pcflags= 147s + packages=gio-unix-2.0 147s + pkg-config --cflags --libs gio-unix-2.0 147s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 147s build (gio-unix, dynamic): OK 147s run (gio-unix, dynamic): OK 147s + echo build (gio-unix, dynamic): OK 147s + [ -x gio-unix-dynamic ] 147s + foo=bar ./gio-unix-dynamic 147s + echo run (gio-unix, dynamic): OK 147s + cflags= 147s + pcflags= 147s + packages=gmodule-2.0 147s + pkg-config --cflags --libs gmodule-2.0 147s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 147s build (gmodule, dynamic): OK 147s + echo build (gmodule, dynamic): OK 147s + [ -x gmodule-dynamic ] 147s + foo=bar ./gmodule-dynamic 147s + echo run (gmodule, dynamic): OK 147s + cflags= 147s + pcflags= 147s + packages=gthread-2.0 147s run (gmodule, dynamic): OK 147s + pkg-config --cflags --libs gthread-2.0 147s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 148s build (gthread, dynamic): OK 148s + echo build (gthread, dynamic): OK 148s + [ -x gthread-dynamic ] 148s + foo=bar ./gthread-dynamic 148s run (gthread, dynamic): OK 148s + echo run (gthread, dynamic): OK 148s + rm -rf /tmp/tmp.TiPVrAXoyx 148s autopkgtest [12:14:24]: test build: -----------------------] 148s autopkgtest [12:14:24]: test build: - - - - - - - - - - results - - - - - - - - - - 148s build PASS (superficial) 149s autopkgtest [12:14:25]: test build-static: preparing testbed 149s Reading package lists... 149s Building dependency tree... 149s Reading state information... 149s Solving dependencies... 150s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 152s autopkgtest [12:14:28]: test build-static: [----------------------- 152s + mode=dynamic 152s + getopt -o --long static -n debian/tests/build -- --static 152s + getopt_temp= --static -- 152s + eval set -- --static -- 152s + set -- --static -- 152s + true 152s + mode=static 152s + shift 152s + continue 152s + true 152s + shift 152s + break 152s + mktemp -d 152s + WORKDIR=/tmp/tmp.i1I2gXUfta 152s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 152s + cd /tmp/tmp.i1I2gXUfta 152s + [ -n ] 152s + CROSS_COMPILE= 152s + cat 152s + cat 152s + cat 152s + cat 152s + cat 152s + cat 152s + cflags= 152s + pcflags= 152s + packages=glib-2.0 152s + cflags=-static 152s + pcflags=--static 152s + pkg-config --static --cflags --libs glib-2.0 152s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 152s /usr/bin/s390x-linux-gnu-ld.bfd: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 152s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 152s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 152s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s build (glib, static): OK 153s + echo build (glib, static): OK 153s + [ -x glib-static ] 153s + foo=bar ./glib-static 153s run (glib, static): OK 153s + echo run (glib, static): OK 153s + cflags= 153s + pcflags= 153s + packages=gobject-2.0 153s + cflags=-static 153s + pcflags=--static 153s + pkg-config --static --cflags --libs gobject-2.0 153s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 153s /usr/bin/s390x-linux-gnu-ld.bfd: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 153s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 154s build (gobject, static): OK 154s + echo build (gobject, static): OK 154s + [ -x gobject-static ] 154s + foo=bar ./gobject-static 154s + echo run (gobject, static): OK 154s + cflags= 154s + pcflags= 154s + packages=gio-2.0 154s + cflags=-static 154s + pcflags=--static 154s + continue 154s + cflags= 154s + pcflags= 154s + packages=gio-unix-2.0 154s + cflags=-static 154s + pcflags=--static 154s + continue 154s + cflags= 154s + pcflags= 154s + packages=gmodule-2.0 154s + cflags=-static 154s + pcflags=--static 154s run (gobject, static): OK 154s + pkg-config --static --cflags --libs gmodule-2.0 154s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 154s /usr/bin/s390x-linux-gnu-ld.bfd: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 154s (.text+0x672): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 154s /usr/bin/s390x-linux-gnu-ld.bfd: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 154s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 154s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 154s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 154s build (gmodule, static): OK 154s + echo build (gmodule, static): OK 154s + [ -x gmodule-static ] 154s + foo=bar ./gmodule-static 154s run (gmodule, static): OK 154s + echo run (gmodule, static): OK 154s + cflags= 154s + pcflags= 154s + packages=gthread-2.0 154s + cflags=-static 154s + pcflags=--static 154s + pkg-config --static --cflags --libs gthread-2.0 154s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 154s /usr/bin/s390x-linux-gnu-ld.bfd: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 154s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 154s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 154s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 154s build (gthread, static): OK 154s + echo build (gthread, static): OK 154s + [ -x gthread-static ] 154s + foo=bar ./gthread-static 154s + echo run (gthread, static): OK 154s + rm -rf /tmp/tmp.i1I2gXUfta 154s run (gthread, static): OK 155s autopkgtest [12:14:31]: test build-static: -----------------------] 156s autopkgtest [12:14:32]: test build-static: - - - - - - - - - - results - - - - - - - - - - 156s build-static PASS (superficial) 156s autopkgtest [12:14:32]: test girepository-tools: preparing testbed 175s Creating nova instance adt-resolute-s390x-glib2.0-20260129-121156-juju-7f2275-prod-proposed-migration-environment-2-11e74e6b-91cd-4de5-8758-4cf6796deaaa from image adt/ubuntu-resolute-s390x-server-20260128.img (UUID 5ba972fb-5682-41ac-8a6c-59e0b358d8f4)... 232s autopkgtest [12:15:48]: testbed dpkg architecture: s390x 232s autopkgtest [12:15:48]: testbed apt version: 3.1.14 232s autopkgtest [12:15:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 232s autopkgtest [12:15:48]: testbed release detected to be: resolute 233s autopkgtest [12:15:49]: updating testbed package index (apt update) 233s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 233s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 233s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 233s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 233s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1007 kB] 233s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 233s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 233s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 233s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [117 kB] 233s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [643 kB] 233s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [6428 B] 233s Fetched 2032 kB in 1s (3238 kB/s) 235s Reading package lists... 236s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 236s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 236s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 236s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 239s Reading package lists... 239s Reading package lists... 239s Building dependency tree... 239s Reading state information... 239s Calculating upgrade... 239s The following packages will be upgraded: 239s libxcb1 tzdata 239s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 239s Need to get 250 kB of archives. 239s After this operation, 0 B of additional disk space will be used. 239s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x tzdata all 2025c-3ubuntu3 [199 kB] 239s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb1 s390x 1.17.0-2ubuntu1 [50.6 kB] 240s dpkg-preconfigure: unable to re-open stdin: No such file or directory 240s Fetched 250 kB in 0s (16.8 MB/s) 240s (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 ... 87720 files and directories currently installed.) 240s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 240s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 240s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_s390x.deb ... 240s Unpacking libxcb1:s390x (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 240s Setting up libxcb1:s390x (1.17.0-2ubuntu1) ... 240s Setting up tzdata (2025c-3ubuntu3) ... 240s 240s Current default time zone: 'Etc/UTC' 240s Local time is now: Thu Jan 29 12:17:17 UTC 2026. 240s Universal Time is now: Thu Jan 29 12:17:17 UTC 2026. 240s Run 'dpkg-reconfigure tzdata' if you wish to change it. 240s 240s Processing triggers for libc-bin (2.42-2ubuntu4) ... 241s autopkgtest [12:15:57]: upgrading testbed (apt dist-upgrade and autopurge) 242s Reading package lists... 242s Building dependency tree... 242s Reading state information... 242s Calculating upgrade... 243s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 243s Reading package lists... 243s Building dependency tree... 243s Reading state information... 244s Solving dependencies... 244s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 248s Reading package lists... 249s Building dependency tree... 249s Reading state information... 250s Solving dependencies... 251s The following NEW packages will be installed: 251s gir1.2-glib-2.0-dev girepository-tools native-architecture 251s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 251s Need to get 982 kB of archives. 251s After this operation, 12.3 MB of additional disk space will be used. 251s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-glib-2.0-dev s390x 2.86.3-4 [865 kB] 251s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x native-architecture all 0.2.6build1 [2256 B] 251s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x girepository-tools s390x 2.86.3-4 [115 kB] 252s Fetched 982 kB in 0s (2057 kB/s) 252s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 253s (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 ... 87720 files and directories currently installed.) 253s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.3-4_s390x.deb ... 253s Unpacking gir1.2-glib-2.0-dev:s390x (2.86.3-4) ... 253s Selecting previously unselected package native-architecture. 253s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 253s Unpacking native-architecture (0.2.6build1) ... 253s Selecting previously unselected package girepository-tools:s390x. 253s Preparing to unpack .../girepository-tools_2.86.3-4_s390x.deb ... 253s Unpacking girepository-tools:s390x (2.86.3-4) ... 253s Setting up native-architecture (0.2.6build1) ... 253s Setting up gir1.2-glib-2.0-dev:s390x (2.86.3-4) ... 253s Setting up girepository-tools:s390x (2.86.3-4) ... 253s Processing triggers for man-db (2.13.1-1) ... 263s autopkgtest [12:16:19]: test girepository-tools: [----------------------- 264s + cd /tmp/autopkgtest.mbpDUd/autopkgtest_tmp 264s + dpkg-architecture -qDEB_HOST_GNU_TYPE 264s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 264s + DEB_HOST_GNU_TYPE=s390x-linux-gnu 264s + dpkg-architecture -qDEB_HOST_MULTIARCH 264s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 264s + DEB_HOST_MULTIARCH=s390x-linux-gnu 264s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 264s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 264s typelib: GLib-2.0 265s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 265s autopkgtest [12:16:21]: test girepository-tools: -----------------------] 266s autopkgtest [12:16:22]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 266s girepository-tools PASS (superficial) 266s autopkgtest [12:16:22]: test libgio-2.0-dev-bin: preparing testbed 286s Creating nova instance adt-resolute-s390x-glib2.0-20260129-121156-juju-7f2275-prod-proposed-migration-environment-2-11e74e6b-91cd-4de5-8758-4cf6796deaaa from image adt/ubuntu-resolute-s390x-server-20260128.img (UUID 5ba972fb-5682-41ac-8a6c-59e0b358d8f4)... 397s autopkgtest [12:18:33]: testbed dpkg architecture: s390x 397s autopkgtest [12:18:33]: testbed apt version: 3.1.14 397s autopkgtest [12:18:33]: @@@@@@@@@@@@@@@@@@@@ test bed setup 398s autopkgtest [12:18:34]: testbed release detected to be: resolute 398s autopkgtest [12:18:34]: updating testbed package index (apt update) 399s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 399s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 399s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 399s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 399s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1007 kB] 399s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 399s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 399s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 399s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [117 kB] 399s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [643 kB] 400s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [6428 B] 400s Fetched 2032 kB in 2s (1293 kB/s) 404s Reading package lists... 406s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 406s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 406s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 406s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 409s Reading package lists... 409s Reading package lists... 410s Building dependency tree... 410s Reading state information... 411s Calculating upgrade... 412s The following packages will be upgraded: 412s libxcb1 tzdata 412s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 412s Need to get 250 kB of archives. 412s After this operation, 0 B of additional disk space will be used. 412s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x tzdata all 2025c-3ubuntu3 [199 kB] 412s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb1 s390x 1.17.0-2ubuntu1 [50.6 kB] 413s dpkg-preconfigure: unable to re-open stdin: No such file or directory 413s Fetched 250 kB in 0s (3209 kB/s) 414s (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 ... 87720 files and directories currently installed.) 414s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 414s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 414s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_s390x.deb ... 414s Unpacking libxcb1:s390x (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 415s Setting up libxcb1:s390x (1.17.0-2ubuntu1) ... 415s Setting up tzdata (2025c-3ubuntu3) ... 415s 415s Current default time zone: 'Etc/UTC' 415s Local time is now: Thu Jan 29 12:20:12 UTC 2026. 415s Universal Time is now: Thu Jan 29 12:20:12 UTC 2026. 415s Run 'dpkg-reconfigure tzdata' if you wish to change it. 415s 415s Processing triggers for libc-bin (2.42-2ubuntu4) ... 416s autopkgtest [12:18:52]: upgrading testbed (apt dist-upgrade and autopurge) 417s Reading package lists... 417s Building dependency tree... 417s Reading state information... 418s Calculating upgrade... 418s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 418s Reading package lists... 419s Building dependency tree... 419s Reading state information... 419s Solving dependencies... 419s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 422s Reading package lists... 423s Building dependency tree... 423s Reading state information... 423s Solving dependencies... 424s The following NEW packages will be installed: 424s libgio-2.0-dev-bin 424s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 424s Need to get 129 kB of archives. 424s After this operation, 703 kB of additional disk space will be used. 424s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libgio-2.0-dev-bin s390x 2.86.3-4 [129 kB] 425s Fetched 129 kB in 0s (1679 kB/s) 425s Selecting previously unselected package libgio-2.0-dev-bin. 425s (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 ... 87720 files and directories currently installed.) 425s Preparing to unpack .../libgio-2.0-dev-bin_2.86.3-4_s390x.deb ... 425s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 425s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 426s Processing triggers for man-db (2.13.1-1) ... 435s autopkgtest [12:19:11]: test libgio-2.0-dev-bin: [----------------------- 436s + gdbus-codegen --help 436s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 436s [--c-namespace NAMESPACE] [--c-generate-object-manager] 436s [--c-generate-autocleanup {none,objects,all}] 436s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 436s [--generate-rst OUTFILES] [--pragma-once] 436s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 436s [--glib-min-required VERSION] 436s [--glib-max-allowed VERSION] 436s [--symbol-decorator SYMBOL_DECORATOR] 436s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 436s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 436s [--generate-c-code OUTFILES | --header | --body | 436s --interface-info-header | --interface-info-body] 436s [--output FILE | --output-directory OUTDIR] 436s FILE [FILE ...] 436s 436s D-Bus code and documentation generator 436s 436s positional arguments: 436s FILE D-Bus introspection XML file 436s 436s options: 436s -h, --help show this help message and exit 436s --interface-prefix PREFIX 436s String to strip from D-Bus interface names for code 436s and docs 436s --c-namespace NAMESPACE 436s The namespace to use for generated C code 436s --c-generate-object-manager 436s Generate a GDBusObjectManagerClient subclass when 436s generating C code 436s --c-generate-autocleanup {none,objects,all} 436s Generate autocleanup support 436s --generate-docbook OUTFILES 436s Generate Docbook in OUTFILES-org.Project.IFace.xml 436s --generate-md OUTFILES 436s Generate Markdown in OUTFILES-org.Project.IFace.md 436s --generate-rst OUTFILES 436s Generate reStructuredText in OUTFILES- 436s org.Project.IFace.rst 436s --pragma-once Use "pragma once" as the inclusion guard 436s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 436s Add annotation (may be used several times) 436s --glib-min-required VERSION 436s Minimum version of GLib to be supported by the 436s outputted code (default: 2.30) 436s --glib-max-allowed VERSION 436s Maximum version of GLib to be used by the outputted 436s code (default: current GLib version) 436s --symbol-decorator SYMBOL_DECORATOR 436s Macro used to decorate a symbol in the outputted 436s header, possibly to export symbols 436s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 436s Additional header required for decorator specified by 436s --symbol-decorator 436s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 436s Additional define required for decorator specified by 436s --symbol-decorator 436s --generate-c-code OUTFILES 436s Generate C code in OUTFILES.[ch] 436s --header Generate C headers 436s --body Generate C code 436s --interface-info-header 436s Generate GDBusInterfaceInfo C header 436s --interface-info-body 436s Generate GDBusInterfaceInfo C code 436s --output FILE Write output into the specified file 436s --output-directory OUTDIR 436s Location to output generated files 436s + glib-compile-resources --version 436s + glib-genmarshal --version 436s 2.86.3 436s glib-genmarshal version 2.86.3 436s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 436s You may redistribute copies of glib-genmarshal under the terms of 436s the GNU General Public License which can be found in the 436s GLib source package. Sources, examples and contact 436s information are available at http://www.gtk.org 436s + glib-gettextize --version 436s /usr/bin/glib-gettextize (GNU glib) 2.86.3 436s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 436s This is free software; see the source for copying conditions. There is NO 436s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 436s Written by Ulrich Drepper 436s + glib-mkenums --version 436s glib-mkenums version 2.86.3 436s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 436s You may redistribute copies of glib-mkenums under the terms of 436s the GNU General Public License which can be found in the 436s GLib source package. Sources, examples and contact 436s information are available at http://www.gtk.org 436s + gobject-query tree 436s GObject 436s gtester version 2.86.3 436s gtester-report (GLib utils) version 2.86.3. 436s + gtester --version 436s + gtester-report --version 436s autopkgtest [12:19:12]: test libgio-2.0-dev-bin: -----------------------] 437s autopkgtest [12:19:13]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 437s libgio-2.0-dev-bin PASS (superficial) 437s autopkgtest [12:19:13]: test libglib2.0-dev: preparing testbed 456s Creating nova instance adt-resolute-s390x-glib2.0-20260129-121156-juju-7f2275-prod-proposed-migration-environment-2-11e74e6b-91cd-4de5-8758-4cf6796deaaa from image adt/ubuntu-resolute-s390x-server-20260128.img (UUID 5ba972fb-5682-41ac-8a6c-59e0b358d8f4)... 506s autopkgtest [12:20:22]: testbed dpkg architecture: s390x 506s autopkgtest [12:20:22]: testbed apt version: 3.1.14 507s autopkgtest [12:20:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 507s autopkgtest [12:20:23]: testbed release detected to be: resolute 508s autopkgtest [12:20:24]: updating testbed package index (apt update) 508s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 508s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 508s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 508s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 508s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 508s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 508s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1007 kB] 508s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 508s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [117 kB] 508s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [643 kB] 508s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [6428 B] 509s Fetched 2032 kB in 1s (2411 kB/s) 511s Reading package lists... 512s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 512s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 512s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 512s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 514s Reading package lists... 514s Reading package lists... 514s Building dependency tree... 514s Reading state information... 514s Calculating upgrade... 514s The following packages will be upgraded: 514s libxcb1 tzdata 515s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 515s Need to get 250 kB of archives. 515s After this operation, 0 B of additional disk space will be used. 515s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x tzdata all 2025c-3ubuntu3 [199 kB] 515s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb1 s390x 1.17.0-2ubuntu1 [50.6 kB] 515s dpkg-preconfigure: unable to re-open stdin: No such file or directory 515s Fetched 250 kB in 0s (767 kB/s) 516s (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 ... 87720 files and directories currently installed.) 516s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 516s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 516s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_s390x.deb ... 516s Unpacking libxcb1:s390x (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 516s Setting up libxcb1:s390x (1.17.0-2ubuntu1) ... 516s Setting up tzdata (2025c-3ubuntu3) ... 516s 516s Current default time zone: 'Etc/UTC' 516s Local time is now: Thu Jan 29 12:22:46 UTC 2026. 516s Universal Time is now: Thu Jan 29 12:22:46 UTC 2026. 516s Run 'dpkg-reconfigure tzdata' if you wish to change it. 516s 516s Processing triggers for libc-bin (2.42-2ubuntu4) ... 517s autopkgtest [12:20:33]: upgrading testbed (apt dist-upgrade and autopurge) 517s Reading package lists... 518s Building dependency tree... 518s Reading state information... 518s Calculating upgrade... 518s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 518s Reading package lists... 519s Building dependency tree... 519s Reading state information... 519s Solving dependencies... 519s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 522s Reading package lists... 522s Building dependency tree... 522s Reading state information... 522s Solving dependencies... 522s The following NEW packages will be installed: 522s build-essential cpp cpp-15 cpp-15-s390x-linux-gnu cpp-s390x-linux-gnu g++ 522s g++-15 g++-15-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-15 522s gcc-15-s390x-linux-gnu gcc-s390x-linux-gnu gir1.2-glib-2.0-dev 522s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-15-dev 522s libgio-2.0-dev libgio-2.0-dev-bin libglib2.0-bin libglib2.0-dev 522s libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev libmpc3 522s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf7 522s libselinux-dev libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev 522s libubsan1 native-architecture pkgconf pkgconf-bin uuid-dev zlib1g-dev 523s 0 upgraded, 45 newly installed, 0 to remove and 0 not upgraded. 523s Need to get 57.7 MB of archives. 523s After this operation, 199 MB of additional disk space will be used. 523s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libisl23 s390x 0.27-1build1 [702 kB] 523s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libmpc3 s390x 1.3.1-2 [57.4 kB] 523s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-15-s390x-linux-gnu s390x 15.2.0-11ubuntu1 [10.2 MB] 523s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-15 s390x 15.2.0-11ubuntu1 [1028 B] 523s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [5746 B] 523s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x cpp s390x 4:15.2.0-4ubuntu1 [22.4 kB] 523s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x libcc1-0 s390x 15.2.0-11ubuntu1 [50.0 kB] 523s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x libgomp1 s390x 15.2.0-11ubuntu1 [154 kB] 523s Get:9 http://ftpmaster.internal/ubuntu resolute/main s390x libitm1 s390x 15.2.0-11ubuntu1 [30.9 kB] 523s Get:10 http://ftpmaster.internal/ubuntu resolute/main s390x libasan8 s390x 15.2.0-11ubuntu1 [2968 kB] 523s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x libubsan1 s390x 15.2.0-11ubuntu1 [1211 kB] 523s Get:12 http://ftpmaster.internal/ubuntu resolute/main s390x libgcc-15-dev s390x 15.2.0-11ubuntu1 [1045 kB] 523s Get:13 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-15-s390x-linux-gnu s390x 15.2.0-11ubuntu1 [19.9 MB] 524s Get:14 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-15 s390x 15.2.0-11ubuntu1 [517 kB] 524s Get:15 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [1208 B] 524s Get:16 http://ftpmaster.internal/ubuntu resolute/main s390x gcc s390x 4:15.2.0-4ubuntu1 [5018 B] 524s Get:17 http://ftpmaster.internal/ubuntu resolute/main s390x libstdc++-15-dev s390x 15.2.0-11ubuntu1 [2660 kB] 524s Get:18 http://ftpmaster.internal/ubuntu resolute/main s390x g++-15-s390x-linux-gnu s390x 15.2.0-11ubuntu1 [11.7 MB] 524s Get:19 http://ftpmaster.internal/ubuntu resolute/main s390x g++-15 s390x 15.2.0-11ubuntu1 [24.6 kB] 524s Get:20 http://ftpmaster.internal/ubuntu resolute/main s390x g++-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [956 B] 524s Get:21 http://ftpmaster.internal/ubuntu resolute/main s390x g++ s390x 4:15.2.0-4ubuntu1 [1078 B] 524s Get:22 http://ftpmaster.internal/ubuntu resolute/main s390x build-essential s390x 12.12ubuntu2 [5258 B] 524s Get:23 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-glib-2.0-dev s390x 2.86.3-4 [865 kB] 524s Get:24 http://ftpmaster.internal/ubuntu resolute/main s390x native-architecture all 0.2.6build1 [2256 B] 524s Get:25 http://ftpmaster.internal/ubuntu resolute/main s390x girepository-tools s390x 2.86.3-4 [115 kB] 524s Get:26 http://ftpmaster.internal/ubuntu resolute/main s390x libffi-dev s390x 3.5.2-3 [62.3 kB] 524s Get:27 http://ftpmaster.internal/ubuntu resolute/main s390x uuid-dev s390x 2.41.2-4ubuntu2 [56.6 kB] 524s Get:28 http://ftpmaster.internal/ubuntu resolute/main s390x libblkid-dev s390x 2.41.2-4ubuntu2 [237 kB] 524s Get:29 http://ftpmaster.internal/ubuntu resolute/main s390x libsepol-dev s390x 3.9-2 [413 kB] 524s Get:30 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-16-0 s390x 10.46-1 [260 kB] 524s Get:31 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-32-0 s390x 10.46-1 [245 kB] 524s Get:32 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-posix3 s390x 10.46-1 [7226 B] 524s Get:33 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-dev s390x 10.46-1 [900 kB] 524s Get:34 http://ftpmaster.internal/ubuntu resolute/main s390x libselinux-dev s390x 3.9-4 [178 kB] 524s Get:35 http://ftpmaster.internal/ubuntu resolute/main s390x libmount-dev s390x 2.41.2-4ubuntu2 [37.6 kB] 524s Get:36 http://ftpmaster.internal/ubuntu resolute/main s390x libsysprof-capture-4-dev s390x 49.0-5 [51.8 kB] 524s Get:37 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpkgconf7 s390x 2.5.1-2 [39.0 kB] 524s Get:38 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x pkgconf-bin s390x 2.5.1-2 [23.6 kB] 524s Get:39 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x pkgconf s390x 2.5.1-2 [20.0 kB] 524s Get:40 http://ftpmaster.internal/ubuntu resolute/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu2 [897 kB] 524s Get:41 http://ftpmaster.internal/ubuntu resolute/main s390x libgio-2.0-dev s390x 2.86.3-4 [1829 kB] 524s Get:42 http://ftpmaster.internal/ubuntu resolute/main s390x libgio-2.0-dev-bin s390x 2.86.3-4 [129 kB] 524s Get:43 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-bin s390x 2.86.3-4 [99.6 kB] 524s Get:44 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-dev-bin s390x 2.86.3-4 [18.2 kB] 524s Get:45 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-dev s390x 2.86.3-4 [18.9 kB] 524s Fetched 57.7 MB in 2s (30.7 MB/s) 524s Selecting previously unselected package libisl23:s390x. 524s (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 ... 87720 files and directories currently installed.) 524s Preparing to unpack .../00-libisl23_0.27-1build1_s390x.deb ... 524s Unpacking libisl23:s390x (0.27-1build1) ... 524s Selecting previously unselected package libmpc3:s390x. 524s Preparing to unpack .../01-libmpc3_1.3.1-2_s390x.deb ... 524s Unpacking libmpc3:s390x (1.3.1-2) ... 524s Selecting previously unselected package cpp-15-s390x-linux-gnu. 524s Preparing to unpack .../02-cpp-15-s390x-linux-gnu_15.2.0-11ubuntu1_s390x.deb ... 524s Unpacking cpp-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 525s Selecting previously unselected package cpp-15. 525s Preparing to unpack .../03-cpp-15_15.2.0-11ubuntu1_s390x.deb ... 525s Unpacking cpp-15 (15.2.0-11ubuntu1) ... 525s Selecting previously unselected package cpp-s390x-linux-gnu. 525s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 525s Unpacking cpp-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 525s Selecting previously unselected package cpp. 525s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_s390x.deb ... 525s Unpacking cpp (4:15.2.0-4ubuntu1) ... 526s Selecting previously unselected package libcc1-0:s390x. 526s Preparing to unpack .../06-libcc1-0_15.2.0-11ubuntu1_s390x.deb ... 526s Unpacking libcc1-0:s390x (15.2.0-11ubuntu1) ... 526s Selecting previously unselected package libgomp1:s390x. 526s Preparing to unpack .../07-libgomp1_15.2.0-11ubuntu1_s390x.deb ... 526s Unpacking libgomp1:s390x (15.2.0-11ubuntu1) ... 526s Selecting previously unselected package libitm1:s390x. 526s Preparing to unpack .../08-libitm1_15.2.0-11ubuntu1_s390x.deb ... 526s Unpacking libitm1:s390x (15.2.0-11ubuntu1) ... 526s Selecting previously unselected package libasan8:s390x. 526s Preparing to unpack .../09-libasan8_15.2.0-11ubuntu1_s390x.deb ... 526s Unpacking libasan8:s390x (15.2.0-11ubuntu1) ... 526s Selecting previously unselected package libubsan1:s390x. 526s Preparing to unpack .../10-libubsan1_15.2.0-11ubuntu1_s390x.deb ... 526s Unpacking libubsan1:s390x (15.2.0-11ubuntu1) ... 527s Selecting previously unselected package libgcc-15-dev:s390x. 527s Preparing to unpack .../11-libgcc-15-dev_15.2.0-11ubuntu1_s390x.deb ... 527s Unpacking libgcc-15-dev:s390x (15.2.0-11ubuntu1) ... 527s Selecting previously unselected package gcc-15-s390x-linux-gnu. 527s Preparing to unpack .../12-gcc-15-s390x-linux-gnu_15.2.0-11ubuntu1_s390x.deb ... 527s Unpacking gcc-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 527s Selecting previously unselected package gcc-15. 527s Preparing to unpack .../13-gcc-15_15.2.0-11ubuntu1_s390x.deb ... 527s Unpacking gcc-15 (15.2.0-11ubuntu1) ... 527s Selecting previously unselected package gcc-s390x-linux-gnu. 527s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 527s Unpacking gcc-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 527s Selecting previously unselected package gcc. 527s Preparing to unpack .../15-gcc_4%3a15.2.0-4ubuntu1_s390x.deb ... 527s Unpacking gcc (4:15.2.0-4ubuntu1) ... 527s Selecting previously unselected package libstdc++-15-dev:s390x. 527s Preparing to unpack .../16-libstdc++-15-dev_15.2.0-11ubuntu1_s390x.deb ... 527s Unpacking libstdc++-15-dev:s390x (15.2.0-11ubuntu1) ... 527s Selecting previously unselected package g++-15-s390x-linux-gnu. 527s Preparing to unpack .../17-g++-15-s390x-linux-gnu_15.2.0-11ubuntu1_s390x.deb ... 527s Unpacking g++-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 527s Selecting previously unselected package g++-15. 527s Preparing to unpack .../18-g++-15_15.2.0-11ubuntu1_s390x.deb ... 527s Unpacking g++-15 (15.2.0-11ubuntu1) ... 527s Selecting previously unselected package g++-s390x-linux-gnu. 527s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 527s Unpacking g++-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 527s Selecting previously unselected package g++. 527s Preparing to unpack .../20-g++_4%3a15.2.0-4ubuntu1_s390x.deb ... 527s Unpacking g++ (4:15.2.0-4ubuntu1) ... 527s Selecting previously unselected package build-essential. 527s Preparing to unpack .../21-build-essential_12.12ubuntu2_s390x.deb ... 527s Unpacking build-essential (12.12ubuntu2) ... 527s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 527s Preparing to unpack .../22-gir1.2-glib-2.0-dev_2.86.3-4_s390x.deb ... 527s Unpacking gir1.2-glib-2.0-dev:s390x (2.86.3-4) ... 527s Selecting previously unselected package native-architecture. 527s Preparing to unpack .../23-native-architecture_0.2.6build1_all.deb ... 527s Unpacking native-architecture (0.2.6build1) ... 527s Selecting previously unselected package girepository-tools:s390x. 527s Preparing to unpack .../24-girepository-tools_2.86.3-4_s390x.deb ... 527s Unpacking girepository-tools:s390x (2.86.3-4) ... 527s Selecting previously unselected package libffi-dev:s390x. 527s Preparing to unpack .../25-libffi-dev_3.5.2-3_s390x.deb ... 527s Unpacking libffi-dev:s390x (3.5.2-3) ... 527s Selecting previously unselected package uuid-dev:s390x. 527s Preparing to unpack .../26-uuid-dev_2.41.2-4ubuntu2_s390x.deb ... 527s Unpacking uuid-dev:s390x (2.41.2-4ubuntu2) ... 527s Selecting previously unselected package libblkid-dev:s390x. 527s Preparing to unpack .../27-libblkid-dev_2.41.2-4ubuntu2_s390x.deb ... 527s Unpacking libblkid-dev:s390x (2.41.2-4ubuntu2) ... 527s Selecting previously unselected package libsepol-dev:s390x. 527s Preparing to unpack .../28-libsepol-dev_3.9-2_s390x.deb ... 527s Unpacking libsepol-dev:s390x (3.9-2) ... 528s Selecting previously unselected package libpcre2-16-0:s390x. 528s Preparing to unpack .../29-libpcre2-16-0_10.46-1_s390x.deb ... 528s Unpacking libpcre2-16-0:s390x (10.46-1) ... 528s Selecting previously unselected package libpcre2-32-0:s390x. 528s Preparing to unpack .../30-libpcre2-32-0_10.46-1_s390x.deb ... 528s Unpacking libpcre2-32-0:s390x (10.46-1) ... 528s Selecting previously unselected package libpcre2-posix3:s390x. 528s Preparing to unpack .../31-libpcre2-posix3_10.46-1_s390x.deb ... 528s Unpacking libpcre2-posix3:s390x (10.46-1) ... 528s Selecting previously unselected package libpcre2-dev:s390x. 528s Preparing to unpack .../32-libpcre2-dev_10.46-1_s390x.deb ... 528s Unpacking libpcre2-dev:s390x (10.46-1) ... 528s Selecting previously unselected package libselinux-dev:s390x. 528s Preparing to unpack .../33-libselinux-dev_3.9-4_s390x.deb ... 528s Unpacking libselinux-dev:s390x (3.9-4) ... 528s Selecting previously unselected package libmount-dev:s390x. 528s Preparing to unpack .../34-libmount-dev_2.41.2-4ubuntu2_s390x.deb ... 528s Unpacking libmount-dev:s390x (2.41.2-4ubuntu2) ... 528s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 528s Preparing to unpack .../35-libsysprof-capture-4-dev_49.0-5_s390x.deb ... 528s Unpacking libsysprof-capture-4-dev:s390x (49.0-5) ... 528s Selecting previously unselected package libpkgconf7:s390x. 528s Preparing to unpack .../36-libpkgconf7_2.5.1-2_s390x.deb ... 528s Unpacking libpkgconf7:s390x (2.5.1-2) ... 528s Selecting previously unselected package pkgconf-bin. 528s Preparing to unpack .../37-pkgconf-bin_2.5.1-2_s390x.deb ... 528s Unpacking pkgconf-bin (2.5.1-2) ... 528s Selecting previously unselected package pkgconf:s390x. 528s Preparing to unpack .../38-pkgconf_2.5.1-2_s390x.deb ... 528s Unpacking pkgconf:s390x (2.5.1-2) ... 528s Selecting previously unselected package zlib1g-dev:s390x. 528s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_s390x.deb ... 528s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 528s Selecting previously unselected package libgio-2.0-dev:s390x. 528s Preparing to unpack .../40-libgio-2.0-dev_2.86.3-4_s390x.deb ... 528s Unpacking libgio-2.0-dev:s390x (2.86.3-4) ... 528s Selecting previously unselected package libgio-2.0-dev-bin. 528s Preparing to unpack .../41-libgio-2.0-dev-bin_2.86.3-4_s390x.deb ... 528s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 528s Selecting previously unselected package libglib2.0-bin. 528s Preparing to unpack .../42-libglib2.0-bin_2.86.3-4_s390x.deb ... 528s Unpacking libglib2.0-bin (2.86.3-4) ... 528s Selecting previously unselected package libglib2.0-dev-bin. 528s Preparing to unpack .../43-libglib2.0-dev-bin_2.86.3-4_s390x.deb ... 528s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 528s Selecting previously unselected package libglib2.0-dev:s390x. 528s Preparing to unpack .../44-libglib2.0-dev_2.86.3-4_s390x.deb ... 528s Unpacking libglib2.0-dev:s390x (2.86.3-4) ... 528s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 528s Setting up native-architecture (0.2.6build1) ... 528s Setting up libpkgconf7:s390x (2.5.1-2) ... 528s Setting up libglib2.0-bin (2.86.3-4) ... 528s Setting up libgomp1:s390x (15.2.0-11ubuntu1) ... 528s Setting up libffi-dev:s390x (3.5.2-3) ... 528s Setting up libpcre2-16-0:s390x (10.46-1) ... 528s Setting up libsysprof-capture-4-dev:s390x (49.0-5) ... 528s Setting up libpcre2-32-0:s390x (10.46-1) ... 528s Setting up uuid-dev:s390x (2.41.2-4ubuntu2) ... 528s Setting up libmpc3:s390x (1.3.1-2) ... 528s Setting up libsepol-dev:s390x (3.9-2) ... 528s Setting up pkgconf-bin (2.5.1-2) ... 528s Setting up libubsan1:s390x (15.2.0-11ubuntu1) ... 528s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 528s Setting up libpcre2-posix3:s390x (10.46-1) ... 528s Setting up gir1.2-glib-2.0-dev:s390x (2.86.3-4) ... 528s Setting up libasan8:s390x (15.2.0-11ubuntu1) ... 528s Setting up libisl23:s390x (0.27-1build1) ... 528s Setting up libcc1-0:s390x (15.2.0-11ubuntu1) ... 528s Setting up libitm1:s390x (15.2.0-11ubuntu1) ... 528s Setting up libblkid-dev:s390x (2.41.2-4ubuntu2) ... 528s Setting up girepository-tools:s390x (2.86.3-4) ... 528s Setting up libgcc-15-dev:s390x (15.2.0-11ubuntu1) ... 528s Setting up libpcre2-dev:s390x (10.46-1) ... 528s Setting up pkgconf:s390x (2.5.1-2) ... 528s Setting up libstdc++-15-dev:s390x (15.2.0-11ubuntu1) ... 528s Setting up cpp-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 528s Setting up libselinux-dev:s390x (3.9-4) ... 528s Setting up libmount-dev:s390x (2.41.2-4ubuntu2) ... 528s Setting up gcc-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 528s Setting up g++-15-s390x-linux-gnu (15.2.0-11ubuntu1) ... 528s Setting up libglib2.0-dev-bin (2.86.3-4) ... 528s Setting up libgio-2.0-dev:s390x (2.86.3-4) ... 528s Setting up cpp-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 528s Setting up gcc-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 528s Setting up cpp-15 (15.2.0-11ubuntu1) ... 528s Setting up cpp (4:15.2.0-4ubuntu1) ... 528s Setting up g++-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 528s Setting up gcc-15 (15.2.0-11ubuntu1) ... 528s Setting up g++-15 (15.2.0-11ubuntu1) ... 528s Setting up gcc (4:15.2.0-4ubuntu1) ... 528s Setting up g++ (4:15.2.0-4ubuntu1) ... 528s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 528s Setting up build-essential (12.12ubuntu2) ... 528s Processing triggers for install-info (7.2-5) ... 528s Processing triggers for libc-bin (2.42-2ubuntu4) ... 528s Processing triggers for man-db (2.13.1-1) ... 530s Processing triggers for libglib2.0-0t64:s390x (2.86.3-4) ... 530s No schema files found: doing nothing. 530s Setting up libglib2.0-dev:s390x (2.86.3-4) ... 535s autopkgtest [12:20:51]: test libglib2.0-dev: [----------------------- 536s + debian/tests/build 536s + mode=dynamic 536s + getopt -o --long static -n debian/tests/build -- 536s + getopt_temp= -- 536s + eval set -- -- 536s + set -- -- 536s + true 536s + shift 536s + break 536s + mktemp -d 536s + WORKDIR=/tmp/tmp.Qpqznr8s8x 536s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 536s + cd /tmp/tmp.Qpqznr8s8x 536s + [ -n ] 536s + CROSS_COMPILE= 536s + cat 536s + cat 536s + cat 536s + cat 536s + cat 536s + cat 536s + cflags= 536s + pcflags= 536s + packages=glib-2.0 536s + pkg-config --cflags --libs glib-2.0 536s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 536s + echo build (glib, dynamic): OK 536s + [ -x glib-dynamic ] 536s + foo=bar ./glib-dynamic 536s + echo run (glib, dynamic): OK 536s + cflags= 536s + pcflags= 536s + packages=gobject-2.0 536s + pkg-config --cflags --libs gobject-2.0 536s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 536s build (glib, dynamic): OK 536s run (glib, dynamic): OK 536s build (gobject, dynamic): OK 536s run (gobject, dynamic): OK 536s + echo build (gobject, dynamic): OK 536s + [ -x gobject-dynamic ] 536s + foo=bar ./gobject-dynamic 536s + echo run (gobject, dynamic): OK 536s + cflags= 536s + pcflags= 536s + packages=gio-2.0 536s + pkg-config --cflags --libs gio-2.0 536s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 536s build (gio, dynamic): OK 536s + echo build (gio, dynamic): OK 536s + [ -x gio-dynamic ] 536s + foo=bar ./gio-dynamic 536s run (gio, dynamic): OK 536s + echo run (gio, dynamic): OK 536s + cflags= 536s + pcflags= 536s + packages=gio-unix-2.0 536s + pkg-config --cflags --libs gio-unix-2.0 536s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 536s build (gio-unix, dynamic): OK 536s + echo build (gio-unix, dynamic): OK 536s + [ -x gio-unix-dynamic ] 536s + foo=bar ./gio-unix-dynamic 536s + echo run (gio-unix, dynamic): OK 536s + cflags= 536s + pcflags= 536s + packages=gmodule-2.0 536s run (gio-unix, dynamic): OK 536s + pkg-config --cflags --libs gmodule-2.0 536s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 537s build (gmodule, dynamic): OK 537s + echo build (gmodule, dynamic): OK 537s + [ -x gmodule-dynamic ] 537s + foo=bar ./gmodule-dynamic 537s + echo run (gmodule, dynamic): OK 537s + cflags= 537s + pcflags= 537s + packages=gthread-2.0 537s + pkg-config --cflags --libs gthread-2.0 537s run (gmodule, dynamic): OK 537s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 537s build (gthread, dynamic): OK 537s + echo build (gthread, dynamic): OK 537s + [ -x gthread-dynamic ] 537s run (gthread, dynamic): OK 537s + foo=bar ./gthread-dynamic 537s + echo run (gthread, dynamic): OK 537s + rm -rf /tmp/tmp.Qpqznr8s8x 537s + debian/tests/build-static 537s + mode=dynamic 537s + getopt -o --long static -n debian/tests/build -- --static 537s + getopt_temp= --static -- 537s + eval set -- --static -- 537s + set -- --static -- 537s + true 537s + mode=static 537s + shift 537s + continue 537s + true 537s + shift 537s + break 537s + mktemp -d 537s + WORKDIR=/tmp/tmp.gHRiGlOtH3 537s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 537s + cd /tmp/tmp.gHRiGlOtH3 537s + [ -n ] 537s + CROSS_COMPILE= 537s + cat 537s + cat 537s + cat 537s + cat 537s + cat 537s + cat 537s + cflags= 537s + pcflags= 537s + packages=glib-2.0 537s + cflags=-static 537s + pcflags=--static 537s + pkg-config --static --cflags --libs glib-2.0 537s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 537s /usr/bin/s390x-linux-gnu-ld.bfd: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 537s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 537s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 537s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 537s build (glib, static): OK 537s run (glib, static): OK 537s + echo build (glib, static): OK 537s + [ -x glib-static ] 537s + foo=bar ./glib-static 537s + echo run (glib, static): OK 537s + cflags= 537s + pcflags= 537s + packages=gobject-2.0 537s + cflags=-static 537s + pcflags=--static 537s + pkg-config --static --cflags --libs gobject-2.0 537s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 537s /usr/bin/s390x-linux-gnu-ld.bfd: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 537s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 537s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 537s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 537s build (gobject, static): OK 537s run (gobject, static): OK 537s + echo build (gobject, static): OK 537s + [ -x gobject-static ] 537s + foo=bar ./gobject-static 537s + echo run (gobject, static): OK 537s + cflags= 537s + pcflags= 537s + packages=gio-2.0 537s + cflags=-static 537s + pcflags=--static 537s + continue 537s + cflags= 537s + pcflags= 537s + packages=gio-unix-2.0 537s + cflags=-static 537s + pcflags=--static 537s + continue 537s + cflags= 537s + pcflags= 537s + packages=gmodule-2.0 537s + cflags=-static 537s + pcflags=--static 537s + pkg-config --static --cflags --libs gmodule-2.0 537s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 537s /usr/bin/s390x-linux-gnu-ld.bfd: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 537s (.text+0x672): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 537s /usr/bin/s390x-linux-gnu-ld.bfd: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 537s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 537s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 537s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 537s build (gmodule, static): OK 537s + echo build (gmodule, static): OK 537s + [ -x gmodule-static ] 537s + foo=bar ./gmodule-static 537s run (gmodule, static): OK 537s + echo run (gmodule, static): OK 537s + cflags= 537s + pcflags= 537s + packages=gthread-2.0 537s + cflags=-static 537s + pcflags=--static 537s + pkg-config --static --cflags --libs gthread-2.0 537s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 538s /usr/bin/s390x-linux-gnu-ld.bfd: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 538s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 538s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 538s /usr/bin/s390x-linux-gnu-ld.bfd: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 538s build (gthread, static): OK 538s run (gthread, static): OK 538s + echo build (gthread, static): OK 538s + [ -x gthread-static ] 538s + foo=bar ./gthread-static 538s + echo run (gthread, static): OK 538s + rm -rf /tmp/tmp.gHRiGlOtH3 538s + debian/tests/girepository-tools 538s + cd /tmp/autopkgtest.mbpDUd/autopkgtest_tmp 538s + dpkg-architecture -qDEB_HOST_GNU_TYPE 538s + DEB_HOST_GNU_TYPE=s390x-linux-gnu 538s + dpkg-architecture -qDEB_HOST_MULTIARCH 538s + DEB_HOST_MULTIARCH=s390x-linux-gnu 538s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 538s typelib: GLib-2.0 538s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 538s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 538s + debian/tests/libgio-2.0-dev-bin 538s + gdbus-codegen --help 538s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 538s [--c-namespace NAMESPACE] [--c-generate-object-manager] 538s [--c-generate-autocleanup {none,objects,all}] 538s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 538s [--generate-rst OUTFILES] [--pragma-once] 538s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 538s [--glib-min-required VERSION] 538s [--glib-max-allowed VERSION] 538s [--symbol-decorator SYMBOL_DECORATOR] 538s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 538s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 538s [--generate-c-code OUTFILES | --header | --body | 538s --interface-info-header | --interface-info-body] 538s [--output FILE | --output-directory OUTDIR] 538s FILE [FILE ...] 538s 538s D-Bus code and documentation generator 538s 538s positional arguments: 538s FILE D-Bus introspection XML file 538s 538s options: 538s -h, --help show this help message and exit 538s --interface-prefix PREFIX 538s String to strip from D-Bus interface names for code 538s and docs 538s --c-namespace NAMESPACE 538s The namespace to use for generated C code 538s --c-generate-object-manager 538s Generate a GDBusObjectManagerClient subclass when 538s generating C code 538s --c-generate-autocleanup {none,objects,all} 538s Generate autocleanup support 538s --generate-docbook OUTFILES 538s Generate Docbook in OUTFILES-org.Project.IFace.xml 538s --generate-md OUTFILES 538s Generate Markdown in OUTFILES-org.Project.IFace.md 538s --generate-rst OUTFILES 538s Generate reStructuredText in OUTFILES- 538s org.Project.IFace.rst 538s --pragma-once Use "pragma once" as the inclusion guard 538s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 538s Add annotation (may be used several times) 538s --glib-min-required VERSION 538s Minimum version of GLib to be supported by the 538s outputted code (default: 2.30) 538s --glib-max-allowed VERSION 538s Maximum version of GLib to be used by the outputted 538s code (default: current GLib version) 538s --symbol-decorator SYMBOL_DECORATOR 538s Macro used to decorate a symbol in the outputted 538s header, possibly to export symbols 538s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 538s Additional header required for decorator specified by 538s --symbol-decorator 538s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 538s Additional define required for decorator specified by 538s --symbol-decorator 538s --generate-c-code OUTFILES 538s Generate C code in OUTFILES.[ch] 538s --header Generate C headers 538s --body Generate C code 538s --interface-info-header 538s Generate GDBusInterfaceInfo C header 538s --interface-info-body 538s Generate GDBusInterfaceInfo C code 538s --output FILE Write output into the specified file 538s --output-directory OUTDIR 538s Location to output generated files 538s 2.86.3 538s + glib-compile-resources --version 538s + glib-genmarshal --version 538s glib-genmarshal version 2.86.3 538s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 538s You may redistribute copies of glib-genmarshal under the terms of 538s the GNU General Public License which can be found in the 538s GLib source package. Sources, examples and contact 538s information are available at http://www.gtk.org 538s + glib-gettextize --version 538s + glib-mkenums --version 538s /usr/bin/glib-gettextize (GNU glib) 2.86.3 538s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 538s This is free software; see the source for copying conditions. There is NO 538s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 538s Written by Ulrich Drepper 538s glib-mkenums version 2.86.3 538s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 538s You may redistribute copies of glib-mkenums under the terms of 538s the GNU General Public License which can be found in the 538s GLib source package. Sources, examples and contact 538s information are available at http://www.gtk.org 538s + gobject-query tree 538s GObject 538s + gtester --version 538s gtester version 2.86.3 538s + gtester-report --version 538s gtester-report (GLib utils) version 2.86.3. 538s + cd /tmp/autopkgtest.mbpDUd/autopkgtest_tmp 538s + dpkg-architecture -qDEB_HOST_MULTIARCH 538s typelib: GLib-2.0 538s + DEB_HOST_MULTIARCH=s390x-linux-gnu 538s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 538s + gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 538s + gi-decompile-typelib -o GLib.gir GLib.typelib 539s autopkgtest [12:20:55]: test libglib2.0-dev: -----------------------] 539s autopkgtest [12:20:55]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 539s libglib2.0-dev PASS (superficial) 540s autopkgtest [12:20:56]: test installed-tests: preparing testbed 559s Creating nova instance adt-resolute-s390x-glib2.0-20260129-121156-juju-7f2275-prod-proposed-migration-environment-2-11e74e6b-91cd-4de5-8758-4cf6796deaaa from image adt/ubuntu-resolute-s390x-server-20260128.img (UUID 5ba972fb-5682-41ac-8a6c-59e0b358d8f4)... 621s autopkgtest [12:22:17]: testbed dpkg architecture: s390x 621s autopkgtest [12:22:17]: testbed apt version: 3.1.14 622s autopkgtest [12:22:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 622s autopkgtest [12:22:18]: testbed release detected to be: resolute 623s autopkgtest [12:22:19]: updating testbed package index (apt update) 624s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 624s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 624s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 624s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 624s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 624s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 624s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1007 kB] 624s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 624s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [117 kB] 624s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [643 kB] 624s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [6428 B] 625s Fetched 2032 kB in 1s (2799 kB/s) 627s Reading package lists... 628s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 628s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 628s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 628s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 631s Reading package lists... 631s Reading package lists... 631s Building dependency tree... 631s Reading state information... 632s Calculating upgrade... 632s The following packages will be upgraded: 632s libxcb1 tzdata 632s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 632s Need to get 250 kB of archives. 632s After this operation, 0 B of additional disk space will be used. 632s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x tzdata all 2025c-3ubuntu3 [199 kB] 632s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb1 s390x 1.17.0-2ubuntu1 [50.6 kB] 634s dpkg-preconfigure: unable to re-open stdin: No such file or directory 634s Fetched 250 kB in 0s (7870 kB/s) 635s (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 ... 87720 files and directories currently installed.) 635s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 635s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 635s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_s390x.deb ... 635s Unpacking libxcb1:s390x (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 635s Setting up libxcb1:s390x (1.17.0-2ubuntu1) ... 635s Setting up tzdata (2025c-3ubuntu3) ... 636s 636s Current default time zone: 'Etc/UTC' 636s Local time is now: Thu Jan 29 12:24:46 UTC 2026. 636s Universal Time is now: Thu Jan 29 12:24:46 UTC 2026. 636s Run 'dpkg-reconfigure tzdata' if you wish to change it. 636s 636s Processing triggers for libc-bin (2.42-2ubuntu4) ... 637s autopkgtest [12:22:33]: upgrading testbed (apt dist-upgrade and autopurge) 637s Reading package lists... 637s Building dependency tree... 637s Reading state information... 637s Calculating upgrade... 638s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 638s Reading package lists... 638s Building dependency tree... 638s Reading state information... 638s Solving dependencies... 638s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 642s Reading package lists... 643s Building dependency tree... 643s Reading state information... 643s Solving dependencies... 643s The following NEW packages will be installed: 643s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 643s gnome-desktop-testing libfontenc1 libfreetype6 libgbm1 libgio-2.0-dev-bin 643s libgl1 libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests 643s libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 libvulkan1 643s libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 643s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 643s libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 643s mesa-libgallium native-architecture python3-dbusmock tzdata-legacy 643s x11-common x11-xkb-utils xserver-common xvfb 644s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 644s Need to get 15.5 MB of archives. 644s After this operation, 73.9 MB of additional disk space will be used. 644s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x dbus-x11 s390x 1.16.2-2ubuntu2 [23.9 kB] 644s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x desktop-file-utils s390x 0.28-1build1 [54.2 kB] 644s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-glib-2.0-dev s390x 2.86.3-4 [865 kB] 644s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x native-architecture all 0.2.6build1 [2256 B] 644s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x girepository-tools s390x 2.86.3-4 [115 kB] 644s Get:6 http://ftpmaster.internal/ubuntu resolute/universe s390x gnome-desktop-testing s390x 2021.1-5 [16.7 kB] 644s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x libfontenc1 s390x 1:1.1.8-1build2 [14.5 kB] 644s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x libfreetype6 s390x 2.14.1+dfsg-2 [443 kB] 644s Get:9 http://ftpmaster.internal/ubuntu resolute/main s390x libx11-xcb1 s390x 2:1.8.12-1build1 [7972 B] 644s Get:10 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-dri3-0 s390x 1.17.0-2ubuntu1 [7682 B] 644s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-present0 s390x 1.17.0-2ubuntu1 [6346 B] 644s Get:12 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-randr0 s390x 1.17.0-2ubuntu1 [19.0 kB] 644s Get:13 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-sync1 s390x 1.17.0-2ubuntu1 [9508 B] 644s Get:14 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-xfixes0 s390x 1.17.0-2ubuntu1 [10.6 kB] 644s Get:15 http://ftpmaster.internal/ubuntu resolute/main s390x libxshmfence1 s390x 1.3.3-1 [5202 B] 644s Get:16 http://ftpmaster.internal/ubuntu resolute/main s390x mesa-libgallium s390x 25.3.3-1ubuntu1 [8357 kB] 645s Get:17 http://ftpmaster.internal/ubuntu resolute/main s390x libgbm1 s390x 25.3.3-1ubuntu1 [35.1 kB] 645s Get:18 http://ftpmaster.internal/ubuntu resolute/main s390x libgio-2.0-dev-bin s390x 2.86.3-4 [129 kB] 645s Get:19 http://ftpmaster.internal/ubuntu resolute/main s390x libvulkan1 s390x 1.4.335.0-1 [156 kB] 645s Get:20 http://ftpmaster.internal/ubuntu resolute/main s390x libgl1-mesa-dri s390x 25.3.3-1ubuntu1 [36.7 kB] 645s Get:21 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-bin s390x 2.86.3-4 [99.6 kB] 645s Get:22 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-dev-bin s390x 2.86.3-4 [18.2 kB] 645s Get:23 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-dbusmock all 0.37.2-1 [90.9 kB] 645s Get:24 http://ftpmaster.internal/ubuntu resolute/main s390x tzdata-legacy all 2025c-3ubuntu3 [99.3 kB] 645s Get:25 http://ftpmaster.internal/ubuntu resolute/universe s390x libglib2.0-tests s390x 2.86.3-4 [2336 kB] 645s Get:26 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-glx0 s390x 1.17.0-2ubuntu1 [25.6 kB] 645s Get:27 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-shm0 s390x 1.17.0-2ubuntu1 [5926 B] 645s Get:28 http://ftpmaster.internal/ubuntu resolute/main s390x libxxf86vm1 s390x 1:1.1.4-2 [10.6 kB] 645s Get:29 http://ftpmaster.internal/ubuntu resolute/main s390x libglx-mesa0 s390x 25.3.3-1ubuntu1 [114 kB] 645s Get:30 http://ftpmaster.internal/ubuntu resolute/main s390x x11-common all 1:7.7+24ubuntu1 [22.4 kB] 645s Get:31 http://ftpmaster.internal/ubuntu resolute/main s390x libice6 s390x 2:1.1.1-1build1 [46.2 kB] 645s Get:32 http://ftpmaster.internal/ubuntu resolute/main s390x libpixman-1-0 s390x 0.46.4-1 [217 kB] 645s Get:33 http://ftpmaster.internal/ubuntu resolute/main s390x libsm6 s390x 2:1.2.6-1 [18.3 kB] 645s Get:34 http://ftpmaster.internal/ubuntu resolute/main s390x libxt6t64 s390x 1:1.2.1-1.3 [180 kB] 645s Get:35 http://ftpmaster.internal/ubuntu resolute/main s390x libxmu6 s390x 2:1.1.3-4 [51.7 kB] 645s Get:36 http://ftpmaster.internal/ubuntu resolute/main s390x libxpm4 s390x 1:3.5.17-1build3 [41.5 kB] 645s Get:37 http://ftpmaster.internal/ubuntu resolute/main s390x libxaw7 s390x 2:1.0.16-1build1 [201 kB] 645s Get:38 http://ftpmaster.internal/ubuntu resolute/main s390x libxfont2 s390x 1:2.0.6-2 [105 kB] 645s Get:39 http://ftpmaster.internal/ubuntu resolute/main s390x libxkbfile1 s390x 1:1.1.0-1build5 [75.9 kB] 645s Get:40 http://ftpmaster.internal/ubuntu resolute/main s390x libxrender1 s390x 1:0.9.12-1 [20.9 kB] 645s Get:41 http://ftpmaster.internal/ubuntu resolute/main s390x libxrandr2 s390x 2:1.5.4-1build1 [20.4 kB] 645s Get:42 http://ftpmaster.internal/ubuntu resolute/main s390x x11-xkb-utils s390x 7.7+9build1 [168 kB] 645s Get:43 http://ftpmaster.internal/ubuntu resolute/main s390x xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 645s Get:44 http://ftpmaster.internal/ubuntu resolute/main s390x libglvnd0 s390x 1.7.0-3 [106 kB] 645s Get:45 http://ftpmaster.internal/ubuntu resolute/main s390x libglx0 s390x 1.7.0-3 [30.9 kB] 645s Get:46 http://ftpmaster.internal/ubuntu resolute/main s390x libgl1 s390x 1.7.0-3 [134 kB] 645s Get:47 http://ftpmaster.internal/ubuntu resolute/universe s390x xvfb s390x 2:21.1.21-1ubuntu1 [938 kB] 646s Fetched 15.5 MB in 2s (9629 kB/s) 646s Selecting previously unselected package dbus-x11. 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 ... 87720 files and directories currently installed.) 646s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_s390x.deb ... 646s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 646s Selecting previously unselected package desktop-file-utils. 646s Preparing to unpack .../01-desktop-file-utils_0.28-1build1_s390x.deb ... 646s Unpacking desktop-file-utils (0.28-1build1) ... 646s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 646s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.3-4_s390x.deb ... 646s Unpacking gir1.2-glib-2.0-dev:s390x (2.86.3-4) ... 646s Selecting previously unselected package native-architecture. 646s Preparing to unpack .../03-native-architecture_0.2.6build1_all.deb ... 646s Unpacking native-architecture (0.2.6build1) ... 646s Selecting previously unselected package girepository-tools:s390x. 646s Preparing to unpack .../04-girepository-tools_2.86.3-4_s390x.deb ... 646s Unpacking girepository-tools:s390x (2.86.3-4) ... 647s Selecting previously unselected package gnome-desktop-testing. 647s Preparing to unpack .../05-gnome-desktop-testing_2021.1-5_s390x.deb ... 647s Unpacking gnome-desktop-testing (2021.1-5) ... 647s Selecting previously unselected package libfontenc1:s390x. 647s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1build2_s390x.deb ... 647s Unpacking libfontenc1:s390x (1:1.1.8-1build2) ... 647s Selecting previously unselected package libfreetype6:s390x. 647s Preparing to unpack .../07-libfreetype6_2.14.1+dfsg-2_s390x.deb ... 647s Unpacking libfreetype6:s390x (2.14.1+dfsg-2) ... 647s Selecting previously unselected package libx11-xcb1:s390x. 647s Preparing to unpack .../08-libx11-xcb1_2%3a1.8.12-1build1_s390x.deb ... 647s Unpacking libx11-xcb1:s390x (2:1.8.12-1build1) ... 647s Selecting previously unselected package libxcb-dri3-0:s390x. 647s Preparing to unpack .../09-libxcb-dri3-0_1.17.0-2ubuntu1_s390x.deb ... 647s Unpacking libxcb-dri3-0:s390x (1.17.0-2ubuntu1) ... 647s Selecting previously unselected package libxcb-present0:s390x. 647s Preparing to unpack .../10-libxcb-present0_1.17.0-2ubuntu1_s390x.deb ... 647s Unpacking libxcb-present0:s390x (1.17.0-2ubuntu1) ... 647s Selecting previously unselected package libxcb-randr0:s390x. 647s Preparing to unpack .../11-libxcb-randr0_1.17.0-2ubuntu1_s390x.deb ... 647s Unpacking libxcb-randr0:s390x (1.17.0-2ubuntu1) ... 647s Selecting previously unselected package libxcb-sync1:s390x. 647s Preparing to unpack .../12-libxcb-sync1_1.17.0-2ubuntu1_s390x.deb ... 647s Unpacking libxcb-sync1:s390x (1.17.0-2ubuntu1) ... 647s Selecting previously unselected package libxcb-xfixes0:s390x. 647s Preparing to unpack .../13-libxcb-xfixes0_1.17.0-2ubuntu1_s390x.deb ... 647s Unpacking libxcb-xfixes0:s390x (1.17.0-2ubuntu1) ... 647s Selecting previously unselected package libxshmfence1:s390x. 647s Preparing to unpack .../14-libxshmfence1_1.3.3-1_s390x.deb ... 647s Unpacking libxshmfence1:s390x (1.3.3-1) ... 647s Selecting previously unselected package mesa-libgallium:s390x. 647s Preparing to unpack .../15-mesa-libgallium_25.3.3-1ubuntu1_s390x.deb ... 647s Unpacking mesa-libgallium:s390x (25.3.3-1ubuntu1) ... 648s Selecting previously unselected package libgbm1:s390x. 648s Preparing to unpack .../16-libgbm1_25.3.3-1ubuntu1_s390x.deb ... 648s Unpacking libgbm1:s390x (25.3.3-1ubuntu1) ... 648s Selecting previously unselected package libgio-2.0-dev-bin. 648s Preparing to unpack .../17-libgio-2.0-dev-bin_2.86.3-4_s390x.deb ... 648s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 648s Selecting previously unselected package libvulkan1:s390x. 648s Preparing to unpack .../18-libvulkan1_1.4.335.0-1_s390x.deb ... 648s Unpacking libvulkan1:s390x (1.4.335.0-1) ... 648s Selecting previously unselected package libgl1-mesa-dri:s390x. 648s Preparing to unpack .../19-libgl1-mesa-dri_25.3.3-1ubuntu1_s390x.deb ... 648s Unpacking libgl1-mesa-dri:s390x (25.3.3-1ubuntu1) ... 648s Selecting previously unselected package libglib2.0-bin. 648s Preparing to unpack .../20-libglib2.0-bin_2.86.3-4_s390x.deb ... 648s Unpacking libglib2.0-bin (2.86.3-4) ... 648s Selecting previously unselected package libglib2.0-dev-bin. 648s Preparing to unpack .../21-libglib2.0-dev-bin_2.86.3-4_s390x.deb ... 648s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 648s Selecting previously unselected package python3-dbusmock. 648s Preparing to unpack .../22-python3-dbusmock_0.37.2-1_all.deb ... 648s Unpacking python3-dbusmock (0.37.2-1) ... 648s Selecting previously unselected package tzdata-legacy. 648s Preparing to unpack .../23-tzdata-legacy_2025c-3ubuntu3_all.deb ... 648s Unpacking tzdata-legacy (2025c-3ubuntu3) ... 648s Selecting previously unselected package libglib2.0-tests. 648s Preparing to unpack .../24-libglib2.0-tests_2.86.3-4_s390x.deb ... 648s Unpacking libglib2.0-tests (2.86.3-4) ... 648s Selecting previously unselected package libxcb-glx0:s390x. 648s Preparing to unpack .../25-libxcb-glx0_1.17.0-2ubuntu1_s390x.deb ... 648s Unpacking libxcb-glx0:s390x (1.17.0-2ubuntu1) ... 648s Selecting previously unselected package libxcb-shm0:s390x. 648s Preparing to unpack .../26-libxcb-shm0_1.17.0-2ubuntu1_s390x.deb ... 648s Unpacking libxcb-shm0:s390x (1.17.0-2ubuntu1) ... 648s Selecting previously unselected package libxxf86vm1:s390x. 648s Preparing to unpack .../27-libxxf86vm1_1%3a1.1.4-2_s390x.deb ... 648s Unpacking libxxf86vm1:s390x (1:1.1.4-2) ... 648s Selecting previously unselected package libglx-mesa0:s390x. 648s Preparing to unpack .../28-libglx-mesa0_25.3.3-1ubuntu1_s390x.deb ... 648s Unpacking libglx-mesa0:s390x (25.3.3-1ubuntu1) ... 648s Selecting previously unselected package x11-common. 648s Preparing to unpack .../29-x11-common_1%3a7.7+24ubuntu1_all.deb ... 648s Unpacking x11-common (1:7.7+24ubuntu1) ... 648s Selecting previously unselected package libice6:s390x. 648s Preparing to unpack .../30-libice6_2%3a1.1.1-1build1_s390x.deb ... 648s Unpacking libice6:s390x (2:1.1.1-1build1) ... 648s Selecting previously unselected package libpixman-1-0:s390x. 648s Preparing to unpack .../31-libpixman-1-0_0.46.4-1_s390x.deb ... 648s Unpacking libpixman-1-0:s390x (0.46.4-1) ... 648s Selecting previously unselected package libsm6:s390x. 648s Preparing to unpack .../32-libsm6_2%3a1.2.6-1_s390x.deb ... 648s Unpacking libsm6:s390x (2:1.2.6-1) ... 649s Selecting previously unselected package libxt6t64:s390x. 649s Preparing to unpack .../33-libxt6t64_1%3a1.2.1-1.3_s390x.deb ... 649s Unpacking libxt6t64:s390x (1:1.2.1-1.3) ... 649s Selecting previously unselected package libxmu6:s390x. 649s Preparing to unpack .../34-libxmu6_2%3a1.1.3-4_s390x.deb ... 649s Unpacking libxmu6:s390x (2:1.1.3-4) ... 649s Selecting previously unselected package libxpm4:s390x. 649s Preparing to unpack .../35-libxpm4_1%3a3.5.17-1build3_s390x.deb ... 649s Unpacking libxpm4:s390x (1:3.5.17-1build3) ... 649s Selecting previously unselected package libxaw7:s390x. 649s Preparing to unpack .../36-libxaw7_2%3a1.0.16-1build1_s390x.deb ... 649s Unpacking libxaw7:s390x (2:1.0.16-1build1) ... 649s Selecting previously unselected package libxfont2:s390x. 649s Preparing to unpack .../37-libxfont2_1%3a2.0.6-2_s390x.deb ... 649s Unpacking libxfont2:s390x (1:2.0.6-2) ... 649s Selecting previously unselected package libxkbfile1:s390x. 649s Preparing to unpack .../38-libxkbfile1_1%3a1.1.0-1build5_s390x.deb ... 649s Unpacking libxkbfile1:s390x (1:1.1.0-1build5) ... 649s Selecting previously unselected package libxrender1:s390x. 649s Preparing to unpack .../39-libxrender1_1%3a0.9.12-1_s390x.deb ... 649s Unpacking libxrender1:s390x (1:0.9.12-1) ... 649s Selecting previously unselected package libxrandr2:s390x. 649s Preparing to unpack .../40-libxrandr2_2%3a1.5.4-1build1_s390x.deb ... 649s Unpacking libxrandr2:s390x (2:1.5.4-1build1) ... 649s Selecting previously unselected package x11-xkb-utils. 649s Preparing to unpack .../41-x11-xkb-utils_7.7+9build1_s390x.deb ... 649s Unpacking x11-xkb-utils (7.7+9build1) ... 649s Selecting previously unselected package xserver-common. 649s Preparing to unpack .../42-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 649s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 649s Selecting previously unselected package libglvnd0:s390x. 649s Preparing to unpack .../43-libglvnd0_1.7.0-3_s390x.deb ... 649s Unpacking libglvnd0:s390x (1.7.0-3) ... 649s Selecting previously unselected package libglx0:s390x. 649s Preparing to unpack .../44-libglx0_1.7.0-3_s390x.deb ... 649s Unpacking libglx0:s390x (1.7.0-3) ... 649s Selecting previously unselected package libgl1:s390x. 649s Preparing to unpack .../45-libgl1_1.7.0-3_s390x.deb ... 649s Unpacking libgl1:s390x (1.7.0-3) ... 649s Selecting previously unselected package xvfb. 649s Preparing to unpack .../46-xvfb_2%3a21.1.21-1ubuntu1_s390x.deb ... 649s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 649s Setting up gnome-desktop-testing (2021.1-5) ... 649s Setting up libxcb-dri3-0:s390x (1.17.0-2ubuntu1) ... 649s Setting up libpixman-1-0:s390x (0.46.4-1) ... 649s Setting up libx11-xcb1:s390x (2:1.8.12-1build1) ... 649s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 650s Setting up native-architecture (0.2.6build1) ... 650s Setting up libxcb-xfixes0:s390x (1.17.0-2ubuntu1) ... 650s Setting up desktop-file-utils (0.28-1build1) ... 650s Setting up libxpm4:s390x (1:3.5.17-1build3) ... 650s Setting up libxrender1:s390x (1:0.9.12-1) ... 650s Setting up libglvnd0:s390x (1.7.0-3) ... 650s Setting up libxcb-glx0:s390x (1.17.0-2ubuntu1) ... 650s Setting up x11-common (1:7.7+24ubuntu1) ... 650s Setting up libglib2.0-bin (2.86.3-4) ... 650s Setting up libxcb-shm0:s390x (1.17.0-2ubuntu1) ... 650s Setting up python3-dbusmock (0.37.2-1) ... 651s Setting up tzdata-legacy (2025c-3ubuntu3) ... 651s Setting up libxxf86vm1:s390x (1:1.1.4-2) ... 651s Setting up libxcb-present0:s390x (1.17.0-2ubuntu1) ... 651s Setting up libfontenc1:s390x (1:1.1.8-1build2) ... 651s Setting up libfreetype6:s390x (2.14.1+dfsg-2) ... 651s Setting up libxcb-sync1:s390x (1.17.0-2ubuntu1) ... 651s Setting up libxrandr2:s390x (2:1.5.4-1build1) ... 651s Setting up libvulkan1:s390x (1.4.335.0-1) ... 651s Setting up gir1.2-glib-2.0-dev:s390x (2.86.3-4) ... 651s Setting up libxshmfence1:s390x (1.3.3-1) ... 651s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 651s Setting up libxcb-randr0:s390x (1.17.0-2ubuntu1) ... 651s Setting up libxkbfile1:s390x (1:1.1.0-1build5) ... 651s Setting up libxfont2:s390x (1:2.0.6-2) ... 651s Setting up libice6:s390x (2:1.1.1-1build1) ... 651s Setting up mesa-libgallium:s390x (25.3.3-1ubuntu1) ... 651s Setting up girepository-tools:s390x (2.86.3-4) ... 651s Setting up libgbm1:s390x (25.3.3-1ubuntu1) ... 651s Setting up libgl1-mesa-dri:s390x (25.3.3-1ubuntu1) ... 651s Setting up libsm6:s390x (2:1.2.6-1) ... 651s Setting up libglib2.0-dev-bin (2.86.3-4) ... 651s Setting up libglx-mesa0:s390x (25.3.3-1ubuntu1) ... 651s Setting up libglx0:s390x (1.7.0-3) ... 651s Setting up libgl1:s390x (1.7.0-3) ... 651s Setting up libxt6t64:s390x (1:1.2.1-1.3) ... 651s Setting up libglib2.0-tests (2.86.3-4) ... 651s Setting up libxmu6:s390x (2:1.1.3-4) ... 651s Setting up libxaw7:s390x (2:1.0.16-1build1) ... 651s Setting up x11-xkb-utils (7.7+9build1) ... 651s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 651s Setting up xvfb (2:21.1.21-1ubuntu1) ... 651s Processing triggers for man-db (2.13.1-1) ... 652s Processing triggers for libc-bin (2.42-2ubuntu4) ... 657s autopkgtest [12:22:53]: test installed-tests: [----------------------- 657s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd),107(cpacfstats) 657s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 657s group entry: ubuntu:x:1000: 657s Environment: 657s ADTTMP=/tmp/autopkgtest.mbpDUd/autopkgtest_tmp 657s ADT_ARTIFACTS=/tmp/autopkgtest.mbpDUd/installed-tests-artifacts 657s ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 657s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.mbpDUd/installed-tests-artifacts 657s AUTOPKGTEST_TESTBED_ARCH=s390x 657s AUTOPKGTEST_TEST_ARCH=s390x 657s AUTOPKGTEST_TMP=/tmp/autopkgtest.mbpDUd/autopkgtest_tmp 657s DEBIAN_FRONTEND=noninteractive 657s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 657s DEB_BUILD_OPTIONS=parallel=2 657s GIO_USE_VFS=local 657s GIO_USE_VOLUME_MONITOR=unix 657s HOME=/home/ubuntu 657s LANG=C.UTF-8 657s LOGNAME=ubuntu 657s MAIL=/var/mail/ubuntu 657s OLDPWD=/home/ubuntu 657s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 657s PWD=/tmp/autopkgtest.mbpDUd/build.PzA/src 657s SHELL=/bin/bash 657s SHLVL=1 657s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.mbpDUd/wrapper.sh --artifacts=/tmp/autopkgtest.mbpDUd/installed-tests-artifacts --chdir=/tmp/autopkgtest.mbpDUd/build.PzA/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.mbpDUd/installed-tests-stderr --stdout=/tmp/autopkgtest.mbpDUd/installed-tests-stdout --tmp=/tmp/autopkgtest.mbpDUd/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 --make-executable=/tmp/autopkgtest.mbpDUd/build.PzA/src/debian/tests/installed-tests -- /tmp/autopkgtest.mbpDUd/build.PzA/src/debian/tests/installed-tests 657s SUDO_GID=1000 657s SUDO_HOME=/home/ubuntu 657s SUDO_UID=1000 657s SUDO_USER=ubuntu 657s TERM=linux 657s USER=ubuntu 657s XDG_RUNTIME_DIR=/tmp/autopkgtest.mbpDUd/autopkgtest_tmp 657s http_proxy=http://egress.ps7.internal:3128/ 657s https_proxy=http://egress.ps7.internal:3128/ 657s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 657s run-with-locales: de_DE=ISO-8859-1... 657s Character set: ISO-8859-1 657s Source file: de_DE 657s Output: /tmp/tmp.tV5cBmlqvR/de_DE 658s run-with-locales: de_DE.utf8... 658s Character set: UTF-8 658s Source file: de_DE 658s Output: /tmp/tmp.tV5cBmlqvR/de_DE.utf8 662s run-with-locales: de_DE@euro.utf8... 662s Character set: UTF-8 662s Source file: de_DE@euro 662s Output: /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8 664s run-with-locales: el_GR.utf8... 664s Character set: UTF-8 664s Source file: el_GR 664s Output: /tmp/tmp.tV5cBmlqvR/el_GR.utf8 668s run-with-locales: en_GB=ISO-8859-1... 668s Character set: ISO-8859-1 668s Source file: en_GB 668s Output: /tmp/tmp.tV5cBmlqvR/en_GB 669s run-with-locales: en_GB.utf8... 669s Character set: UTF-8 669s Source file: en_GB 669s Output: /tmp/tmp.tV5cBmlqvR/en_GB.utf8 672s run-with-locales: en_US=ISO-8859-1... 672s Character set: ISO-8859-1 672s Source file: en_US 672s Output: /tmp/tmp.tV5cBmlqvR/en_US 673s run-with-locales: en_US.utf8... 673s Character set: UTF-8 673s Source file: en_US 673s Output: /tmp/tmp.tV5cBmlqvR/en_US.utf8 675s run-with-locales: es_ES.utf8... 675s Character set: UTF-8 675s Source file: es_ES 675s Output: /tmp/tmp.tV5cBmlqvR/es_ES.utf8 677s run-with-locales: fa_IR=UTF-8... 677s Character set: UTF-8 677s Source file: fa_IR 677s Output: /tmp/tmp.tV5cBmlqvR/fa_IR 681s run-with-locales: fa_IR.utf8... 681s Character set: UTF-8 681s Source file: fa_IR 681s Output: /tmp/tmp.tV5cBmlqvR/fa_IR.utf8 683s run-with-locales: fr_FR.utf8... 683s Character set: UTF-8 683s Source file: fr_FR 683s Output: /tmp/tmp.tV5cBmlqvR/fr_FR.utf8 686s run-with-locales: hr_HR.utf8... 686s Character set: UTF-8 686s Source file: hr_HR 686s Output: /tmp/tmp.tV5cBmlqvR/hr_HR.utf8 688s run-with-locales: ja_JP.utf8... 688s Character set: UTF-8 688s Source file: ja_JP 688s Output: /tmp/tmp.tV5cBmlqvR/ja_JP.utf8 689s run-with-locales: ja_JP.EUC-JP... 689s Character set: EUC-JP 689s Source file: ja_JP 689s Output: /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp 690s run-with-locales: lt_LT.utf8... 690s Character set: UTF-8 690s Source file: lt_LT 690s Output: /tmp/tmp.tV5cBmlqvR/lt_LT.utf8 691s run-with-locales: pl_PL=ISO-8859-2... 691s Character set: ISO-8859-2 691s Source file: pl_PL 691s Output: /tmp/tmp.tV5cBmlqvR/pl_PL 691s run-with-locales: pl_PL.ISO-8859-2... 691s Character set: ISO-8859-2 691s Source file: pl_PL 691s Output: /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592 692s run-with-locales: pl_PL.utf8... 692s Character set: UTF-8 692s Source file: pl_PL 692s Output: /tmp/tmp.tV5cBmlqvR/pl_PL.utf8 695s run-with-locales: ru_RU=ISO-8859-5... 695s Character set: ISO-8859-5 695s Source file: ru_RU 695s Output: /tmp/tmp.tV5cBmlqvR/ru_RU 696s run-with-locales: ru_RU.utf8... 696s Character set: UTF-8 696s Source file: ru_RU 696s Output: /tmp/tmp.tV5cBmlqvR/ru_RU.utf8 700s run-with-locales: sr_RS=UTF-8... 700s Character set: UTF-8 700s Source file: sr_RS 700s Output: /tmp/tmp.tV5cBmlqvR/sr_RS 703s run-with-locales: sr_RS@latin=UTF-8... 703s Character set: UTF-8 703s Source file: sr_RS@latin 703s Output: /tmp/tmp.tV5cBmlqvR/sr_RS@latin 706s run-with-locales: sv_SE=ISO-8859-1... 706s Character set: ISO-8859-1 706s Source file: sv_SE 706s Output: /tmp/tmp.tV5cBmlqvR/sv_SE 707s run-with-locales: sv_SE.utf8... 707s Character set: UTF-8 707s Source file: sv_SE 707s Output: /tmp/tmp.tV5cBmlqvR/sv_SE.utf8 710s run-with-locales: tr_TR=ISO-8859-9... 710s Character set: ISO-8859-9 710s Source file: tr_TR 710s Output: /tmp/tmp.tV5cBmlqvR/tr_TR 710s run-with-locales: tr_TR.utf8... 710s Character set: UTF-8 710s Source file: tr_TR 710s Output: /tmp/tmp.tV5cBmlqvR/tr_TR.utf8 714s run-with-locales: tt_RU=UTF-8... 714s Character set: UTF-8 714s Source file: tt_RU 714s Output: /tmp/tmp.tV5cBmlqvR/tt_RU 716s run-with-locales: tt_RU.utf8... 716s Character set: UTF-8 716s Source file: tt_RU 716s Output: /tmp/tmp.tV5cBmlqvR/tt_RU.utf8 719s run-with-locales: tt_RU@iqtelif=UTF-8... 719s Character set: UTF-8 719s Source file: tt_RU@iqtelif 719s Output: /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif 722s /tmp/tmp.tV5cBmlqvR 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/sv_SE.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/en_GB 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/en_GB/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/de_DE.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/tr_TR.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/sr_RS@latin/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/pl_PL 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/pl_PL/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/de_DE 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/de_DE/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/tt_RU 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/tt_RU/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/de_DE@euro.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/pl_PL.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/ru_RU 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/ru_RU/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/lt_LT.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/el_GR.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/tt_RU@iqtelif/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/fa_IR 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/fa_IR/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/sv_SE 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/sv_SE/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/sr_RS 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/sr_RS/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/ru_RU.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/fa_IR.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/ja_JP.eucjp/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/es_ES.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/en_GB.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/tt_RU.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/hr_HR.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/tr_TR 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/tr_TR/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/ja_JP.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/fr_FR.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/en_US 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/en_US/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/en_US.utf8/LC_ADDRESS 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_CTYPE 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_TELEPHONE 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_NUMERIC 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_COLLATE 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_MEASUREMENT 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_PAPER 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_NAME 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_TIME 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_IDENTIFICATION 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_MONETARY 722s /tmp/tmp.tV5cBmlqvR/pl_PL.iso88592/LC_ADDRESS 722s 1..332 722s # Running test: glib/macros-c-11.test 722s TAP version 14 722s # random seed: R02Sfe7af52e1193924277d4019975e7b0f5 722s 1..4 722s # Start of C tests 722s ok 1 /C/standard-11 722s # End of C tests 722s # Start of alignof tests 722s ok 2 /alignof/fallback 722s # End of alignof tests 722s # Start of assert tests 722s ok 3 /assert/static 722s # End of assert tests 722s # Start of struct tests 722s ok 4 /struct/sizeof_member 722s # End of struct tests 722s ok - glib/macros-c-11.test 722s # Running test: glib/properties.test 722s TAP version 14 722s # random seed: R02Sd8011b5acb8f85f44634517d84608261 722s 1..14 722s # Start of properties tests 722s ok 1 /properties/install 722s ok 2 /properties/install-many 722s ok 3 /properties/notify 722s ok 4 /properties/notify-queue 722s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 722s ok 5 /properties/construct 722s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 722s # Test g_object_get_property with an initialized value 722s # Test g_object_get_property with an uninitialized value 722s # Test g_object_get_property with a transformable value 722s ok 6 /properties/get-property 722s ok 7 /properties/testv_with_no_properties 722s ok 8 /properties/testv_with_valid_properties 722s ok 9 /properties/testv_with_invalid_property_type 722s ok 10 /properties/testv_with_invalid_property_names 722s ok 11 /properties/testv_getv 722s ok 12 /properties/testv_notify_queue 722s # Start of notify tests 722s ok 13 /properties/notify/too-many-freezes 722s # End of notify tests 722s # Start of set-property tests 722s # Start of variant tests 722s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 722s ok 14 /properties/set-property/variant/floating 722s # End of variant tests 722s # End of set-property tests 722s # End of properties tests 722s ok - glib/properties.test 722s # Running test: glib/utf8-private.test 722s ok - glib/utf8-private.test 722s # Running test: glib/1bit-mutex.test 722s TAP version 14 722s # random seed: R02Sde96e30c6285101690f216e97aa25b6a 722s 1..2 722s # Start of utf8 tests 722s ok 1 /utf8/utf8-to-utf16-make-valid 722s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 722s # End of utf8 tests 722s TAP version 14 722s # random seed: R02S97a64510b3e42159729900f10e550aed 722s 1..2 722s # Start of glib tests 722s # Start of 1bit-mutex tests 728s # Executing: glib/1bit-mutex.test 729s ok 1 /glib/1bit-mutex/int 729s # slow test /glib/1bit-mutex/int executed in 6.81 secs 732s # Executing: glib/1bit-mutex.test 737s # Executing: glib/1bit-mutex.test 739s ok 2 /glib/1bit-mutex/pointer 739s # slow test /glib/1bit-mutex/pointer executed in 9.26 secs 739s # End of 1bit-mutex tests 739s # End of glib tests 739s ok - glib/1bit-mutex.test 739s # Running test: glib/uri.test 739s TAP version 14 739s # random seed: R02S7b8b0f7ce66e52938b08e179e67ac486 739s 1..24 739s # Start of uri tests 739s ok 1 /uri/file-to-uri 739s ok 2 /uri/file-from-uri 739s ok 3 /uri/file-roundtrip 739s ok 4 /uri/list 739s # Test 0: %2Babc %4F 739s # Test 1: %2Babc %4F 739s # Test 2: %00abc %4F 739s # Test 3: /cursors/none.png 739s # Test 4: /cursors%2fbad-subdir/none.png 739s # Test 5: %0 739s # Test 6: %ra 739s # Test 7: %2r 739s # Test 8: Timm Bäder 739s # Test 9: (null) 739s ok 5 /uri/unescape-string 739s ok 6 /uri/unescape-segment 739s # Test 0: abcdefgABCDEFG._~ 739s # Test 1: :+ \\?# 739s # Test 2: a+b:c 739s # Test 3: a+b:c\303\234 739s # Test 4: \374;\322 739s # Test 5: \303\261\303( 739s ok 7 /uri/escape-string 739s ok 8 /uri/escape-bytes 739s ok 9 /uri/scheme 739s ok 10 /uri/build 739s ok 11 /uri/split 739s ok 12 /uri/is_valid 739s ok 13 /uri/to-string 739s ok 14 /uri/join 739s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 739s # Combination 0 739s # Combination 1 739s # Combination 2 739s # Combination 3 739s # Combination 4 739s # Combination 5 739s # Combination 6 739s # Combination 7 739s # Combination 8 739s # Combination 9 739s # Combination 10 739s # Combination 11 739s # Combination 12 739s # Combination 13 739s # Combination 14 739s # Combination 15 739s # Combination 16 739s # Combination 17 739s # Combination 18 739s # Combination 19 739s # Combination 20 739s # Combination 21 739s # Combination 22 739s # Combination 23 739s # Combination 24 739s # Combination 25 739s # Combination 26 739s # Combination 27 739s # Combination 28 739s ok - glib/uri.test 739s # Combination 29 739s # Combination 30 739s # Combination 31 739s # Combination 32 739s # Combination 33 739s # Combination 34 739s # Combination 35 739s # Combination 36 739s # Combination 37 739s # Combination 38 739s # Combination 39 739s # Combination 40 739s # Combination 41 739s # Combination 42 739s # Combination 43 739s # Combination 44 739s # Combination 45 739s # Combination 46 739s # Combination 47 739s # Combination 48 739s # Combination 49 739s # Combination 50 739s # Combination 51 739s # Combination 52 739s # Combination 53 739s # Combination 54 739s # Combination 55 739s # Combination 56 739s # Combination 57 739s # Combination 58 739s # Combination 59 739s # Combination 60 739s # Combination 61 739s # Combination 62 739s # Combination 63 739s # Combination 64 739s # Combination 65 739s # Combination 66 739s # Combination 67 739s # Combination 68 739s # Combination 69 739s # Combination 70 739s # Combination 71 739s # Combination 72 739s # Combination 73 739s # Combination 74 739s # Combination 75 739s # Combination 76 739s # Combination 77 739s # Combination 78 739s # Combination 79 739s # Combination 80 739s # Combination 81 739s # Combination 82 739s # Combination 83 739s # Combination 84 739s # Combination 85 739s # Combination 86 739s # Combination 87 739s # Combination 88 739s # Combination 89 739s # Combination 90 739s # Combination 91 739s # Combination 92 739s # Combination 93 739s # Combination 94 739s # Combination 95 739s # Combination 96 739s # Combination 97 739s # Combination 98 739s # Combination 99 739s # Combination 100 739s # Combination 101 739s # Combination 102 739s # Combination 103 739s # Combination 104 739s # Combination 105 739s # Combination 106 739s # Combination 107 739s # Combination 108 739s # Combination 109 739s # Combination 110 739s # Combination 111 739s # Combination 112 739s # Combination 113 739s # Combination 114 739s # Combination 115 739s # Combination 116 739s # Combination 117 739s # Combination 118 739s # Combination 119 739s # Combination 120 739s # Combination 121 739s # Combination 122 739s # Combination 123 739s # Combination 124 739s # Combination 125 739s # Combination 126 739s # Combination 127 739s # Combination 128 739s # Combination 129 739s # Combination 130 739s # Combination 131 739s # Combination 132 739s # Combination 133 739s # Combination 134 739s # Combination 135 739s # Combination 136 739s # Combination 137 739s # Combination 138 739s # Combination 139 739s # Combination 140 739s # Combination 141 739s # Combination 142 739s # Combination 143 739s # Combination 144 739s # Combination 145 739s # Combination 146 739s # Combination 147 739s # Combination 148 739s # Combination 149 739s # Combination 150 739s # Combination 151 739s # Combination 152 739s # Combination 153 739s # Combination 154 739s # Combination 155 739s # Combination 156 739s # Combination 157 739s # Combination 158 739s # Combination 159 739s # Combination 160 739s # Combination 161 739s # Combination 162 739s # Combination 163 739s # Combination 164 739s # Combination 165 739s # Combination 166 739s # Combination 167 739s # Combination 168 739s # Combination 169 739s # Combination 170 739s # Combination 171 739s # Combination 172 739s # Combination 173 739s # Combination 174 739s # Combination 175 739s # Combination 176 739s # Combination 177 739s # Combination 178 739s # Combination 179 739s # Combination 180 739s # Combination 181 739s # Combination 182 739s # Combination 183 739s # Combination 184 739s # Combination 185 739s # Combination 186 739s # Combination 187 739s # Combination 188 739s # Combination 189 739s # Combination 190 739s # Combination 191 739s # Combination 192 739s # Combination 193 739s # Combination 194 739s # Combination 195 739s # Combination 196 739s # Combination 197 739s # Combination 198 739s # Combination 199 739s # Combination 200 739s # Combination 201 739s # Combination 202 739s # Combination 203 739s # Combination 204 739s # Combination 205 739s # Combination 206 739s # Combination 207 739s # Combination 208 739s # Combination 209 739s # Combination 210 739s # Combination 211 739s # Combination 212 739s # Combination 213 739s # Combination 214 739s # Combination 215 739s # Combination 216 739s # Combination 217 739s # Combination 218 739s # Combination 219 739s # Combination 220 739s # Combination 221 739s # Combination 222 739s # Combination 223 739s # Combination 224 739s # Combination 225 739s # Combination 226 739s # Combination 227 739s # Combination 228 739s # Combination 229 739s # Combination 230 739s # Combination 231 739s # Combination 232 739s # Combination 233 739s # Combination 234 739s # Combination 235 739s # Combination 236 739s # Combination 237 739s # Combination 238 739s # Combination 239 739s # Combination 240 739s # Combination 241 739s # Combination 242 739s # Combination 243 739s # Combination 244 739s # Combination 245 739s # Combination 246 739s # Combination 247 739s # Combination 248 739s # Combination 249 739s # Combination 250 739s # Combination 251 739s # Combination 252 739s # Combination 253 739s # Combination 254 739s # Combination 255 739s ok 15 /uri/join-split-round-trip 739s ok 16 /uri/normalize 739s # Start of unescape-bytes tests 739s # Test 0: %00%00 739s # Test 1: /cursors/none.png 739s # Test 2: /cursors%2fbad-subdir/none.png 739s # Test 3: %% 739s # Test 4: % 739s ok 17 /uri/unescape-bytes/nul-terminated 739s # Test 0: %00%00 739s # Test 1: /cursors/none.png 739s # Test 2: /cursors%2fbad-subdir/none.png 739s # Test 3: %% 739s # Test 4: % 739s ok 18 /uri/unescape-bytes/length 739s # End of unescape-bytes tests 739s # Start of parsing tests 739s # Test 0: foo: 739s # Test 1: file:/dev/null 739s # Test 2: file:///dev/null 739s # Test 3: ftp://user@host/path 739s # Test 4: ftp://user@host:9999/path 739s # Test 5: ftp://user:password@host/path 739s # Test 6: ftp://user:password@host:9999/path 739s # Test 7: ftp://user:password@host 739s # Test 8: http://us%65r@host 739s # Test 9: http://us%40r@host 739s # Test 10: http://us%3ar@host 739s # Test 11: http://us%2fr@host 739s # Test 12: http://us%3fr@host 739s # Test 13: http://host?query 739s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 739s # 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 739s # Test 16: http://space/%20 739s # Test 17: http://delims/%3C%3E%23%25%22 739s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 739s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 739s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 739s # Test 21: http://[3ffe:2a00:100:7031::1] 739s # Test 22: http://[1080::8:800:200C:417A]/foo 739s # Test 23: http://[::192.9.5.5]/ipng 739s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 739s # Test 25: http://[2010:836B:4179::836B:4179] 739s # Test 26: http://host/path with spaces 739s # Test 27: http://host/path 739s # Test 28: http://host/path 739s # Test 29: http://host 739s # Test 30: http://host:999 739s # Test 31: http://host/pa 739s # th 739s # Test 32: http: 739s # //host/path 739s # Test 33: http:// host/path 739s # Test 34: http://host/path? 739s # Test 35: http://host/path# 739s # Test 36: http://host/path% 739s # Test 37: http://h%ost/path 739s # Test 38: http://host/path%% 739s # Test 39: http://host/path%%% 739s # Test 40: http://host/path%/x/ 739s # Test 41: http://host/path%0x/ 739s # Test 42: http://host/path%ax 739s # Test 43: http://host/päth/ 739s # Test 44: HTTP://////////////// 739s # Test 45: http://@host 739s # Test 46: http://:@host 739s # Test 47: scheme://foo%3Abar._webdav._tcp.local 739s # Test 48: http://example.com/.. 739s # Test 49: foo0://host/path 739s # Test 50: f0.o://host/path 739s # Test 51: http++://host/path 739s # Test 52: http-ish://host/path 739s # Test 53: http://[fe80::dead:beef%]/ 739s # Test 54: http://[fe80::dead:beef%em1]/ 739s # Test 55: http://[fe80::dead:beef%em1]/ 739s # Test 56: http://[fe80::dead:beef%25em1]/ 739s # Test 57: http://[fe80::dead:beef%25em1%20]/ 739s # Test 58: http://[fe80::dead:beef%25em%31]/ 739s # Test 59: http://[fe80::dead:beef%10]/ 739s # Test 60: http://[fe80::dead:beef%10]/ 739s # Test 61: http://[fe80::dead:beef%25]/ 739s # Test 62: http://[fe80::dead:beef%25]/ 739s # Test 63: http://[192.168.0.1%25em1]/ 739s # Test 64: http://[fe80::dead:beef%2em1]/ 739s # Test 65: http://[fe80::dead:beef%2em1]/ 739s # Test 66: http://[fe80::dead:beef%25em1%00]/ 739s # Test 67: http://[fe80::dead:beef%25em1%00]/ 739s # Test 68: http://xn--mixed-üp/ 739s # Test 69: data:./// 739s # Test 70: data:/.// 739s ok 19 /uri/parsing/absolute 739s ok 20 /uri/parsing/relative 739s # End of parsing tests 739s # Start of iter-params tests 739s # URI 0: p1=foo&p2=bar;p3=baz 739s # URI 1: p1=foo&p2=bar 739s # URI 2: p1=foo&&P1=bar 739s # URI 3: %00=foo 739s # URI 4: p1=%00 739s # URI 5: p1=foo&p1=bar 739s # URI 6: p1=foo&P1=bar 739s # URI 7: =% 739s # URI 8: = 739s # URI 9: foo 739s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 739s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 739s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 739s ok 21 /uri/iter-params/nul-terminated 739s # URI 0: p1=foo&p2=bar;p3=baz 739s # URI 1: p1=foo&p2=bar 739s # URI 2: p1=foo&&P1=bar 739s # URI 3: %00=foo 739s # URI 4: p1=%00 739s # URI 5: p1=foo&p1=bar 739s # URI 6: p1=foo&P1=bar 739s # URI 7: =% 739s # URI 8: = 739s # URI 9: foo 739s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 739s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 739s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 739s ok 22 /uri/iter-params/length 739s # End of iter-params tests 739s # Start of parse-params tests 739s # URI 0: p1=foo&p2=bar;p3=baz 739s # URI 1: p1=foo&p2=bar 739s # URI 2: p1=foo&&P1=bar 739s # URI 3: %00=foo 739s # URI 4: p1=%00 739s # URI 5: p1=foo&p1=bar 739s # URI 6: p1=foo&P1=bar 739s # URI 7: =% 739s # URI 8: = 739s # URI 9: foo 739s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 739s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 739s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 739s ok 23 /uri/parse-params/nul-terminated 739s # URI 0: p1=foo&p2=bar;p3=baz 739s # URI 1: p1=foo&p2=bar 739s # URI 2: p1=foo&&P1=bar 739s # URI 3: %00=foo 739s # URI 4: p1=%00 739s # URI 5: p1=foo&p1=bar 739s # URI 6: p1=foo&P1=bar 739s # URI 7: =% 739s # URI 8: = 739s # URI 9: foo 739s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 739s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 739s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 739s ok 24 /uri/parse-params/length 739s # End of parse-params tests 739s # End of uri tests 739s # Running test: glib/gvariant.test 739s TAP version 14 739s # random seed: R02S0ec0c7fba5de16d36fb58c6c1fe6ee9c 739s 1..69 739s # Start of gvariant tests 739s ok 1 /gvariant/type 739s ok 2 /gvariant/typeinfo 739s ok 3 /gvariant/string 739s ok 4 /gvariant/utf8 739s ok 5 /gvariant/utf8-new-strings 739s ok 6 /gvariant/containers 739s ok 7 /gvariant/format-strings 739s ok 8 /gvariant/invalid-varargs 739s ok 9 /gvariant/varargs 739s ok 10 /gvariant/valist 739s ok 11 /gvariant/builder-memory 740s ok 12 /gvariant/hashing 740s ok 13 /gvariant/byteswap 740s ok 14 /gvariant/parser 740s ok 15 /gvariant/parse-failures 740s ok 16 /gvariant/parse-positional 740s ok 17 /gvariant/floating 740s ok 18 /gvariant/bytestring 740s ok 19 /gvariant/lookup-value 740s ok 20 /gvariant/lookup 740s ok 21 /gvariant/compare 740s ok 22 /gvariant/equal 740s ok 23 /gvariant/fixed-array 740s ok 24 /gvariant/check-format-string 740s ok 25 /gvariant/checksum-basic 740s ok 26 /gvariant/checksum-nested 740s ok 27 /gvariant/gbytes 740s ok 28 /gvariant/print-context 740s ok 29 /gvariant/error-quark 740s ok 30 /gvariant/stack-builder-init 740s ok 31 /gvariant/stack-builder-init-static 740s ok 32 /gvariant/stack-builder-init-unset 740s ok 33 /gvariant/stack-dict-init 740s ok 34 /gvariant/unaligned-construction 740s # Start of type tests 740s # Start of string-scan tests 740s # Start of recursion tests 740s ok 35 /gvariant/type/string-scan/recursion/tuple 740s ok 36 /gvariant/type/string-scan/recursion/array 740s # End of recursion tests 740s # End of string-scan tests 740s # End of type tests 740s # Start of serialiser tests 740s ok 37 /gvariant/serialiser/maybe 741s ok 38 /gvariant/serialiser/array 741s # slow test /gvariant/serialiser/array executed in 0.77 secs 742s ok 39 /gvariant/serialiser/tuple 742s # slow test /gvariant/serialiser/tuple executed in 0.59 secs 742s ok 40 /gvariant/serialiser/variant 742s ok 41 /gvariant/serialiser/strings 742s # Executing: glib/gvariant.test 744s ok 42 /gvariant/serialiser/byteswap 744s # slow test /gvariant/serialiser/byteswap executed in 2.30 secs 744s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 744s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 744s ok 43 /gvariant/serialiser/children 744s # Start of byteswap tests 744s ok 44 /gvariant/serialiser/byteswap/zero-sized 744s # End of byteswap tests 744s # Start of fuzz tests 745s ok 45 /gvariant/serialiser/fuzz/1% 745s # slow test /gvariant/serialiser/fuzz/1% executed in 1.45 secs 747s ok 46 /gvariant/serialiser/fuzz/5% 747s # slow test /gvariant/serialiser/fuzz/5% executed in 1.16 secs 747s ok 47 /gvariant/serialiser/fuzz/9% 747s # slow test /gvariant/serialiser/fuzz/9% executed in 0.68 secs 747s ok 48 /gvariant/serialiser/fuzz/13% 747s # Executing: glib/gvariant.test 749s ok 49 /gvariant/serialiser/fuzz/17% 749s # slow test /gvariant/serialiser/fuzz/17% executed in 1.18 secs 749s # End of fuzz tests 749s # End of serialiser tests 749s # Start of utf8 tests 749s # Start of subprocess tests 749s # End of subprocess tests 749s # End of utf8 tests 749s # Start of varargs tests 749s # Start of subprocess tests 749s # End of subprocess tests 749s # End of varargs tests 749s # Start of byteswap tests 749s # /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. 749s ok 50 /gvariant/byteswap/non-normal-non-aligned 749s # End of byteswap tests 749s # Start of parser tests 749s ok 51 /gvariant/parser/integer-bounds 749s ok 52 /gvariant/parser/recursion 749s # Start of recursion tests 749s ok 53 /gvariant/parser/recursion/typedecls 749s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 749s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 749s # Text form 0: @mmmu 5 749s # Text form 1: @mmmas ['hello'] 749s # Text form 2: @mmmu just just nothing 749s # Text form 3: @mmmas just just nothing 749s # Text form 4: @mmmu just nothing 749s # Text form 5: @mmmas just nothing 749s # Text form 6: @mmmu nothing 749s # Text form 7: @mmmas nothing 749s ok 54 /gvariant/parser/recursion/maybes 749s # End of recursion tests 749s # End of parser tests 749s # Start of parse tests 749s # Start of subprocess tests 749s # End of subprocess tests 749s # End of parse tests 749s # Start of normal-checking tests 749s ok 55 /gvariant/normal-checking/tuples 749s ok 56 /gvariant/normal-checking/array-offsets 749s ok 57 /gvariant/normal-checking/array-offsets2 749s ok 58 /gvariant/normal-checking/tuple-offsets 749s ok 59 /gvariant/normal-checking/tuple-offsets2 749s ok - glib/gvariant.test 749s # Running test: glib/print.test 749s ok - glib/print.test 749s # Running test: glib/sequence.test 749s ok 60 /gvariant/normal-checking/tuple-offsets3 749s ok 61 /gvariant/normal-checking/tuple-offsets4 749s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 749s ok 62 /gvariant/normal-checking/tuple-offsets5 749s ok 63 /gvariant/normal-checking/empty-object-path 749s # Start of array-offsets tests 749s ok 64 /gvariant/normal-checking/array-offsets/overlapped 749s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 749s # End of array-offsets tests 749s # Start of tuple-offsets tests 749s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 749s # End of tuple-offsets tests 749s # End of normal-checking tests 749s # Start of recursion-limits tests 749s ok 67 /gvariant/recursion-limits/variant-in-variant 749s ok 68 /gvariant/recursion-limits/array-in-variant 749s # End of recursion-limits tests 749s # End of gvariant tests 749s # Start of gvarianttype tests 749s ok 69 /gvarianttype/hash 749s # End of gvarianttype tests 749s TAP version 14 749s # random seed: R02S08880eb31ef873c0651c96984f58ea0a 749s 1..1 749s ok 1 /print-console # SKIP Testing console output only supported on Windows 749s TAP version 14 749s # random seed: R02Sce8e488fef130d3a7242e888591d9b2d 749s 1..16 749s # Start of sequence tests 749s ok 1 /sequence/out-of-range-jump 749s ok 2 /sequence/iter-move 749s ok 3 /sequence/insert-sorted-non-pointer 749s # slow test /sequence/insert-sorted-non-pointer executed in 0.83 secs 749s ok 4 /sequence/stable-sort 749s ok 5 /sequence/is_empty 749s # Start of random tests 752s ok 6 /sequence/random/seed:825541564 752s # slow test /sequence/random/seed:825541564 executed in 2.51 secs 752s # Executing: glib/sequence.test 754s ok 7 /sequence/random/seed:801678400 754s # slow test /sequence/random/seed:801678400 executed in 1.71 secs 756s ok 8 /sequence/random/seed:1477639090 756s # slow test /sequence/random/seed:1477639090 executed in 2.22 secs 758s # Executing: glib/sequence.test 758s ok 9 /sequence/random/seed:3369132895 758s # slow test /sequence/random/seed:3369132895 executed in 1.97 secs 760s ok 10 /sequence/random/seed:1192944867 760s # slow test /sequence/random/seed:1192944867 executed in 2.33 secs 763s # Executing: glib/sequence.test 763s ok 11 /sequence/random/seed:770458294 763s # slow test /sequence/random/seed:770458294 executed in 2.68 secs 765s ok 12 /sequence/random/seed:1099575817 765s # slow test /sequence/random/seed:1099575817 executed in 1.92 secs 767s # Executing: glib/sequence.test 767s ok 13 /sequence/random/seed:590523467 767s # slow test /sequence/random/seed:590523467 executed in 2.66 secs 770s ok 14 /sequence/random/seed:3583571454 770s # slow test /sequence/random/seed:3583571454 executed in 2.68 secs 772s ok 15 /sequence/random/seed:579241222 772s # slow test /sequence/random/seed:579241222 executed in 2.14 secs 773s # Executing: glib/sequence.test 774s ok - glib/sequence.test 774s # Running test: glib/gdbus-address-get-session.test 774s ok 16 /sequence/random/seed:1897448354 774s # slow test /sequence/random/seed:1897448354 executed in 1.55 secs 774s # End of random tests 774s # End of sequence tests 774s TAP version 14 774s # random seed: R02S55975190585d5eec5ab4afb6c09f3bf9 774s 1..2 774s # Start of gdbus tests 774s ok 1 /gdbus/x11-autolaunch 774s ok 2 /gdbus/xdg-runtime 774s # End of gdbus tests 774s ok - glib/gdbus-address-get-session.test 774s # Running test: glib/flags.test 774s TAP version 14 774s # random seed: R02Sb5e213bc204f5a8ee4af0defd6200a70 774s 1..1 774s # Start of gobject tests 774s ok - glib/flags.test 774s # Start of flags tests 774s ok 1 /gobject/flags/validate 774s # End of flags tests 774s # End of gobject tests 774s TAP version 14 774s # random seed: R02Sac52cbf8892a382cb030f81da16d75c8 774s 1..90 774s # Start of pattern tests 774s # Start of compile tests 774s ok 1 /pattern/compile/0 774s ok 2 /pattern/compile/1 774s ok 3 /pattern/compile/2 774s ok 4 /pattern/compile/3 774s ok 5 /pattern/compile/4 774s ok 6 /pattern/compile/5 774s ok 7 /pattern/compile/6 774s ok 8 /pattern/compile/7 774s ok 9 /pattern/compile/8 774s ok 10 /pattern/compile/9 774s ok 11 /pattern/compile/10 774s ok 12 /pattern/compile/11 774s ok 13 /pattern/compile/12 774s ok 14 /pattern/compile/13 774s # End of compile tests 774s # Start of copy tests 774s ok 15 /pattern/copy/0 774s ok 16 /pattern/copy/1 774s ok 17 /pattern/copy/2 774s ok 18 /pattern/copy/3 774s ok 19 /pattern/copy/4 774s ok 20 /pattern/copy/5 774s ok 21 /pattern/copy/6 774s ok 22 /pattern/copy/7 774s ok 23 /pattern/copy/8 774s ok 24 /pattern/copy/9 774s ok 25 /pattern/copy/10 774s ok 26 /pattern/copy/11 774s ok 27 /pattern/copy/12 774s ok 28 /pattern/copy/13 774s # End of copy tests 774s # Start of match tests 774s # Running test: glib/pattern.test 774s ok 29 /pattern/match/0 774s ok 30 /pattern/match/1 774s ok 31 /pattern/match/2 774s ok 32 /pattern/match/3 774s ok 33 /pattern/match/4 774s ok 34 /pattern/match/5 774s ok 35 /pattern/match/6 774s ok 36 /pattern/match/7 774s ok 37 /pattern/match/8 774s ok 38 /pattern/match/9 774s ok 39 /pattern/match/10 774s ok 40 /pattern/match/11 774s ok 41 /pattern/match/12 774s ok 42 /pattern/match/13 774s ok 43 /pattern/match/14 774s ok 44 /pattern/match/15 774s ok 45 /pattern/match/16 774s ok 46 /pattern/match/17 774s ok 47 /pattern/match/18 774s ok 48 /pattern/match/19 774s ok 49 /pattern/match/20 774s ok 50 /pattern/match/21 774s ok 51 /pattern/match/22 774s ok 52 /pattern/match/23 774s ok 53 /pattern/match/24 774s ok 54 /pattern/match/25 774s ok 55 /pattern/match/26 774s ok 56 /pattern/match/27 774s ok 57 /pattern/match/28 774s ok 58 /pattern/match/29 774s ok 59 /pattern/match/30 774s ok 60 /pattern/match/31 774s ok 61 /pattern/match/32 774s ok 62 /pattern/match/33 774s ok 63 /pattern/match/34 774s ok 64 /pattern/match/35 774s ok 65 /pattern/match/36 774s ok 66 /pattern/match/37 774s ok 67 /pattern/match/38 774s ok 68 /pattern/match/39 774s ok 69 /pattern/match/40 774s ok 70 /pattern/match/41 774s ok 71 /pattern/match/42 774s ok 72 /pattern/match/43 774s ok 73 /pattern/match/44 774s ok 74 /pattern/match/45 774s ok 75 /pattern/match/46 774s ok 76 /pattern/match/47 774s ok 77 /pattern/match/48 774s ok 78 /pattern/match/49 774s ok 79 /pattern/match/50 774s # End of match tests 774s # Start of equal tests 774s ok 80 /pattern/equal/0 774s ok 81 /pattern/equal/1 774s ok 82 /pattern/equal/2 774s ok 83 /pattern/equal/3 774s ok 84 /pattern/equal/4 774s ok 85 /pattern/equal/5 774s ok 86 /pattern/equal/6 774s ok 87 /pattern/equal/7 774s ok 88 /pattern/equal/8 774s ok 89 /pattern/equal/9 774s ok 90 /pattern/equal/10 774s # End of equal tests 774s # End of pattern tests 774s TAP version 14 774s # random seed: R02Sa59418df5f88b70ce1c1fb643603c09c 774s 1..1 774s # Start of gthash tests 774s ok 1 /gthash/build-retrieve 774s # End of gthash tests 774s TAP version 14 774s # random seed: R02Sdc9af279b565b17570ac4498d268dd79 774s 1..238 774s # Start of utf8 tests 774s # Vector 0 774s # Vector 1 774s # Vector 2 774s # Vector 3 774s # Vector 4 774s # Vector 5 774s # Vector 6 774s # Vector 7 774s # Vector 8 774s # Vector 9 774s # Vector 10 774s # Vector 11 774s # Vector 12 774s # Vector 13 774s # Vector 14 774s # Vector 15 774s # Vector 16 774s # Vector 17 774s # Vector 18 774s # Vector 19 774s # Vector 20 774s # Vector 21 774s # Vector 22 774s # Vector 23 774s # Vector 24 774s # Vector 25 774s # Vector 26 774s # Vector 27 774s ok 1 /utf8/get-char-validated 774s # Start of validate tests 774s ok 2 /utf8/validate/0 774s ok 3 /utf8/validate/1 774s ok 4 /utf8/validate/2 774s ok 5 /utf8/validate/3 774s ok 6 /utf8/validate/4 774s ok 7 /utf8/validate/5 774s ok 8 /utf8/validate/6 774s ok 9 /utf8/validate/7 774s ok 10 /utf8/validate/8 774s ok 11 /utf8/validate/9 774s ok 12 /utf8/validate/10 774s ok 13 /utf8/validate/11 774s ok 14 /utf8/validate/12 774s ok 15 /utf8/validate/13 774s ok 16 /utf8/validate/14 774s ok 17 /utf8/validate/15 774s ok 18 /utf8/validate/16 774s ok 19 /utf8/validate/17 774s ok 20 /utf8/validate/18 774s ok 21 /utf8/validate/19 774s ok 22 /utf8/validate/20 774s ok 23 /utf8/validate/21 774s ok 24 /utf8/validate/22 774s ok 25 /utf8/validate/23 774s ok 26 /utf8/validate/24 774s ok 27 /utf8/validate/25 774s ok 28 /utf8/validate/26 774s ok 29 /utf8/validate/27 774s ok 30 /utf8/validate/28 774s ok 31 /utf8/validate/29 774s ok 32 /utf8/validate/30 774s ok 33 /utf8/validate/31 774s ok 34 /utf8/validate/32 774s ok 35 /utf8/validate/33 774s ok 36 /utf8/validate/34 774s ok 37 /utf8/validate/35 774s ok 38 /utf8/validate/36 774s ok 39 /utf8/validate/37 774s ok 40 /utf8/validate/38 774s ok 41 /utf8/validate/39 774s ok 42 /utf8/validate/40 774s ok 43 /utf8/validate/41 774s ok 44 /utf8/validate/42 774s ok 45 /utf8/validate/43 774s ok 46 /utf8/validate/44 774s ok 47 /utf8/validate/45 774s ok 48 /utf8/validate/46 774s ok 49 /utf8/validate/47 774s ok 50 /utf8/validate/48 774s ok 51 /utf8/validate/49 774s ok 52 /utf8/validate/50 774s ok 53 /utf8/validate/51 774s ok 54 /utf8/validate/52 774s ok 55 /utf8/validate/53 774s ok 56 /utf8/validate/54 774s ok 57 /utf8/validate/55 774s ok 58 /utf8/validate/56 774s ok 59 /utf8/validate/57 774s ok 60 /utf8/validate/58 774s ok 61 /utf8/validate/59 774s ok 62 /utf8/validate/60 774s ok 63 /utf8/validate/61 774s ok 64 /utf8/validate/62 774s ok 65 /utf8/validate/63 774s ok 66 /utf8/validate/64 774s ok 67 /utf8/validate/65 774s ok 68 /utf8/validate/66 774s ok 69 /utf8/validate/67 774s ok 70 /utf8/validate/68 774s ok 71 /utf8/validate/69 774s ok 72 /utf8/validate/70 774s ok 73 /utf8/validate/71 774s ok 74 /utf8/validate/72 774s ok 75 /utf8/validate/73 774s ok 76 /utf8/validate/74 774s ok 77 /utf8/validate/75 774s ok 78 /utf8/validate/76 774s ok 79 /utf8/validate/77 774s ok 80 /utf8/validate/78 774s ok 81 /utf8/validate/79 774s ok 82 /utf8/validate/80 774s ok 83 /utf8/validate/81 774s ok 84 /utf8/validate/82 774s ok 85 /utf8/validate/83 774s ok 86 /utf8/validate/84 774s ok 87 /utf8/validate/85 774s ok 88 /utf8/validate/86 774s ok 89 /utf8/validate/87 774s ok 90 /utf8/validate/88 774s ok 91 /utf8/validate/89 774s ok 92 /utf8/validate/90 774s ok 93 /utf8/validate/91 774s ok 94 /utf8/validate/92 774s ok 95 /utf8/validate/93 774s ok 96 /utf8/validate/94 774s ok 97 /utf8/validate/95 774s ok 98 /utf8/validate/96 774s ok 99 /utf8/validate/97 774s ok 100 /utf8/validate/98 774s ok 101 /utf8/validate/99 774s ok 102 /utf8/validate/100 774s ok 103 /utf8/validate/101 774s ok 104 /utf8/validate/102 774s ok 105 /utf8/validate/103 774s ok 106 /utf8/validate/104 774s ok - glib/pattern.test 774s # Running test: glib/gthash.test 774s ok - glib/gthash.test 774s # Running test: glib/utf8-validate.test 774s ok 107 /utf8/validate/105 774s ok 108 /utf8/validate/106 774s ok 109 /utf8/validate/107 774s ok 110 /utf8/validate/108 774s ok 111 /utf8/validate/109 774s ok 112 /utf8/validate/110 774s ok 113 /utf8/validate/111 774s ok 114 /utf8/validate/112 774s ok 115 /utf8/validate/113 774s ok 116 /utf8/validate/114 774s ok 117 /utf8/validate/115 774s ok 118 /utf8/validate/116 774s ok 119 /utf8/validate/117 774s ok 120 /utf8/validate/118 774s ok 121 /utf8/validate/119 774s ok 122 /utf8/validate/120 774s ok 123 /utf8/validate/121 774s ok 124 /utf8/validate/122 774s ok 125 /utf8/validate/123 774s ok 126 /utf8/validate/124 774s ok 127 /utf8/validate/125 774s ok 128 /utf8/validate/126 774s ok 129 /utf8/validate/127 774s ok 130 /utf8/validate/128 774s ok 131 /utf8/validate/129 774s ok 132 /utf8/validate/130 774s ok 133 /utf8/validate/131 774s ok 134 /utf8/validate/132 774s ok 135 /utf8/validate/133 774s ok 136 /utf8/validate/134 774s ok 137 /utf8/validate/135 774s ok 138 /utf8/validate/136 774s ok 139 /utf8/validate/137 774s ok 140 /utf8/validate/138 774s ok 141 /utf8/validate/139 774s ok 142 /utf8/validate/140 774s ok 143 /utf8/validate/141 774s ok 144 /utf8/validate/142 774s ok 145 /utf8/validate/143 774s ok 146 /utf8/validate/144 774s ok 147 /utf8/validate/145 774s ok 148 /utf8/validate/146 774s ok 149 /utf8/validate/147 774s ok 150 /utf8/validate/148 774s ok 151 /utf8/validate/149 774s ok 152 /utf8/validate/150 774s ok 153 /utf8/validate/151 774s ok 154 /utf8/validate/152 774s ok 155 /utf8/validate/153 774s ok 156 /utf8/validate/154 774s ok 157 /utf8/validate/155 774s ok 158 /utf8/validate/156 774s ok 159 /utf8/validate/157 774s ok 160 /utf8/validate/158 774s ok 161 /utf8/validate/159 774s ok 162 /utf8/validate/160 774s ok 163 /utf8/validate/161 774s ok 164 /utf8/validate/162 774s ok 165 /utf8/validate/163 774s ok 166 /utf8/validate/164 774s ok 167 /utf8/validate/165 774s ok 168 /utf8/validate/166 774s ok 169 /utf8/validate/167 774s ok 170 /utf8/validate/168 774s ok 171 /utf8/validate/169 774s ok 172 /utf8/validate/170 774s ok 173 /utf8/validate/171 774s ok 174 /utf8/validate/172 774s ok 175 /utf8/validate/173 774s ok 176 /utf8/validate/174 774s ok 177 /utf8/validate/175 774s ok 178 /utf8/validate/176 774s ok 179 /utf8/validate/177 774s ok 180 /utf8/validate/178 774s ok 181 /utf8/validate/179 774s ok 182 /utf8/validate/180 774s ok 183 /utf8/validate/181 774s ok 184 /utf8/validate/182 774s ok 185 /utf8/validate/183 774s ok 186 /utf8/validate/184 774s ok 187 /utf8/validate/185 774s ok 188 /utf8/validate/186 774s ok 189 /utf8/validate/187 774s ok 190 /utf8/validate/188 774s ok 191 /utf8/validate/189 774s ok 192 /utf8/validate/190 774s ok 193 /utf8/validate/191 774s ok 194 /utf8/validate/192 774s ok 195 /utf8/validate/193 774s ok 196 /utf8/validate/194 774s ok 197 /utf8/validate/195 774s ok 198 /utf8/validate/196 774s ok 199 /utf8/validate/197 774s ok 200 /utf8/validate/198 774s ok 201 /utf8/validate/199 774s ok 202 /utf8/validate/200 774s ok 203 /utf8/validate/201 774s ok 204 /utf8/validate/202 774s ok 205 /utf8/validate/203 774s ok 206 /utf8/validate/204 774s ok 207 /utf8/validate/205 774s ok 208 /utf8/validate/206 774s ok 209 /utf8/validate/207 774s ok 210 /utf8/validate/208 774s ok 211 /utf8/validate/209 774s ok 212 /utf8/validate/210 774s ok 213 /utf8/validate/211 774s ok 214 /utf8/validate/212 774s ok 215 /utf8/validate/213 774s ok 216 /utf8/validate/214 774s ok 217 /utf8/validate/215 774s ok - glib/utf8-validate.test 774s # Running test: glib/spawn-test.test 774s ok 218 /utf8/validate/216 774s ok 219 /utf8/validate/217 774s ok 220 /utf8/validate/218 774s ok 221 /utf8/validate/219 774s ok 222 /utf8/validate/220 774s ok 223 /utf8/validate/221 774s ok 224 /utf8/validate/222 774s ok 225 /utf8/validate/223 774s ok 226 /utf8/validate/224 774s ok 227 /utf8/validate/225 774s ok 228 /utf8/validate/226 774s ok 229 /utf8/validate/227 774s ok 230 /utf8/validate/228 774s ok 231 /utf8/validate/229 774s ok 232 /utf8/validate/230 774s ok 233 /utf8/validate/231 774s ok 234 /utf8/validate/232 774s ok 235 /utf8/validate/233 774s ok 236 /utf8/validate/234 774s ok 237 /utf8/validate/235 774s ok 238 /utf8/validate/236 774s # End of validate tests 774s # End of utf8 tests 774s TAP version 14 774s # random seed: R02Sd95d7b4cd3b329b6fad4784e677307ff 774s 1..2 774s # Start of spawn tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_GS9QJ3/spawn/basics/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_GS9QJ3/spawn/basics/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_GS9QJ3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_GS9QJ3/spawn/basics/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_GS9QJ3/spawn/basics/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_GS9QJ3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_GS9QJ3/spawn/basics/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_GS9QJ3/spawn/basics/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_GS9QJ3/spawn/basics/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_GS9QJ3/spawn/basics/.dirs/runtime 774s ok 1 /spawn/basics 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_GS9QJ3/spawn/stdio-overwrite/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_GS9QJ3/spawn/stdio-overwrite/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_GS9QJ3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_GS9QJ3/spawn/stdio-overwrite/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_GS9QJ3/spawn/stdio-overwrite/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_GS9QJ3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_GS9QJ3/spawn/stdio-overwrite/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_GS9QJ3/spawn/stdio-overwrite/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_GS9QJ3/spawn/stdio-overwrite/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_GS9QJ3/spawn/stdio-overwrite/.dirs/runtime 774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 774s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 774s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 774s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 774s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 774s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 774s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 774s ok - glib/spawn-test.test 774s # Running test: glib/throws.test 774s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 774s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 774s # Fetching GSpawn result output with stdin open, stdout open, stderr open 774s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 774s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 774s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 774s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 774s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 774s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 774s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 774s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 774s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 774s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 774s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 774s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 774s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 774s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 774s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 774s # Fetching GSpawn result with stdin open, stdout open, stderr open 774s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 774s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 774s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 774s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 774s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 774s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 774s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 774s ok 2 /spawn/stdio-overwrite 774s # End of spawn tests 774s ok - glib/throws.test 774s # Running test: glib/atomic-c-99.test 774s TAP version 14 774s # random seed: R02S1a1edcb2ed2a28d0b9485f72b6ae0167 774s 1..3 774s # Start of throws tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_YFWRJ3/throws/invoke-gerror/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_YFWRJ3/throws/invoke-gerror/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_YFWRJ3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_YFWRJ3/throws/invoke-gerror/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_YFWRJ3/throws/invoke-gerror/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_YFWRJ3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_YFWRJ3/throws/invoke-gerror/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_YFWRJ3/throws/invoke-gerror/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_YFWRJ3/throws/invoke-gerror/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_YFWRJ3/throws/invoke-gerror/.dirs/runtime 774s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 774s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 774s ok 1 /throws/invoke-gerror 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_YFWRJ3/throws/vfunc-can-throw-gerror/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_YFWRJ3/throws/vfunc-can-throw-gerror/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_YFWRJ3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_YFWRJ3/throws/vfunc-can-throw-gerror/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_YFWRJ3/throws/vfunc-can-throw-gerror/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_YFWRJ3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_YFWRJ3/throws/vfunc-can-throw-gerror/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_YFWRJ3/throws/vfunc-can-throw-gerror/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_YFWRJ3/throws/vfunc-can-throw-gerror/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_YFWRJ3/throws/vfunc-can-throw-gerror/.dirs/runtime 774s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 774s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 774s ok 2 /throws/vfunc-can-throw-gerror 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_YFWRJ3/throws/callback-can-throw-gerror/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_YFWRJ3/throws/callback-can-throw-gerror/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_YFWRJ3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_YFWRJ3/throws/callback-can-throw-gerror/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_YFWRJ3/throws/callback-can-throw-gerror/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_YFWRJ3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_YFWRJ3/throws/callback-can-throw-gerror/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_YFWRJ3/throws/callback-can-throw-gerror/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_YFWRJ3/throws/callback-can-throw-gerror/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_YFWRJ3/throws/callback-can-throw-gerror/.dirs/runtime 774s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 774s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 774s ok 3 /throws/callback-can-throw-gerror 774s # End of throws tests 774s TAP version 14 774s # random seed: R02S4433a325d769af62622e4f4c3335bef7 774s 1..2 774s # Start of atomic tests 774s ok 1 /atomic/types 774s ok 2 /atomic/threaded 774s # End of atomic tests 774s ok - glib/atomic-c-99.test 774s # Running test: glib/gdbus-proxy-well-known-name.test 774s TAP version 14 774s # random seed: R02Sd37d37d68fb6d8d518be48f649929bdc 774s 1..1 774s # Start of gdbus tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_KIGQJ3/gdbus/proxy-well-known-name/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_KIGQJ3/gdbus/proxy-well-known-name/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_KIGQJ3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_KIGQJ3/gdbus/proxy-well-known-name/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_KIGQJ3/gdbus/proxy-well-known-name/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_KIGQJ3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_KIGQJ3/gdbus/proxy-well-known-name/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_KIGQJ3/gdbus/proxy-well-known-name/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_KIGQJ3/gdbus/proxy-well-known-name/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_KIGQJ3/gdbus/proxy-well-known-name/.dirs/runtime 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s ok 1 /gdbus/proxy-well-known-name 774s # End of gdbus tests 774s ok - glib/gdbus-proxy-well-known-name.test 774s # Running test: glib/completion.test 774s ok - glib/completion.test 774s # Running test: glib/signals-refcount4.test 774s TAP version 14 774s # random seed: R02S93414466f3805d3742f6c71a22150282 774s 1..1 774s # Start of completion tests 774s ok 1 /completion/test-completion 774s # End of completion tests 774s TAP version 14 774s # random seed: R02S5af9f563ddaee49046e3f6bfd381ea59 774s 1..1 774s # Start of gobject tests 774s # Start of refcount tests 774s # init 0x2aa2c65e4a0 774s # 774s # init 0x2aa2c656580 774s # 777s # Executing: glib/signals-refcount4.test 779s # dispose 0x2aa2c65e4a0! 779s # 779s # dispose 0x2aa2c656580! 779s # 779s ok 1 /gobject/refcount/signals 779s # slow test /gobject/refcount/signals executed in 5.05 secs 779s # End of refcount tests 779s # End of gobject tests 779s ok - glib/signals-refcount4.test 779s # Running test: glib/basics-gobject.test 779s TAP version 14 779s # random seed: R02S3b4951f33e4273f4dd3ce5db8f39497a 779s 1..1 779s # Start of gobject tests 779s ok - glib/basics-gobject.test 779s # Running test: glib/642026-ec.test 779s # private data during initialization: 54321 == 54321 779s # MAIN: emit test-signal: 779s # ::test_signal default_handler called 779s # ::test_signal default_handler called 779s # ::test_signal default_handler called 779s # signal return: "" 779s # MAIN: call iface print-string on test and derived object: 779s # Iface-FOO: "iface-string-from-test-type" from 0x2aa0cce7870 779s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa0cce7720 779s # chaining: 779s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa0cce7720 779s # private data after initialization: 54321 == 54321 779s ok 1 /gobject/basics 779s # End of gobject tests 779s TAP version 14 779s # random seed: R02Se6b41b64c69ac25ff55132226753b142 779s 1..1 779s # Start of glib tests 779s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 779s ok 1 /glib/642026 779s # End of glib tests 779s ok - glib/642026-ec.test 779s # Running test: glib/atomic-c-17.test 779s TAP version 14 779s # random seed: R02S3440fba66061d10606f5c043734220fd 779s 1..2 779s # Start of atomic tests 779s ok 1 /atomic/types 780s ok 2 /atomic/threaded 780s # End of atomic tests 780s ok - glib/atomic-c-17.test 780s # Running test: glib/inet-address.test 780s TAP version 14 780s # random seed: R02S324748de8d46250ab50bff99dc62fe54 780s ok - glib/inet-address.test 780s 1..11 780s # Start of inet-address tests 780s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 780s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 780s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 780s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 780s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 780s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 780s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 780s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 780s ok 1 /inet-address/parse 780s ok 2 /inet-address/any 780s ok 3 /inet-address/loopback 780s ok 4 /inet-address/bytes 780s ok 5 /inet-address/property 780s # End of inet-address tests 780s # Start of socket-address tests 780s ok 6 /socket-address/basic 780s ok 7 /socket-address/to-string 780s # End of socket-address tests 780s # Start of address-mask tests 780s ok 8 /address-mask/parse 780s ok 9 /address-mask/property 780s ok 10 /address-mask/equal 780s ok 11 /address-mask/match 780s # End of address-mask tests 780s # Running test: glib/socket-listener.test 780s TAP version 14 780s # random seed: R02S9154bfff2cd2d3e3f1326e542cd20b5e 780s 1..4 780s # Start of socket-listener tests 780s ok 1 /socket-listener/event-signal 780s # Start of accept tests 780s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 780s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 780s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 780s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d07f4d0 and GSocketClientAsyncConnectData 0x2aa2d07a970 780s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 780s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d081b60 and GSocketClientAsyncConnectData 0x2aa2d0819b0 780s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 780s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d082380 and GSocketClientAsyncConnectData 0x2aa2d082100 780s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 780s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d082c00 and GSocketClientAsyncConnectData 0x2aa2d082980 780s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 780s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d083420 and GSocketClientAsyncConnectData 0x2aa2d0831a0 780s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 780s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 780s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d085960 for GSocketClientAsyncConnectData 0x2aa2d07a970 780s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 780s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 780s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d087ad0 for GSocketClientAsyncConnectData 0x2aa2d0819b0 780s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 780s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 780s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d088280 for GSocketClientAsyncConnectData 0x2aa2d082100 780s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 780s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 780s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d088920 for GSocketClientAsyncConnectData 0x2aa2d082980 780s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 780s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 780s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d085000 for GSocketClientAsyncConnectData 0x2aa2d0831a0 780s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 780s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 780s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 780s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 780s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 780s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 780s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 780s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 780s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 780s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 780s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 780s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 780s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 780s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 780s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 780s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 780s ok 2 /socket-listener/accept/multi-simultaneously 780s # End of accept tests 780s # Start of add-any-inet-port tests 780s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 780s # Test 0 780s # Test 1 780s # Test 2 780s # Test 3 780s # Test 4 780s # Test 5 780s # Test 6 780s # Test 7 780s # Test 8 780s # Test 9 780s # Test 10 780s ok 3 /socket-listener/add-any-inet-port/listen-failures 780s # End of add-any-inet-port tests 780s # Start of add-inet-port tests 780s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 780s # Test 0 780s # Test 1 780s # Test 2 780s # Test 3 780s # Test 4 780s # Test 5 780s # Test 6 780s # Test 7 780s # Test 8 780s # Test 9 780s # Test 10 780s ok 4 /socket-listener/add-inet-port/listen-failures 780s # End of add-inet-port tests 780s # End of socket-listener tests 780s ok - glib/socket-listener.test 780s # Running test: glib/properties-refcount2.test 780s TAP version 14 780s # random seed: R02Saffd7866ea0b53e5832b31defce9c876 780s 1..1 780s # Start of gobject tests 780s # Start of refcount tests 780s # init 0x2aa3e061eb0 780s # 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # dispose 0x2aa3e061eb0! 782s # 782s ok 1 /gobject/refcount/properties-2 782s # slow test /gobject/refcount/properties-2 executed in 2.12 secs 782s # End of refcount tests 782s # End of gobject tests 782s ok - glib/properties-refcount2.test 782s # Running test: glib/gdbus-names.test 782s TAP version 14 782s # random seed: R02S596fc5cc9fd94753110e7bcd881795e0 782s 1..10 782s # Start of gdbus tests 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/validate-names/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/validate-names/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_S9GKJ3/gdbus/validate-names/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/validate-names/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_S9GKJ3/gdbus/validate-names/.dirs/system-data2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/validate-names/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/validate-names/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S9GKJ3/gdbus/validate-names/.dirs/runtime 782s ok 1 /gdbus/validate-names 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-own-name/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-own-name/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-own-name/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-own-name/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-own-name/.dirs/system-data2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-own-name/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-own-name/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-own-name/.dirs/runtime 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok 2 /gdbus/bus-own-name 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name/.dirs/system-data2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name/.dirs/runtime 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok 3 /gdbus/bus-watch-name 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start/.dirs/runtime 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok 4 /gdbus/bus-watch-name-auto-start 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 782s dbus-daemon[3880]: [session uid=1000 pid=3880 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=3871 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 782s # Acquired a message bus connection 782s dbus-daemon[3880]: [session uid=1000 pid=3880 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 782s # Acquired the name org.gtk.GDBus.FakeService 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures/.dirs/system-data2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures/.dirs/runtime 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok 6 /gdbus/bus-watch-name-closures 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok 7 /gdbus/bus-watch-name-closures-auto-start 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-different-context/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-different-context/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-different-context/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-different-context/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-different-context/.dirs/system-data2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-different-context/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-different-context/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-watch-different-context/.dirs/runtime 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok 8 /gdbus/bus-watch-different-context 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-unwatch-early/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-unwatch-early/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-unwatch-early/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-unwatch-early/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_S9GKJ3/gdbus/bus-unwatch-early/.dirs/system-data2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-unwatch-early/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-unwatch-early/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S9GKJ3/gdbus/bus-unwatch-early/.dirs/runtime 782s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok 9 /gdbus/bus-unwatch-early 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/escape-object-path/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/escape-object-path/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_S9GKJ3/gdbus/escape-object-path/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/escape-object-path/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S9GKJ3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_S9GKJ3/gdbus/escape-object-path/.dirs/system-data2 782s ok - glib/gdbus-names.test 782s # Running test: glib/properties-refcount1.test 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/escape-object-path/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S9GKJ3/gdbus/escape-object-path/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S9GKJ3/gdbus/escape-object-path/.dirs/runtime 782s ok 10 /gdbus/escape-object-path 782s # End of gdbus tests 782s TAP version 14 782s # random seed: R02Sc1117bdd7b4dc1e7151b4a956116fb9a 782s 1..1 782s # Start of gobject tests 782s # Start of refcount tests 782s # .c 782s # .b 782s # .b 782s # .c 782s # .b 782s # .c 782s # .c 782s # .b 782s # .c 782s # .b 782s # .e 782s # .b 782s # .e 782s # .c 782s # .b 782s # .b 782s # .e 782s # .f 782s # .e 782s # .b 782s # .e 782s # .b 782s # .b 782s # .e 782s # .b 782s # .d 782s # .e 782s # .b 782s # .c 782s # .e 782s # .d 782s # .f 782s # .b 782s # .e 782s # .c 782s # .b 782s # .e 782s # .d 782s # .e 782s # .c 782s # .f 782s # .b 782s # .f 782s # .c 782s # .e 782s # .d 782s # .f 782s # .c 782s # .f 782s # .b 782s # .d 782s # .b 782s # .d 782s # .c 782s # .e 782s # .b 782s # .e 782s # .d 782s # Executing: glib/properties-refcount1.test 782s # .f 782s # .b 782s # .e 782s # .d 783s # .e 783s # .d 783s # .b 783s # .c 783s # .b 783s # .d 783s # .e 783s # .f 783s # .c 783s # .b 783s # .e 783s # .c 783s # .d 783s # .f 783s # .e 783s # .b 783s # .c 783s # .d 783s # .b 783s # .f 783s # .c 783s # .f 783s # .e 783s # .f 783s # .c 783s # .e 783s # .d 783s # .c 783s # .f 783s # .b 783s # .c 783s # .e 783s # .b 783s # .d 783s # .b 784s # .c 784s # .e 784s # .f 784s # .b 784s # .d 784s # .b 784s # .f 784s # .c 784s # .e 784s # .b 784s # .e 784s # .f 784s # .c 784s # .d 784s # .f 784s # .b 784s # .e 784s # .d 784s # .c 784s # .f 784s # .e 784s # .e 784s # .f 784s # .b 784s # .d 784s # .c 784s # .f 784s # .d 784s # .f 784s # .b 784s # .e 784s # .d 784s # .c 785s # .f 785s # .d 785s # .e 785s # .b 785s # .f 785s # .d 785s # .e 785s # .f 785s # .b 785s # .d 785s # .e 785s # .f 785s # .c 785s # .b 785s # .e 785s # .d 785s # .f 785s # .c 785s ok 1 /gobject/refcount/properties-1 785s # slow test /gobject/refcount/properties-1 executed in 3.03 secs 785s # End of refcount tests 785s # End of gobject tests 785s ok - glib/properties-refcount1.test 785s # Running test: glib/thread-pool-slow.test 785s TAP version 14 785s # random seed: R02Sf27245d875cca334e04fedc4f6019042 785s 1..7 785s # Start of threadpool tests 785s ok 1 /threadpool/functions 785s ok 2 /threadpool/stop-unused 785s # slow test /threadpool/stop-unused executed in 0.53 secs 786s ok 3 /threadpool/pools 786s # [unsorted] ===> pushed new thread with id:66, number of threads:1, unprocessed:1 786s # [unsorted] ===> pushed new thread with id:52, number of threads:2, unprocessed:1 786s # [unsorted] ===> pushed new thread with id:28, number of threads:3, unprocessed:1 786s # [unsorted] ===> pushed new thread with id:33, number of threads:4, unprocessed:1 786s # [unsorted] ===> pushed new thread with id:93, number of threads:5, unprocessed:2 786s # [unsorted] ===> pushed new thread with id:10, number of threads:6, unprocessed:1 786s # [unsorted] ===> pushed new thread with id:80, number of threads:7, unprocessed:1 786s # [unsorted] ===> pushed new thread with id:21, number of threads:8, unprocessed:1 786s # [unsorted] ===> pushed new thread with id:67, number of threads:9, unprocessed:2 786s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:2 786s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:1 786s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:2 786s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:3 786s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:4 786s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:5 786s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:6 786s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:7 786s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:8 786s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:9 786s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:10 786s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:11 786s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:12 786s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:13 786s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:14 786s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:15 786s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:16 786s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:17 786s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:18 786s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:19 786s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:20 786s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:21 786s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:22 786s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:23 786s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:24 786s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:25 786s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:26 786s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:27 786s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:28 786s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:29 786s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:30 786s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:31 786s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:32 786s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:33 786s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:34 786s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:35 786s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:36 786s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:37 786s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:38 786s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:39 786s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:40 786s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:41 786s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:42 786s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:43 786s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:44 786s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:45 786s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:46 786s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:47 786s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:48 786s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:49 786s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:50 786s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:51 786s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:52 786s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:53 786s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:54 786s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:55 786s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:56 786s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:57 786s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:58 786s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:59 786s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:60 786s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:61 786s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:62 786s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:63 786s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:64 786s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:65 786s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:66 786s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:67 786s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:68 786s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:69 786s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:70 786s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:71 786s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:72 786s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:73 786s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:74 786s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:75 786s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:76 786s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:77 786s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:78 786s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:79 786s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:80 786s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:81 786s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:82 786s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:83 786s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:84 786s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:85 786s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:86 786s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:87 786s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:88 786s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:89 786s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:90 786s ok 4 /threadpool/no-sort 786s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:1 786s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:2 786s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:3 786s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:4 786s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:5 786s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:6 786s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:7 786s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:8 786s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:9 786s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:10 786s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:11 786s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:12 786s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:13 786s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:14 786s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:15 786s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:16 786s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:17 786s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:18 786s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:19 786s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:20 786s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:21 786s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:22 786s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:23 786s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:24 786s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:25 786s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:26 786s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:27 786s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:28 786s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:29 786s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:30 786s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:31 786s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:32 786s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:33 786s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:34 786s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:35 786s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:36 786s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:37 786s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:38 786s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:39 786s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:40 786s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:41 786s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:42 786s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:43 786s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:44 786s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:45 786s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:46 786s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:47 786s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:48 786s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:49 786s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:50 786s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:51 786s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:52 786s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:53 786s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:54 786s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:55 786s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:56 786s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:57 786s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:58 786s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:59 786s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:60 786s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:61 786s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:62 786s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:63 786s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:64 786s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:65 786s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:66 786s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:67 786s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:68 786s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:69 786s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:70 786s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:71 786s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:72 786s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:73 786s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:74 786s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:75 786s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:76 786s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:77 786s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:78 786s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:79 786s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:80 786s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:81 786s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:82 786s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:83 786s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:84 786s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:85 786s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:86 786s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:87 786s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:88 786s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:89 786s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:90 786s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:91 786s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:92 786s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:93 786s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:94 786s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:95 786s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:96 786s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:97 786s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:98 786s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:99 786s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:100 786s # Starting thread pool processing 786s ok 5 /threadpool/sort 787s ok 6 /threadpool/stop-unused-multiple 787s # slow test /threadpool/stop-unused-multiple executed in 1.26 secs 787s # Pool idle thread count: 0, unprocessed jobs: 49 787s # Executing: glib/thread-pool-slow.test 788s # Pool idle thread count: 0, unprocessed jobs: 0 788s # Pool idle thread count: 0, unprocessed jobs: 0 788s # Pool idle thread count: 10, unprocessed jobs: 0 788s # Pool idle thread count: 10, unprocessed jobs: 0 789s # Pool idle thread count: 10, unprocessed jobs: 0 789s # Pool idle thread count: 10, unprocessed jobs: 0 789s # Pool idle thread count: 10, unprocessed jobs: 0 789s # Pool idle thread count: 10, unprocessed jobs: 0 790s # Pool idle thread count: 10, unprocessed jobs: 0 790s # Pool idle thread count: 10, unprocessed jobs: 0 790s # Pool idle thread count: 10, unprocessed jobs: 0 790s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Executing: glib/thread-pool-slow.test 793s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Pool idle thread count: 10, unprocessed jobs: 2 796s # Pool idle thread count: 9, unprocessed jobs: 1 796s # Pool idle thread count: 8, unprocessed jobs: 0 796s # Pool idle thread count: 8, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Executing: glib/thread-pool-slow.test 798s # Pool idle thread count: 2, unprocessed jobs: 0 798s # Pool idle thread count: 2, unprocessed jobs: 0 798s # Pool idle thread count: 2, unprocessed jobs: 0 798s # Pool idle thread count: 2, unprocessed jobs: 0 799s # Pool idle thread count: 2, unprocessed jobs: 0 799s # Pool idle thread count: 2, unprocessed jobs: 0 799s # Pool idle thread count: 2, unprocessed jobs: 0 799s # Pool idle thread count: 2, unprocessed jobs: 0 800s # Pool idle thread count: 2, unprocessed jobs: 0 800s # Pool idle thread count: 2, unprocessed jobs: 0 800s # Pool idle thread count: 2, unprocessed jobs: 0 800s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Executing: glib/thread-pool-slow.test 803s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 807s ok 7 /threadpool/idle-time 807s # slow test /threadpool/idle-time executed in 19.77 secs 807s # End of threadpool tests 807s ok - glib/thread-pool-slow.test 807s # Running test: glib/cmph-bdz.test 807s ok - glib/cmph-bdz.test 807s TAP version 14 807s # random seed: R02Se277d5ee7cd308788465c57c1bd18f61 807s 1..2 807s # Start of cmph-bdz tests 807s ok 1 /cmph-bdz/search 807s ok 2 /cmph-bdz/search-packed 807s # End of cmph-bdz tests 807s # Running test: glib/utils-isolated.test 807s TAP version 14 807s ok - glib/utils-isolated.test 807s # Running test: glib/file.test 807s # random seed: R02S7b74a2420e927f9367a8bd0338220da2 807s 1..11 807s # Start of utils-isolated tests 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/tmp-dir/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/tmp-dir/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/tmp-dir/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/tmp-dir/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/tmp-dir/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/tmp-dir/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/tmp-dir/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/tmp-dir/.dirs/runtime 807s ok 1 /utils-isolated/tmp-dir 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/home-dir/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/home-dir/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/home-dir/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/home-dir/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/home-dir/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/home-dir/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/home-dir/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/home-dir/.dirs/runtime 807s ok 2 /utils-isolated/home-dir 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-cache-dir/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-cache-dir/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-cache-dir/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-cache-dir/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-cache-dir/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-cache-dir/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-cache-dir/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-cache-dir/.dirs/runtime 807s ok 3 /utils-isolated/user-cache-dir 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-config-dirs/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-config-dirs/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-config-dirs/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-config-dirs/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-config-dirs/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-config-dirs/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-config-dirs/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-config-dirs/.dirs/runtime 807s ok 4 /utils-isolated/system-config-dirs 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-config-dir/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-config-dir/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-config-dir/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-config-dir/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-config-dir/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-config-dir/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-config-dir/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-config-dir/.dirs/runtime 807s ok 5 /utils-isolated/user-config-dir 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-data-dirs/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-data-dirs/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-data-dirs/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-data-dirs/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-data-dirs/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-data-dirs/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-data-dirs/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/system-data-dirs/.dirs/runtime 807s ok 6 /utils-isolated/system-data-dirs 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-data-dir/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-data-dir/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-data-dir/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-data-dir/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-data-dir/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-data-dir/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-data-dir/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-data-dir/.dirs/runtime 807s ok 7 /utils-isolated/user-data-dir 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-state-dir/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-state-dir/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-state-dir/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-state-dir/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-state-dir/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-state-dir/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-state-dir/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-state-dir/.dirs/runtime 807s ok 8 /utils-isolated/user-state-dir 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-runtime-dir/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-runtime-dir/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-runtime-dir/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-runtime-dir/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-runtime-dir/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-runtime-dir/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-runtime-dir/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/user-runtime-dir/.dirs/runtime 807s ok 9 /utils-isolated/user-runtime-dir 807s # Start of cleanup tests 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/runtime 807s Unable to clean up temporary directory /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 807s Unable to clean up temporary directory /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 807s Unable to clean up temporary directory /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/handles-errors: Directory not empty 807s ok 10 /utils-isolated/cleanup/handles-errors 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 807s Unable to clean up temporary directory /tmp/test_utils-isolated_5W5GJ3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 807s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 807s # End of cleanup tests 807s # End of utils-isolated tests 807s TAP version 14 807s # random seed: R02Sc383820cbd939b4617fe0c0e8c67ff2f 807s 1..55 807s # Start of file tests 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/basic/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/basic/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/basic/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/basic/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/basic/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/basic/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/basic/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/basic/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/basic/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/basic/.dirs/runtime 807s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 807s ok 1 /file/basic 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/build-filename/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/build-filename/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/build-filename/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/build-filename/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/build-filename/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/build-filename/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/build-filename/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/build-filename/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/build-filename/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/build-filename/.dirs/runtime 807s ok 2 /file/build-filename 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/build-filenamev/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/build-filenamev/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/build-filenamev/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/build-filenamev/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/build-filenamev/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/build-filenamev/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/build-filenamev/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/build-filenamev/.dirs/runtime 807s ok 3 /file/build-filenamev 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/parent/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/parent/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/parent/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/parent/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/parent/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/parent/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/parent/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/parent/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/parent/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/parent/.dirs/runtime 807s ok 4 /file/parent 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/child/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/child/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/child/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/child/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/child/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/child/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/child/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/child/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/child/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/child/.dirs/runtime 807s ok 5 /file/child 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/empty-path/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/empty-path/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/empty-path/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/empty-path/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/empty-path/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/empty-path/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/empty-path/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/empty-path/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/empty-path/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/empty-path/.dirs/runtime 807s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 807s # /file/empty-path summary: Check that creating a file with an empty path results in errors 807s ok 6 /file/empty-path 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/type/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/type/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/type/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/type/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/type/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/type/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/type/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/type/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/type/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/type/.dirs/runtime 807s ok 7 /file/type 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/parse-name/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/parse-name/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/parse-name/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/parse-name/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/parse-name/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/parse-name/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/parse-name/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/parse-name/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/parse-name/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/parse-name/.dirs/runtime 807s ok 8 /file/parse-name 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/replace-load/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/replace-load/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/replace-load/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/replace-load/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/replace-load/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/replace-load/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/replace-load/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/replace-load/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/replace-load/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/replace-load/.dirs/runtime 807s ok 9 /file/replace-load 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/replace-cancel/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/replace-cancel/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/replace-cancel/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/replace-cancel/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/replace-cancel/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/replace-cancel/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/replace-cancel/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/replace-cancel/.dirs/runtime 807s # Bug Reference: https://bugzilla.gnome.org/629301 807s ok 10 /file/replace-cancel 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/replace-symlink/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/replace-symlink/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/replace-symlink/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/replace-symlink/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/replace-symlink/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/replace-symlink/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/replace-symlink/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/replace-symlink/.dirs/runtime 807s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 807s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 807s # Using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_symlink_7EZHJ3 807s ok 11 /file/replace-symlink 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/async-new-tmp/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/async-new-tmp/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/async-new-tmp/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/async-new-tmp/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/async-new-tmp/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/async-new-tmp/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/async-new-tmp/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/async-new-tmp/.dirs/runtime 807s ok 12 /file/async-new-tmp 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/async-new-tmp-dir/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/async-new-tmp-dir/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/async-new-tmp-dir/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/async-new-tmp-dir/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/async-new-tmp-dir/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/async-new-tmp-dir/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/async-new-tmp-dir/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/async-new-tmp-dir/.dirs/runtime 807s ok 13 /file/async-new-tmp-dir 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/async-delete/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/async-delete/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/async-delete/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/async-delete/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/async-delete/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/async-delete/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/async-delete/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/async-delete/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/async-delete/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/async-delete/.dirs/runtime 807s ok 14 /file/async-delete 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/async-make-symlink/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/async-make-symlink/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/async-make-symlink/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/async-make-symlink/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/async-make-symlink/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/async-make-symlink/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/async-make-symlink/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/async-make-symlink/.dirs/runtime 807s ok 15 /file/async-make-symlink 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/copy-preserve-mode/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/copy-preserve-mode/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/copy-preserve-mode/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/copy-preserve-mode/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/copy-preserve-mode/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/copy-preserve-mode/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/copy-preserve-mode/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/copy-preserve-mode/.dirs/runtime 807s # Current umask: 2 807s # Vector 0 807s # Vector 1 807s # Vector 2 807s # Vector 3 807s # Vector 4 807s # Vector 5 807s # Vector 6 807s # Vector 7 807s # Vector 8 807s # Vector 9 807s # Vector 10 807s ok 16 /file/copy-preserve-mode 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/copy-async-with-closures/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/copy-async-with-closures/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/copy-async-with-closures/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/copy-async-with-closures/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/copy-async-with-closures/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/copy-async-with-closures/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/copy-async-with-closures/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/copy-async-with-closures/.dirs/runtime 807s ok 17 /file/copy-async-with-closures 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/measure/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/measure/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/measure/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/measure/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/measure/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/measure/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/measure/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/measure/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/measure/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/measure/.dirs/runtime 807s ok 18 /file/measure 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/measure-async/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/measure-async/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/measure-async/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/measure-async/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/measure-async/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/measure-async/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/measure-async/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/measure-async/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/measure-async/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/measure-async/.dirs/runtime 807s ok 19 /file/measure-async 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/load-bytes/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/load-bytes/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/load-bytes/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/load-bytes/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/load-bytes/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/load-bytes/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/load-bytes/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/load-bytes/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/load-bytes/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/load-bytes/.dirs/runtime 807s ok 20 /file/load-bytes 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/load-bytes-async/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/load-bytes-async/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/load-bytes-async/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/load-bytes-async/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/load-bytes-async/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/load-bytes-async/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/load-bytes-async/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/load-bytes-async/.dirs/runtime 807s ok 21 /file/load-bytes-async 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/load-bytes-4gb/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/load-bytes-4gb/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/load-bytes-4gb/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/load-bytes-4gb/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/load-bytes-4gb/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/load-bytes-4gb/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/load-bytes-4gb/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/load-bytes-4gb/.dirs/runtime 807s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/load-contents-4gb/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/load-contents-4gb/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/load-contents-4gb/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/load-contents-4gb/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/load-contents-4gb/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/load-contents-4gb/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/load-contents-4gb/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/load-contents-4gb/.dirs/runtime 807s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/load-contents-4gb-async/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/load-contents-4gb-async/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/load-contents-4gb-async/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/load-contents-4gb-async/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/load-contents-4gb-async/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/load-contents-4gb-async/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/load-contents-4gb-async/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/load-contents-4gb-async/.dirs/runtime 807s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/.dirs/runtime 807s ok 25 /file/writev 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/build-attribute-list-for-copy/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/build-attribute-list-for-copy/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/build-attribute-list-for-copy/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/build-attribute-list-for-copy/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/build-attribute-list-for-copy/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/build-attribute-list-for-copy/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/build-attribute-list-for-copy/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/build-attribute-list-for-copy/.dirs/runtime 807s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 807s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 807s # 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::* 807s # 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::* 807s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 807s # Attributes for copy: standard::size,xattr::* 807s # Attributes for copy: standard::size,unix::mode,xattr::* 807s ok 26 /file/build-attribute-list-for-copy 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/move_async/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/move_async/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/move_async/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/move_async/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/move_async/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/move_async/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/move_async/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/move_async/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/move_async/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/move_async/.dirs/runtime 807s ok 27 /file/move_async 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/move-async-with-closures/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/move-async-with-closures/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/move-async-with-closures/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/move-async-with-closures/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/move-async-with-closures/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/move-async-with-closures/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/move-async-with-closures/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/move-async-with-closures/.dirs/runtime 807s ok 28 /file/move-async-with-closures 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/query-zero-length-content-type/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/query-zero-length-content-type/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/query-zero-length-content-type/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/query-zero-length-content-type/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/query-zero-length-content-type/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/query-zero-length-content-type/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/query-zero-length-content-type/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/query-zero-length-content-type/.dirs/runtime 807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 807s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 807s ok 29 /file/query-zero-length-content-type 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/runtime 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/data/applications 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/config 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/config 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/config 807s ok 30 /file/query-default-handler-file 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/runtime 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/data/applications 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/config 807s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_S1RHJ3/file/query-default-handler-file/.dirs/config to /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/config 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/config 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/config 807s ok 31 /file/query-default-handler-file-async 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/runtime 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/data/applications 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/config 807s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_S1RHJ3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/config 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/config 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/config 807s ok 32 /file/query-default-handler-uri 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/runtime 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/data/applications 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/config 807s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_S1RHJ3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/config 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/config 807s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_S1RHJ3/file/query-default-handler-uri-async/.dirs/config 807s ok 33 /file/query-default-handler-uri-async 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/enumerator-cancellation/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/enumerator-cancellation/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/enumerator-cancellation/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/enumerator-cancellation/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/enumerator-cancellation/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/enumerator-cancellation/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/enumerator-cancellation/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/enumerator-cancellation/.dirs/runtime 807s ok 34 /file/enumerator-cancellation 807s # Start of async-create-delete tests 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/0/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/0/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/async-create-delete/0/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/0/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/async-create-delete/0/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/0/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/0/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/async-create-delete/0/.dirs/runtime 807s ok 35 /file/async-create-delete/0 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/1/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/1/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/async-create-delete/1/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/1/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/async-create-delete/1/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/1/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/1/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/async-create-delete/1/.dirs/runtime 807s ok 36 /file/async-create-delete/1 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/10/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/10/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/async-create-delete/10/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/10/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/async-create-delete/10/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/10/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/10/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/async-create-delete/10/.dirs/runtime 807s ok 37 /file/async-create-delete/10 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/25/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/25/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/async-create-delete/25/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/25/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/async-create-delete/25/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/25/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/25/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/async-create-delete/25/.dirs/runtime 807s ok 38 /file/async-create-delete/25 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/4096/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/4096/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/async-create-delete/4096/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/4096/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/async-create-delete/4096/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/4096/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/async-create-delete/4096/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/async-create-delete/4096/.dirs/runtime 807s ok 39 /file/async-create-delete/4096 807s # End of async-create-delete tests 807s # Start of replace-symlink tests 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/replace-symlink/using-etag/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/replace-symlink/using-etag/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/replace-symlink/using-etag/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/replace-symlink/using-etag/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/replace-symlink/using-etag/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/replace-symlink/using-etag/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/replace-symlink/using-etag/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/replace-symlink/using-etag/.dirs/runtime 807s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 807s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 807s # Using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_symlink_using_etag_5AUVJ3 807s # Executing: glib/file.test 810s ok 40 /file/replace-symlink/using-etag 810s # slow test /file/replace-symlink/using-etag executed in 2.43 secs 810s # End of replace-symlink tests 810s # Start of replace tests 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/replace/write-only/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/replace/write-only/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/replace/write-only/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/replace/write-only/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/replace/write-only/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/replace/write-only/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/replace/write-only/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/replace/write-only/.dirs/runtime 810s # /file/replace/write-only summary: Test various situations for g_file_replace() 810s # Current umask: 2 810s # Test 0, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_9J8KJ3 810s # Test 1, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_TM8KJ3 810s # Test 2, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_B0GLJ3 810s # Test 3, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_LCHLJ3 810s # Test 4, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_HFHLJ3 810s # Test 5, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_FEILJ3 810s # Test 6, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_U2HLJ3 810s # Test 7, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_S1ILJ3 810s # Test 8, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_KLDLJ3 810s # Test 9, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_LMDLJ3 810s # Test 10, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_61DLJ3 810s # Test 11, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_XOCMJ3 810s # Test 12, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_E3BMJ3 810s # Test 13, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_U6BMJ3 810s # Test 14, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_V1DMJ3 810s # Test 15, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_I3EMJ3 810s # Test 16, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_Z59LJ3 810s # Test 17, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_EMBMJ3 810s # Test 18, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_WGBMJ3 810s # Test 19, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_2HIMJ3 810s # Test 20, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_TAKMJ3 810s # Test 21, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_DALMJ3 810s # Test 22, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_CAFMJ3 810s # Test 23, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_JEFMJ3 810s # Test 24, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_66GMJ3 810s # Test 25, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_LMHMJ3 810s # Test 26, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_MQHMJ3 810s # Test 27, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_LRHMJ3 810s # Test 28, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_0M0LJ3 810s # Test 29, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_OX0LJ3 810s # Test 30, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_430LJ3 810s # Test 31, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_140LJ3 810s # Test 32, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_ELWLJ3 810s # Test 33, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_5PXLJ3 810s # Test 34, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_L0WLJ3 810s # Test 35, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_E4WLJ3 810s # Test 36, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_DUXLJ3 810s # Test 37, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_JNYLJ3 810s # Test 38, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_DS5LJ3 810s # Test 39, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_FS6LJ3 810s # Test 40, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_KP8LJ3 810s # Test 41, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_6J2LJ3 810s # Test 42, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_KP3LJ3 810s # Test 43, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_JH5LJ3 810s # Test 44, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_MB8JJ3 810s # Test 45, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_TG8JJ3 810s # Test 46, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_UAAKJ3 810s # Test 47, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_NHAKJ3 810s # Test 48, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_I1AKJ3 810s # We do not have CAP_DAC_OVERRIDE or equivalent 810s ok 41 /file/replace/write-only 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/replace/read-write/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/replace/read-write/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/replace/read-write/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/replace/read-write/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/replace/read-write/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/replace/read-write/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/replace/read-write/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/replace/read-write/.dirs/runtime 810s # /file/replace/read-write summary: Test various situations for g_file_replace() 810s # Current umask: 2 810s # Test 0, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_ABBKJ3 810s # Test 1, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_AKAKJ3 810s # Test 2, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_394JJ3 810s # Test 3, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_IW5JJ3 810s # Test 4, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_VZ5JJ3 810s # Test 5, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_O35JJ3 810s # Test 6, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_3W7JJ3 810s # Test 7, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_I5EKJ3 810s # Test 8, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_X8EKJ3 810s # Test 9, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_H9EKJ3 810s # Test 10, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_WEFKJ3 810s # Test 11, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_3FGKJ3 810s # Test 12, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_6BHKJ3 810s # Test 13, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_LFHKJ3 810s # Test 14, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_23BKJ3 810s # Test 15, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_8CCKJ3 810s # Test 16, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_36DKJ3 810s # Test 17, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_4YDKJ3 810s # Test 18, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_9VVJJ3 810s # Test 19, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_1JXJJ3 810s # Test 20, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_LIYJJ3 810s # Test 21, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_U6SJJ3 810s # Test 22, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_NETJJ3 810s # Test 23, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_CFTJJ3 810s # Test 24, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_A8UJJ3 810s # Test 25, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_KJ2JJ3 810s # Test 26, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_8O2JJ3 810s # Test 27, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_8Z1JJ3 810s # Test 28, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_ZY3JJ3 810s # Test 29, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_OE4JJ3 810s # Test 30, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_0H4JJ3 810s # Test 31, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_AM4JJ3 810s # Test 32, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_Q2ZJJ3 810s # Test 33, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_SSZJJ3 810s # Test 34, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_0UZJJ3 810s # Test 35, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_AR0JJ3 810s # Test 36, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_HO1JJ3 810s # Test 37, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_09XKJ3 810s # Test 38, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_JGYKJ3 810s # Test 39, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_5FZKJ3 810s # Test 40, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_91UKJ3 810s # Test 41, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_2NWKJ3 810s # Test 42, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_UTWKJ3 810s # Test 43, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_4A2KJ3 810s # Test 44, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_CCLKJ3 810s # Test 45, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_TGLKJ3 810s # Test 46, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_96LKJ3 810s # Test 47, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_W8LKJ3 810s # Test 48, using temporary directory /tmp/test_file_S1RHJ3/g_file_replace_AZMKJ3 810s # We do not have CAP_DAC_OVERRIDE or equivalent 810s ok 42 /file/replace/read-write 810s # End of replace tests 810s # Start of copy tests 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/copy/progress/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/copy/progress/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/copy/progress/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/copy/progress/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/copy/progress/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/copy/progress/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/copy/progress/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/copy/progress/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/copy/progress/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/copy/progress/.dirs/runtime 810s ok 43 /file/copy/progress 810s # End of copy tests 810s # Start of writev tests 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/no-bytes-written/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/no-bytes-written/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/no-bytes-written/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/no-bytes-written/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/no-bytes-written/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/no-bytes-written/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/no-bytes-written/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/no-bytes-written/.dirs/runtime 810s ok 44 /file/writev/no-bytes-written 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/no-vectors/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/no-vectors/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/no-vectors/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/no-vectors/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/no-vectors/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/no-vectors/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/no-vectors/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/no-vectors/.dirs/runtime 810s ok 45 /file/writev/no-vectors 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/empty-vectors/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/empty-vectors/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/empty-vectors/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/empty-vectors/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/empty-vectors/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/empty-vectors/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/empty-vectors/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/empty-vectors/.dirs/runtime 810s ok 46 /file/writev/empty-vectors 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/too-big-vectors/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/too-big-vectors/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/too-big-vectors/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/too-big-vectors/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/too-big-vectors/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/too-big-vectors/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/too-big-vectors/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/too-big-vectors/.dirs/runtime 810s ok 47 /file/writev/too-big-vectors 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/async/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/async/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/async/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/async/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/async/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/async/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/async/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/async/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/async/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/async/.dirs/runtime 810s ok 48 /file/writev/async 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/async_all/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/async_all/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/async_all/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/async_all/.dirs/runtime 810s ok 49 /file/writev/async_all 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-empty-vectors/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-empty-vectors/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/async_all-empty-vectors/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-empty-vectors/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/async_all-empty-vectors/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-empty-vectors/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-empty-vectors/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/async_all-empty-vectors/.dirs/runtime 810s ok 50 /file/writev/async_all-empty-vectors 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-no-vectors/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-no-vectors/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/async_all-no-vectors/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-no-vectors/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/async_all-no-vectors/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-no-vectors/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-no-vectors/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/async_all-no-vectors/.dirs/runtime 810s ok 51 /file/writev/async_all-no-vectors 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-to-big-vectors/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-to-big-vectors/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/async_all-to-big-vectors/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-to-big-vectors/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/async_all-to-big-vectors/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-to-big-vectors/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-to-big-vectors/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/async_all-to-big-vectors/.dirs/runtime 810s ok 52 /file/writev/async_all-to-big-vectors 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-cancellation/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-cancellation/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/writev/async_all-cancellation/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-cancellation/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/writev/async_all-cancellation/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-cancellation/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/writev/async_all-cancellation/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/writev/async_all-cancellation/.dirs/runtime 810s ok 53 /file/writev/async_all-cancellation 810s # End of writev tests 810s # Start of from-uri tests 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/from-uri/ignores-query-string/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/from-uri/ignores-query-string/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/from-uri/ignores-query-string/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/from-uri/ignores-query-string/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/from-uri/ignores-query-string/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/from-uri/ignores-query-string/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/from-uri/ignores-query-string/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/from-uri/ignores-query-string/.dirs/runtime 810s ok 54 /file/from-uri/ignores-query-string 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_S1RHJ3/file/from-uri/ignores-fragment/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_S1RHJ3/file/from-uri/ignores-fragment/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_S1RHJ3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_S1RHJ3/file/from-uri/ignores-fragment/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_S1RHJ3/file/from-uri/ignores-fragment/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_S1RHJ3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_S1RHJ3/file/from-uri/ignores-fragment/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_S1RHJ3/file/from-uri/ignores-fragment/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_S1RHJ3/file/from-uri/ignores-fragment/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_S1RHJ3/file/from-uri/ignores-fragment/.dirs/runtime 810s ok 55 /file/from-uri/ignores-fragment 810s # End of from-uri tests 810s # End of file tests 810s ok - glib/file.test 810s # Running test: glib/deftype.test 810s ok - glib/deftype.test 810s # Running test: glib/cxx-03.test 810s TAP version 14 810s # random seed: R02Sdade865fef5856941f4a517d9ab7c49d 810s 1..2 810s # Start of gtask tests 810s # 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. 810s ok 1 /gtask/name 810s # Start of name tests 810s # 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. 810s ok 2 /gtask/name/macro-wrapper 810s # End of name tests 810s # End of gtask tests 810s ok - glib/cxx-03.test 810s # Running test: glib/network-monitor-race.test 810s TAP version 14 810s # random seed: R02S1e63a8db43d3bbd5387b15a5836b2a8d 810s 1..1 810s # Start of network-monitor tests 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 812s # Executing: glib/network-monitor-race.test 813s ok 1 /network-monitor/create-in-thread 813s # slow test /network-monitor/create-in-thread executed in 3.15 secs 813s # End of network-monitor tests 813s ok - glib/network-monitor-race.test 813s # Running test: glib/tls-certificate.test 813s TAP version 14 813s # random seed: R02S49bc820031b2b361883ce714d2e421f8 813s 1..19 813s # Start of tls-certificate tests 813s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 813s ok 1 /tls-certificate/pem-parser 813s ok 2 /tls-certificate/pem-parser-handles-chain 813s ok 3 /tls-certificate/from_file 813s ok 4 /tls-certificate/from_files 813s ok 5 /tls-certificate/from_files_crlf 813s ok 6 /tls-certificate/from_files_pkcs8 813s ok 7 /tls-certificate/from_files_pkcs8enc 813s ok 8 /tls-certificate/list_from_file 813s ok 9 /tls-certificate/pkcs11-uri 813s ok 10 /tls-certificate/pkcs11-uri-unsupported 813s ok 11 /tls-certificate/from_pkcs12 813s ok 12 /tls-certificate/from_pkcs12_file 813s ok 13 /tls-certificate/not-valid-before 813s ok 14 /tls-certificate/not-valid-after 813s ok 15 /tls-certificate/subject-name 813s ok 16 /tls-certificate/issuer-name 813s ok 17 /tls-certificate/dns-names 813s ok 18 /tls-certificate/ip-addresses 813s ok 19 /tls-certificate/pem-parser-no-sentinel 813s # End of tls-certificate tests 813s ok - glib/tls-certificate.test 813s # Running test: glib/utils-c-11.test 813s TAP version 14 813s # random seed: R02S1f9edb6c7769331ad1ba47244f86e5a4 813s 1..41 813s # Start of utils tests 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/language-names/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/language-names/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/language-names/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/language-names/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/language-names/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/language-names/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/language-names/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/language-names/.dirs/runtime 813s ok 1 /utils/language-names 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/locale-variants/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/locale-variants/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/locale-variants/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/locale-variants/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/locale-variants/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/locale-variants/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/locale-variants/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/locale-variants/.dirs/runtime 813s # Testing locale ‘en’ 813s # Testing locale ‘sr@latin’ 813s # Testing locale ‘fr_BE’ 813s # Testing locale ‘sr_SR@latin’ 813s # Testing locale ‘sr_SR@latin.UTF-8’ 813s # Testing locale ‘sr@latin_invalid’ 813s # Testing locale ‘sr.UTF-8@latin’ 813s # Testing locale ‘sr.UTF-8_latin’ 813s # Testing locale ‘sr.UTF-8@latin_invalid’ 813s ok 2 /utils/locale-variants 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/version/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/version/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/version/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/version/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/version/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/version/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/version/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/version/.dirs/runtime 813s ok 3 /utils/version 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/appname/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/appname/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/appname/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/appname/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/appname/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/appname/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/appname/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/appname/.dirs/runtime 813s ok 4 /utils/appname 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/prgname-thread-safety/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/prgname-thread-safety/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/prgname-thread-safety/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/prgname-thread-safety/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/prgname-thread-safety/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/prgname-thread-safety/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/prgname-thread-safety/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/prgname-thread-safety/.dirs/runtime 813s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 813s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 813s ok 5 /utils/prgname-thread-safety 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/tmpdir/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/tmpdir/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/tmpdir/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/tmpdir/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/tmpdir/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/tmpdir/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/tmpdir/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/tmpdir/.dirs/runtime 813s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 813s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 813s Unable to clean up temporary directory /tmp/test_utils-c-11_17EPJ3/utils/tmpdir: No such file or directory 813s ok 6 /utils/tmpdir 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/basic_bits/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/basic_bits/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/basic_bits/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/basic_bits/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/basic_bits/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/basic_bits/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/basic_bits/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/basic_bits/.dirs/runtime 813s ok 7 /utils/basic_bits 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/bits/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/bits/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/bits/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/bits/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/bits/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/bits/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/bits/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/bits/.dirs/runtime 813s ok 8 /utils/bits 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/swap/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/swap/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/swap/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/swap/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/swap/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/swap/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/swap/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/swap/.dirs/runtime 813s ok 9 /utils/swap 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/find-program/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/find-program/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/find-program/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/find-program/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/find-program/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/find-program/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/find-program/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/find-program/.dirs/runtime 813s ok 10 /utils/find-program 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/find-program-for-path/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/find-program-for-path/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/find-program-for-path/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/find-program-for-path/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/find-program-for-path/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/find-program-for-path/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/find-program-for-path/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/find-program-for-path/.dirs/runtime 813s ok 11 /utils/find-program-for-path 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/debug/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/debug/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/debug/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/debug/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/debug/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/debug/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/debug/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/debug/.dirs/runtime 813s Unable to clean up temporary directory /tmp/test_utils-c-11_17EPJ3/utils/debug: No such file or directory 813s ok 12 /utils/debug 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/codeset/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/codeset/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/codeset/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/codeset/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/codeset/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/codeset/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/codeset/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/codeset/.dirs/runtime 813s ok 13 /utils/codeset 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/codeset2/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/codeset2/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/codeset2/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/codeset2/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/codeset2/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/codeset2/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/codeset2/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/codeset2/.dirs/runtime 813s Unable to clean up temporary directory /tmp/test_utils-c-11_17EPJ3/utils/codeset2: No such file or directory 813s ok 14 /utils/codeset2 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/console-charset/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/console-charset/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/console-charset/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/console-charset/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/console-charset/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/console-charset/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/console-charset/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/console-charset/.dirs/runtime 813s ok 15 /utils/console-charset 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/gettext/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/gettext/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/gettext/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/gettext/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/gettext/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/gettext/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/gettext/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/gettext/.dirs/runtime 813s ok 16 /utils/gettext 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/username/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/username/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/username/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/username/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/username/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/username/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/username/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/username/.dirs/runtime 813s ok 17 /utils/username 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/realname/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/realname/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/realname/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/realname/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/realname/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/realname/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/realname/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/realname/.dirs/runtime 813s ok 18 /utils/realname 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/hostname/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/hostname/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/hostname/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/hostname/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/hostname/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/hostname/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/hostname/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/hostname/.dirs/runtime 813s ok 19 /utils/hostname 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/os-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/os-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/os-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/os-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/os-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/os-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/os-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/os-info/.dirs/runtime 813s # NAME: Ubuntu 813s ok 20 /utils/os-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/.dirs/runtime 813s ok 21 /utils/clear-pointer 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer-cast/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer-cast/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/clear-pointer-cast/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer-cast/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/clear-pointer-cast/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer-cast/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer-cast/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer-cast/.dirs/runtime 813s ok 22 /utils/clear-pointer-cast 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/take-pointer/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/take-pointer/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/take-pointer/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/take-pointer/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/take-pointer/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/take-pointer/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/take-pointer/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/take-pointer/.dirs/runtime 813s ok 23 /utils/take-pointer 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-source/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-source/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/clear-source/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-source/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/clear-source/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-source/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-source/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/clear-source/.dirs/runtime 813s ok 24 /utils/clear-source 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/misc-mem/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/misc-mem/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/misc-mem/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/misc-mem/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/misc-mem/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/misc-mem/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/misc-mem/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/misc-mem/.dirs/runtime 813s ok 25 /utils/misc-mem 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/.dirs/runtime 813s # /utils/aligned-mem summary: Aligned memory allocator 813s # Alignment must not be zero 813s # Alignment must be a power of two 813s # Alignment must be a multiple of sizeof(void*) 813s ok 26 /utils/aligned-mem 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/free-sized/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/free-sized/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/free-sized/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/free-sized/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/free-sized/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/free-sized/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/free-sized/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/free-sized/.dirs/runtime 813s # /utils/free-sized summary: Check that g_free_sized() works 813s ok 27 /utils/free-sized 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/nullify/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/nullify/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/nullify/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/nullify/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/nullify/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/nullify/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/nullify/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/nullify/.dirs/runtime 813s ok 28 /utils/nullify 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/atexit/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/atexit/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/atexit/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/atexit/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/atexit/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/atexit/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/atexit/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/atexit/.dirs/runtime 813s Unable to clean up temporary directory /tmp/test_utils-c-11_17EPJ3/utils/atexit: No such file or directory 813s ok 29 /utils/atexit 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/check-setuid/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/check-setuid/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/check-setuid/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/check-setuid/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/check-setuid/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/check-setuid/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/check-setuid/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/check-setuid/.dirs/runtime 813s ok 30 /utils/check-setuid 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/int-limits/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/int-limits/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/int-limits/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/int-limits/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/int-limits/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/int-limits/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/int-limits/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/int-limits/.dirs/runtime 813s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 813s ok 31 /utils/int-limits 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-list/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-list/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/clear-list/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-list/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/clear-list/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-list/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-list/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/clear-list/.dirs/runtime 813s ok 32 /utils/clear-list 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-slist/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-slist/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/clear-slist/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-slist/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/clear-slist/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-slist/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-slist/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/clear-slist/.dirs/runtime 813s ok 33 /utils/clear-slist 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/steal-handle-id/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/steal-handle-id/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/steal-handle-id/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/steal-handle-id/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/steal-handle-id/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/steal-handle-id/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/steal-handle-id/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/steal-handle-id/.dirs/runtime 813s ok 34 /utils/steal-handle-id 813s # Start of user-special-dirs tests 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/desktop/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/desktop/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/desktop/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/desktop/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/desktop/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/desktop/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/desktop/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/desktop/.dirs/runtime 813s ok 35 /utils/user-special-dirs/desktop 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 813s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 813s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 813s Unable to clean up temporary directory /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/load-unlocked: No such file or directory 813s ok 36 /utils/user-special-dirs/load-unlocked 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 813s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 813s Unable to clean up temporary directory /tmp/test_utils-c-11_17EPJ3/utils/user-special-dirs/reload-leaks: No such file or directory 813s ok - glib/utils-c-11.test 813s ok 37 /utils/user-special-dirs/reload-leaks 813s # End of user-special-dirs tests 813s # Start of clear-pointer tests 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/side-effects/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/side-effects/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/side-effects/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/side-effects/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/side-effects/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/side-effects/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/side-effects/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/clear-pointer/side-effects/.dirs/runtime 813s ok 38 /utils/clear-pointer/side-effects 813s # End of clear-pointer tests 813s # Start of aligned-mem tests 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/alignment/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/alignment/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/alignment/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/alignment/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/alignment/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/alignment/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/alignment/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/alignment/.dirs/runtime 813s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 813s ok 39 /utils/aligned-mem/alignment 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/zeroed/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/zeroed/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/zeroed/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/zeroed/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/zeroed/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/zeroed/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/zeroed/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/zeroed/.dirs/runtime 813s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 813s ok 40 /utils/aligned-mem/zeroed 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/free-sized/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/free-sized/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/free-sized/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/free-sized/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/free-sized/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/free-sized/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/free-sized/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_17EPJ3/utils/aligned-mem/free-sized/.dirs/runtime 813s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 813s ok 41 /utils/aligned-mem/free-sized 813s # Start of subprocess tests 813s # End of subprocess tests 813s # End of aligned-mem tests 813s # End of utils tests 813s # Running test: glib/gdbus-addresses.test 813s ok - glib/gdbus-addresses.test 813s TAP version 14 813s # random seed: R02S5ac9e713b980f47b288986d52cdf1aaf 813s 1..9 813s # Start of gdbus tests 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/empty-address/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/empty-address/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/empty-address/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/empty-address/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/empty-address/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/empty-address/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/empty-address/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/empty-address/.dirs/runtime 813s ok 1 /gdbus/empty-address 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unsupported-address/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unsupported-address/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unsupported-address/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unsupported-address/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unsupported-address/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unsupported-address/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unsupported-address/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unsupported-address/.dirs/runtime 813s ok 2 /gdbus/unsupported-address 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/address-parsing/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/address-parsing/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/address-parsing/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/address-parsing/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/address-parsing/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/address-parsing/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/address-parsing/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/address-parsing/.dirs/runtime 813s ok 3 /gdbus/address-parsing 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unix-address/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unix-address/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unix-address/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unix-address/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unix-address/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unix-address/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unix-address/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/unix-address/.dirs/runtime 813s ok 4 /gdbus/unix-address 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/nonce-tcp-address/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/nonce-tcp-address/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/nonce-tcp-address/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/nonce-tcp-address/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/nonce-tcp-address/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/nonce-tcp-address/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/nonce-tcp-address/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/nonce-tcp-address/.dirs/runtime 813s ok 5 /gdbus/nonce-tcp-address 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/tcp-address/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/tcp-address/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/tcp-address/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/tcp-address/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/tcp-address/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/tcp-address/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/tcp-address/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/tcp-address/.dirs/runtime 813s ok 6 /gdbus/tcp-address 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/autolaunch-address/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/autolaunch-address/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/autolaunch-address/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/autolaunch-address/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/autolaunch-address/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/autolaunch-address/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/autolaunch-address/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/autolaunch-address/.dirs/runtime 813s ok 7 /gdbus/autolaunch-address 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/mixed-address/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/mixed-address/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/mixed-address/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/mixed-address/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/mixed-address/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/mixed-address/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/mixed-address/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/mixed-address/.dirs/runtime 813s ok 8 /gdbus/mixed-address 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/escape-address/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/escape-address/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/escape-address/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/escape-address/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZW0VJ3/gdbus/escape-address/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/escape-address/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/escape-address/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZW0VJ3/gdbus/escape-address/.dirs/runtime 813s ok 9 /gdbus/escape-address 813s # End of gdbus tests 813s # Running test: glib/onceinit.test 813s TAP version 14 813s # random seed: R02S19f5add82345a3ba4e2c5f4d3bac4f96 813s 1..1 813s # Start of thread tests 813s ok 1 /thread/onceinit 813s # End of thread tests 813s ok - glib/onceinit.test 813s # Running test: glib/cache.test 813s ok - glib/cache.test 813s TAP version 14 813s # random seed: R02Sd62f574554d0e9018d82bde915456b59 813s 1..1 813s # Start of cache tests 813s ok 1 /cache/basic 813s # End of cache tests 813s # Running test: glib/pathbuf.test 813s TAP version 14 813s # random seed: R02Seb1ae7c40f6a724fe520ac65c7ddb062 813s 1..3 813s # Start of pathbuf tests 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/init/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/init/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_G1ISJ3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_G1ISJ3/pathbuf/init/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/init/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_G1ISJ3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_G1ISJ3/pathbuf/init/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/init/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/init/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_G1ISJ3/pathbuf/init/.dirs/runtime 813s # Initializing empty path buf 813s # Initializing with empty path 813s # Initializing with full path 813s # Initializing with no path 813s # Allocating GPathBuf on the heap 813s ok 1 /pathbuf/init 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/push-pop/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/push-pop/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_G1ISJ3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_G1ISJ3/pathbuf/push-pop/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/push-pop/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_G1ISJ3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_G1ISJ3/pathbuf/push-pop/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/push-pop/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/push-pop/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_G1ISJ3/pathbuf/push-pop/.dirs/runtime 813s # Pushing relative path component 813s # Pushing absolute path component 813s # Popping a path component 813s # Can't pop the last element of a path buffer 813s ok 2 /pathbuf/push-pop 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/filename-extension/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/filename-extension/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_G1ISJ3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_G1ISJ3/pathbuf/filename-extension/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/filename-extension/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_G1ISJ3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_G1ISJ3/pathbuf/filename-extension/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/filename-extension/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_G1ISJ3/pathbuf/filename-extension/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_G1ISJ3/pathbuf/filename-extension/.dirs/runtime 813s ok 3 /pathbuf/filename-extension 813s # End of pathbuf tests 813s ok - glib/pathbuf.test 813s # Running test: glib/value.test 813s TAP version 14 813s # random seed: R02Sd348a7406c07c255cf7ca861eec70244 813s 1..9 813s # Start of value tests 813s ok 1 /value/basic 813s ok 2 /value/collection 813s ok 3 /value/copying 813s ok 4 /value/enum-transformation 813s ok 5 /value/gtype 813s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 813s ok 6 /value/string 813s # Next: GObject object in GValue of GObject to GValue of GObject 813s # Next: GObject object in GValue of GObject to GValue of TestInterface 813s # Next: GObject object in GValue of GObject to GValue of TestObjectA 813s # Next: GObject object in GValue of GObject to GValue of TestObjectB 813s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 813s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 813s # Next: TestObjectA object in GValue of GObject to GValue of GObject 813s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 813s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 813s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 813s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 813s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 813s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 813s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 813s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 813s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 813s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 813s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 813s # Next: TestObjectB object in GValue of GObject to GValue of GObject 813s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 813s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 813s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 813s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 813s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 813s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 813s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 813s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 813s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 813s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 813s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 813s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 813s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 813s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 813s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 813s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 813s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 813s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 813s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 813s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 813s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 813s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 813s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 813s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 813s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 813s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 813s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 813s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 813s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 813s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 813s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 813s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 813s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 813s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 813s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 813s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 813s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 813s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 813s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 813s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 813s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 813s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 813s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 813s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 813s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 813s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 813s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 813s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 813s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 813s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 813s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 813s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 813s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 813s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 813s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 813s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 813s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 813s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 813s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 813s ok 7 /value/transform-object 813s # Start of array tests 813s ok 8 /value/array/basic 813s ok 9 /value/array/sort-with-data 813s # End of array tests 813s ok - glib/value.test 813s # End of value tests 813s # Running test: glib/timeout.test 813s TAP version 14 813s # random seed: R02Sf2075e37a5b5524519cbe4e3008325c2 813s 1..5 813s # Start of timeout tests 813s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 815s ok 1 /timeout/seconds 815s # slow test /timeout/seconds executed in 2.10 secs 817s # Executing: glib/timeout.test 818s ok 2 /timeout/seconds-once 818s # slow test /timeout/seconds-once executed in 2.15 secs 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 820s ok 3 /timeout/weeks-overflow 820s # slow test /timeout/weeks-overflow executed in 2.10 secs 820s ok 4 /timeout/far-future-ready-time 822s # Executing: glib/timeout.test 827s # Executing: glib/timeout.test 831s ok - glib/timeout.test 831s ok 5 /timeout/rounding 831s # slow test /timeout/rounding executed in 10.85 secs 831s # End of timeout tests 831s # Running test: glib/scannerapi.test 831s TAP version 14 831s # random seed: R02S21ffa48724985535c173b0cb18fa0303 831s 1..8 831s # Start of scanner tests 831s ok 1 /scanner/warn 831s ok 2 /scanner/error 831s ok 3 /scanner/symbols 831s ok 4 /scanner/tokens 831s ok 5 /scanner/multiline-comment 831s ok - glib/scannerapi.test 831s # Running test: glib/basic-signals.test 831s ok - glib/basic-signals.test 831s # Running test: glib/utf8-pointer.test 831s ok 6 /scanner/int-to-float 831s ok 7 /scanner/fd-input 831s # Start of fd-input tests 831s ok 8 /scanner/fd-input/rewind 831s # End of fd-input tests 831s # End of scanner tests 831s TAP version 14 831s # random seed: R02S681c6dded06696749531a1de6f2a0eaf 831s 1..1 831s # Start of gobject tests 831s ok 1 /gobject/basic-signals 831s # End of gobject tests 831s TAP version 14 831s # random seed: R02Sc4b60c63d2690886637a7801e9771aed 831s 1..3 831s # Start of utf8 tests 832s ok - glib/utf8-pointer.test 832s ok 1 /utf8/offsets 832s # slow test /utf8/offsets executed in 1.89 secs 832s ok 2 /utf8/lengths 832s ok 3 /utf8/find 832s # End of utf8 tests 832s # Running test: glib/gdatetime.test 832s # Executing: glib/gdatetime.test 832s TAP version 14 832s # random seed: R02S5b9cce25ebe5f2c2fa8f2170fdf4d95a 832s 1..68 832s # Start of GDateTime tests 832s # Bug Reference: http://bugzilla.gnome.org/702674 832s ok 1 /GDateTime/invalid 832s ok 2 /GDateTime/add_days 832s ok 3 /GDateTime/add_full 832s ok 4 /GDateTime/add_hours 832s ok 5 /GDateTime/add_minutes 832s ok 6 /GDateTime/add_months 832s ok 7 /GDateTime/add_seconds 832s ok 8 /GDateTime/add_weeks 832s ok 9 /GDateTime/add_years 832s ok 10 /GDateTime/compare 832s ok 11 /GDateTime/diff 832s ok 12 /GDateTime/equal 832s ok 13 /GDateTime/get_day_of_week 832s ok 14 /GDateTime/get_day_of_month 832s ok 15 /GDateTime/get_day_of_year 832s ok 16 /GDateTime/get_hour 832s ok 17 /GDateTime/get_microsecond 832s ok 18 /GDateTime/get_minute 832s ok 19 /GDateTime/get_month 832s ok 20 /GDateTime/get_second 832s ok 21 /GDateTime/get_utc_offset 832s ok 22 /GDateTime/get_year 832s ok 23 /GDateTime/hash 832s ok 24 /GDateTime/new_from_unix 832s ok 25 /GDateTime/new_from_unix_utc 832s ok 26 /GDateTime/new_from_timeval 832s ok 27 /GDateTime/new_from_timeval_utc 832s ok 28 /GDateTime/new_from_iso8601 832s ok 29 /GDateTime/new_full 832s ok 30 /GDateTime/now 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 832s ok 31 /GDateTime/test-6-days-until-end-of-the-month 832s # %a -> expected: Sat 832s # %a -> actual: Sat 832s # %A -> expected: Saturday 832s # %A -> actual: Saturday 832s # %b -> expected: Oct 832s # %b -> actual: Oct 832s # %B -> expected: October 832s # %B -> actual: October 832s # %d -> expected: 24 832s # %d -> actual: 24 832s # %d -> expected: 01 832s # %d -> actual: 01 832s # %e -> expected: 24 832s # %e -> actual: 24 832s # %e -> expected:  1 832s # %e -> actual:  1 832s # %f -> expected: 001000 832s # %f -> actual: 001000 832s # %h -> expected: Oct 832s # %h -> actual: Oct 832s # %H -> expected: 00 832s # %H -> actual: 00 832s # %H -> expected: 15 832s # %H -> actual: 15 832s # %I -> expected: 12 832s # %I -> actual: 12 832s # %I -> expected: 12 832s # %I -> actual: 12 832s # %I -> expected: 03 832s # %I -> actual: 03 832s # %j -> expected: 297 832s # %j -> actual: 297 832s # %k -> expected:  0 832s # %k -> actual:  0 832s # %k -> expected: 13 832s # %k -> actual: 13 832s # %l -> expected: 12 832s # %l -> actual: 12 832s # %I -> expected: 12 832s # %I -> actual: 12 832s # %l -> expected:  1 832s # %l -> actual:  1 832s # %l -> expected: 10 832s # %l -> actual: 10 832s # %m -> expected: 10 832s # %m -> actual: 10 832s # %M -> expected: 00 832s # %M -> actual: 00 832s # %p -> expected: AM 832s # %p -> actual: AM 832s # %p -> expected: PM 832s # %p -> actual: PM 832s # %P -> expected: am 832s # %P -> actual: am 832s # %P -> expected: pm 832s # %P -> actual: pm 832s # %r -> expected: 12:00:00 AM 832s # %r -> actual: 12:00:00 AM 832s # %r -> expected: 01:13:13 PM 832s # %r -> actual: 01:13:13 PM 832s # %R -> expected: 00:00 832s # %R -> actual: 00:00 832s # %R -> expected: 13:13 832s # %R -> actual: 13:13 832s # %S -> expected: 00 832s # %S -> actual: 00 832s # %t -> expected: 832s # %t -> actual: 832s # %u -> expected: 6 832s # %u -> actual: 6 832s # %x -> expected: 10/24/09 832s # %x -> actual: 10/24/09 832s # %X -> expected: 00:00:00 832s # %X -> actual: 00:00:00 832s # %X -> expected: 13:14:15 832s # %X -> actual: 13:14:15 832s # %y -> expected: 09 832s # %y -> actual: 09 832s # %Y -> expected: 2009 832s # %Y -> actual: 2009 832s # %% -> expected: % 832s # %% -> actual: % 832s # % -> expected: 832s # % -> actual: 832s # %9 -> expected: (null) 832s # %9 -> actual: (null) 832s # %Z -> expected: UTC 832s # %Z -> actual: UTC 832s # %#Z %Z -> expected: utc UTC 832s # %#Z %Z -> actual: utc UTC 832s ok 32 /GDateTime/printf 832s # %a -> expected: 土 832s # %a -> actual: 土 832s # %A -> expected: 土曜日 832s # %A -> actual: 土曜日 832s # %b -> expected: 10月 832s # %b -> actual: 10月 832s # %B -> expected: 10月 832s # %B -> actual: 10月 832s # %c -> expected: 2009年10月24日 00時00分00秒 832s # %c -> actual: 2009年10月24日 00時00分00秒 832s # %C -> expected: 20 832s # %C -> actual: 20 832s # %d -> expected: 24 832s # %d -> actual: 24 832s # %d -> expected: 01 832s # %d -> actual: 01 832s # %e -> expected: 24 832s # %e -> actual: 24 832s # %h -> expected: 10月 832s # %h -> actual: 10月 832s # %H -> expected: 00 832s # %H -> actual: 00 832s # %H -> expected: 15 832s # %H -> actual: 15 832s # %I -> expected: 12 832s # %I -> actual: 12 832s # %I -> expected: 12 832s # %I -> actual: 12 832s # %I -> expected: 03 832s # %I -> actual: 03 832s # %j -> expected: 297 832s # %j -> actual: 297 832s # %k -> expected:  0 832s # %k -> actual:  0 832s # %k -> expected: 13 832s # %k -> actual: 13 832s # %l -> expected: 12 832s # %l -> actual: 12 832s # %I -> expected: 12 832s # %I -> actual: 12 832s # %l -> expected:  1 832s # %l -> actual:  1 832s # %l -> expected: 10 832s # %l -> actual: 10 832s # %m -> expected: 10 832s # %m -> actual: 10 832s # %M -> expected: 00 832s # %M -> actual: 00 832s # %p -> expected: 午前 832s # %p -> actual: 午前 832s # %p -> expected: 午後 832s # %p -> actual: 午後 832s # %P -> expected: 午前 832s # %P -> actual: 午前 832s # %P -> expected: 午後 832s # %P -> actual: 午後 832s # %r -> expected: 午前12時00分00秒 832s # %r -> actual: 午前12時00分00秒 832s # %r -> expected: 午後01時13分13秒 832s # %r -> actual: 午後01時13分13秒 832s # %R -> expected: 00:00 832s # %R -> actual: 00:00 832s # %R -> expected: 13:13 832s # %R -> actual: 13:13 832s # %S -> expected: 00 832s # %S -> actual: 00 832s # %t -> expected: 832s # %t -> actual: 832s # %u -> expected: 6 832s # %u -> actual: 6 832s # %x -> expected: 2009年10月24日 832s # %x -> actual: 2009年10月24日 832s # %X -> expected: 00時00分00秒 832s # %X -> actual: 00時00分00秒 832s # %X -> expected: 13時14分15秒 832s # %X -> actual: 13時14分15秒 832s # %y -> expected: 09 832s # %y -> actual: 09 832s # %Y -> expected: 2009 832s # %Y -> actual: 2009 832s # %% -> expected: % 832s # %% -> actual: % 832s # % -> expected: 832s # % -> actual: 832s # %9 -> expected: (null) 832s # %9 -> actual: (null) 832s # %Ec -> expected: 2009年10月24日 00時00分00秒 832s # %Ec -> actual: 2009年10月24日 00時00分00秒 832s # %EC -> expected: 20 832s # %EC -> actual: 20 832s # %Ex -> expected: 2009年10月24日 832s # %Ex -> actual: 2009年10月24日 832s # %EX -> expected: 00時00分00秒 832s # %EX -> actual: 00時00分00秒 832s # %Ey -> expected: 09 832s # %Ey -> actual: 09 832s # %EY -> expected: 2009 832s # %EY -> actual: 2009 832s ok 33 /GDateTime/non_utf8_printf 832s # ąśćł -> expected: ąśćł 832s # ąśćł -> actual: ąśćł 832s # %H∶%M -> expected: 23∶15 832s # %H∶%M -> actual: 23∶15 832s # %H∶%M -> expected: 23∶15 832s # %H∶%M -> actual: 23∶15 832s ok 34 /GDateTime/format_unrepresentable 832s ok 35 /GDateTime/format_iso8601 833s ok 36 /GDateTime/strftime 833s # %d -> expected: 01 833s # %d -> actual: 01 833s # %_d -> expected: 1 833s # %_d -> actual: 1 833s # %-d -> expected: 1 833s # %-d -> actual: 1 833s # %0d -> expected: 01 833s # %0d -> actual: 01 833s # %d -> expected: 21 833s # %d -> actual: 21 833s # %_d -> expected: 21 833s # %_d -> actual: 21 833s # %-d -> expected: 21 833s # %-d -> actual: 21 833s # %0d -> expected: 21 833s # %0d -> actual: 21 833s # %e -> expected:  1 833s # %e -> actual:  1 833s # %_e -> expected: 1 833s # %_e -> actual: 1 833s # %-e -> expected: 1 833s # %-e -> actual: 1 833s # %0e -> expected: 01 833s # %0e -> actual: 01 833s # %e -> expected: 21 833s # %e -> actual: 21 833s # %_e -> expected: 21 833s # %_e -> actual: 21 833s # %-e -> expected: 21 833s # %-e -> actual: 21 833s # %0e -> expected: 21 833s # %0e -> actual: 21 833s # %a -> expected: Thu 833s # %a -> actual: Thu 833s # %^a -> expected: THU 833s # %^a -> actual: THU 833s # %#a -> expected: THU 833s # %#a -> actual: THU 833s # %A -> expected: Thursday 833s # %A -> actual: Thursday 833s # %^A -> expected: THURSDAY 833s # %^A -> actual: THURSDAY 833s # %#A -> expected: THURSDAY 833s # %#A -> actual: THURSDAY 833s # %b -> expected: Jan 833s # %b -> actual: Jan 833s # %^b -> expected: JAN 833s # %^b -> actual: JAN 833s # %#b -> expected: JAN 833s # %#b -> actual: JAN 833s # %B -> expected: January 833s # %B -> actual: January 833s # %^B -> expected: JANUARY 833s # %^B -> actual: JANUARY 833s # %#B -> expected: JANUARY 833s # %#B -> actual: JANUARY 833s # %h -> expected: Jan 833s # %h -> actual: Jan 833s # %^h -> expected: JAN 833s # %^h -> actual: JAN 833s # %#h -> expected: JAN 833s # %#h -> actual: JAN 833s # %Z -> expected: UTC 833s # %Z -> actual: UTC 833s # %^Z -> expected: UTC 833s # %^Z -> actual: UTC 833s # %#Z -> expected: utc 833s # %#Z -> actual: utc 833s # %H -> expected: 01 833s # %H -> actual: 01 833s # %_H -> expected: 1 833s # %_H -> actual: 1 833s # %-H -> expected: 1 833s # %-H -> actual: 1 833s # %0H -> expected: 01 833s # %0H -> actual: 01 833s # %H -> expected: 21 833s # %H -> actual: 21 833s # %_H -> expected: 21 833s # %_H -> actual: 21 833s # %-H -> expected: 21 833s # %-H -> actual: 21 833s # %0H -> expected: 21 833s # %0H -> actual: 21 833s # %I -> expected: 01 833s # %I -> actual: 01 833s # %_I -> expected: 1 833s # %_I -> actual: 1 833s # %-I -> expected: 1 833s # %-I -> actual: 1 833s # %0I -> expected: 01 833s # %0I -> actual: 01 833s # %I -> expected: 11 833s # %I -> actual: 11 833s # %_I -> expected: 11 833s # %_I -> actual: 11 833s # %-I -> expected: 11 833s # %-I -> actual: 11 833s # %0I -> expected: 11 833s # %0I -> actual: 11 833s # %k -> expected:  1 833s # %k -> actual:  1 833s # %_k -> expected: 1 833s # %_k -> actual: 1 833s # %-k -> expected: 1 833s # %-k -> actual: 1 833s # %0k -> expected: 01 833s # %0k -> actual: 01 833s # %l -> expected:  1 833s # %l -> actual:  1 833s # %_l -> expected: 1 833s # %_l -> actual: 1 833s # %-l -> expected: 1 833s # %-l -> actual: 1 833s # %0l -> expected: 01 833s # %0l -> actual: 01 833s # %l -> expected: 11 833s # %l -> actual: 11 833s # %_l -> expected: 11 833s # %_l -> actual: 11 833s # %-l -> expected: 11 833s # %-l -> actual: 11 833s # %0l -> expected: 11 833s # %0l -> actual: 11 833s # %p -> expected: AM 833s # %p -> actual: AM 833s # %^p -> expected: AM 833s # %^p -> actual: AM 833s # %#p -> expected: am 833s # %#p -> actual: am 833s # %P -> expected: am 833s # %P -> actual: am 833s # %^P -> expected: AM 833s # %^P -> actual: AM 833s # %#P -> expected: am 833s # %#P -> actual: am 833s # %OH -> expected: ۲۳ 833s # %OH -> actual: ۲۳ 833s # %OI -> expected: ۱۱ 833s # %OI -> actual: ۱۱ 833s # %OM -> expected: ۰۰ 833s # %OM -> actual: ۰۰ 833s # %Om -> expected: ۰۷ 833s # %Om -> actual: ۰۷ 833s # %0Om -> expected: ۰۷ 833s # %0Om -> actual: ۰۷ 833s # %-Om -> expected: ۷ 833s # %-Om -> actual: ۷ 833s # %_Om -> expected: ۷ 833s # %_Om -> actual: ۷ 833s # %c -> expected: thu 01 jan 2009 00:00:00 utc 833s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 833s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 833s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 833s # %C -> expected: 20 833s # %C -> actual: 20 833s # %EC -> expected: 20 833s # %EC -> actual: 20 833s # %x -> expected: 02/01/09 833s # %x -> actual: 02/01/09 833s # %Ex -> expected: 02/01/09 833s # %Ex -> actual: 02/01/09 833s # %X -> expected: 01:02:03 833s # %X -> actual: 01:02:03 833s # %EX -> expected: 01:02:03 833s # %EX -> actual: 01:02:03 833s # %y -> expected: 09 833s # %y -> actual: 09 833s # %Ey -> expected: 09 833s # %Ey -> actual: 09 833s # %Y -> expected: 2009 833s # %Y -> actual: 2009 833s # %EY -> expected: 2009 833s # %EY -> actual: 2009 833s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 833s # Bug Reference: http://bugzilla.gnome.org/749206 833s # %B -> expected: January 833s # %B -> actual: January 833s # %OB -> expected: February 833s # %OB -> actual: February 833s # %b -> expected: Mar 833s # %b -> actual: Mar 833s # %Ob -> expected: Apr 833s # %Ob -> actual: Apr 833s # %h -> expected: May 833s # %h -> actual: May 833s # %Oh -> expected: Jun 833s # %Oh -> actual: Jun 833s # %B -> expected: Juli 833s # %B -> actual: Juli 833s # %OB -> expected: August 833s # %OB -> actual: August 833s # %b -> expected: Sep 833s # %b -> actual: Sep 833s # %Ob -> expected: Okt 833s # %Ob -> actual: Okt 833s # %h -> expected: Nov 833s # %h -> actual: Nov 833s # %Oh -> expected: Dez 833s # %Oh -> actual: Dez 833s # %B -> expected: enero 833s # %B -> actual: enero 833s # %OB -> expected: febrero 833s # %OB -> actual: febrero 833s # %b -> expected: mar 833s # %b -> actual: mar 833s # %Ob -> expected: abr 833s # %Ob -> actual: abr 833s # %h -> expected: may 833s # %h -> actual: may 833s # %Oh -> expected: jun 833s # %Oh -> actual: jun 833s # %B -> expected: juillet 833s # %B -> actual: juillet 833s # %OB -> expected: août 833s # %OB -> actual: août 833s # %b -> expected: sept. 833s # %b -> actual: sept. 833s # %Ob -> expected: oct. 833s # %Ob -> actual: oct. 833s # %h -> expected: nov. 833s # %h -> actual: nov. 833s # %Oh -> expected: déc. 833s # %Oh -> actual: déc. 833s # %B -> expected: Ιανουαρίου 833s # %B -> actual: Ιανουαρίου 833s # %B -> expected: Φεβρουαρίου 833s # %B -> actual: Φεβρουαρίου 833s # %B -> expected: Μαρτίου 833s # %B -> actual: Μαρτίου 833s # %OB -> expected: Απρίλιος 833s # %OB -> actual: Απρίλιος 833s # %OB -> expected: Μάιος 833s # %OB -> actual: Μάιος 833s # %OB -> expected: Ιούνιος 833s # %OB -> actual: Ιούνιος 833s # %b -> expected: Ιουλ 833s # %b -> actual: Ιουλ 833s # %Ob -> expected: Αύγ 833s # %Ob -> actual: Αύγ 833s # %B -> expected: svibnja 833s # %B -> actual: svibnja 833s # %B -> expected: lipnja 833s # %B -> actual: lipnja 833s # %B -> expected: srpnja 833s # %B -> actual: srpnja 833s # %OB -> expected: Kolovoz 833s # %OB -> actual: kolovoz 833s # %OB -> expected: Rujan 833s # %OB -> actual: rujan 833s # %OB -> expected: Listopad 833s # %OB -> actual: listopad 833s # %b -> expected: Stu 833s # %b -> actual: stu 833s # %Ob -> expected: Pro 833s # %Ob -> actual: pro 833s # %B -> expected: sausio 833s # %B -> actual: sausio 833s # %B -> expected: vasario 833s # %B -> actual: vasario 833s # %B -> expected: kovo 833s # %B -> actual: kovo 833s # %OB -> expected: balandis 833s # %OB -> actual: balandis 833s # %OB -> expected: gegužė 833s # %OB -> actual: gegužė 833s # %OB -> expected: birželis 833s # %OB -> actual: birželis 833s # %b -> expected: liep. 833s # %b -> actual: liep. 833s # %Ob -> expected: rugp. 833s # %Ob -> actual: rugp. 833s # %B -> expected: maja 833s # %B -> actual: maja 833s # %B -> expected: czerwca 833s # %B -> actual: czerwca 833s # %B -> expected: lipca 833s # %B -> actual: lipca 833s # %OB -> expected: sierpień 833s # %OB -> actual: sierpień 833s # %OB -> expected: wrzesień 833s # %OB -> actual: wrzesień 833s # %OB -> expected: październik 833s # %OB -> actual: październik 833s # %b -> expected: lis 833s # %b -> actual: lis 833s # %Ob -> expected: gru 833s # %Ob -> actual: gru 833s # %B -> expected: января 833s # %B -> actual: января 833s # %B -> expected: февраля 833s # %B -> actual: февраля 833s # %B -> expected: марта 833s # %B -> actual: марта 833s # %OB -> expected: Апрель 833s # %OB -> actual: Апрель 833s # %OB -> expected: Май 833s # %OB -> actual: Май 833s # %OB -> expected: Июнь 833s # %OB -> actual: Июнь 833s # %b -> expected: июл 833s # %b -> actual: июл 833s # %Ob -> expected: авг 833s # %Ob -> actual: авг 833s # %b -> expected: мая 833s # %b -> actual: мая 833s # %Ob -> expected: май 833s # %Ob -> actual: май 833s ok 38 /GDateTime/month_names 833s ok 39 /GDateTime/to_local 833s ok 40 /GDateTime/to_unix 833s ok 41 /GDateTime/to_timeval 833s ok 42 /GDateTime/to_utc 833s ok 43 /GDateTime/now_utc 833s ok 44 /GDateTime/dst 833s # Bug Reference: http://bugzilla.gnome.org/642935 833s ok 45 /GDateTime/test_z 837s ok 46 /GDateTime/test-all-dates 837s # slow test /GDateTime/test-all-dates executed in 4.81 secs 837s ok 47 /GDateTime/unix_usec 837s # Start of new_from_unix tests 837s # Bug Reference: http://bugzilla.gnome.org/782089 837s ok 48 /GDateTime/new_from_unix/overflow 837s # End of new_from_unix tests 837s # Start of new_from_timeval tests 837s # Bug Reference: http://bugzilla.gnome.org/782089 837s # Maximum supported GTimeVal.tv_sec = 253402300799 837s ok 49 /GDateTime/new_from_timeval/overflow 837s # End of new_from_timeval tests 837s # Start of new_from_iso8601 tests 837s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 837s # Vector 0: 1990-11-01T10:21:17Z 837s # Vector 1: 19901101T102117Z 837s # Vector 2: 1970-01-01T00:00:17.12Z 837s # Vector 3: 1970-01-01T00:00:17.1234Z 837s # Vector 4: 1970-01-01T00:00:17.123456Z 837s # Vector 5: 1980-02-22T12:36:00+02:00 837s # Vector 6: 1990-12-31T15:59:60-08:00 837s # Vector 7: 837s # Vector 8: x 837s # Vector 9: 123x 837s # Vector 10: 2001-10+x 837s # Vector 11: 1980-02-22T 837s # Vector 12: 2001-10-08Tx 837s # Vector 13: 2001-10-08T10:11x 837s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 837s # Vector 15: 1980-02-22T10:36:00Zulu 837s # Vector 16: 2T0+819855292164632335 837s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 837s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 837s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 837s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 837s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 837s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 837s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 837s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 837s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 837s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 837s # Vector 27: 20180803T140805.446178377+0100 837s # Vector 28: 21474836480803T140805.446178377+0100 837s # Vector 29: 20181303T140805.446178377+0100 837s # Vector 30: 20180003T140805.446178377+0100 837s # Vector 31: 20180800T140805.446178377+0100 837s # Vector 32: 20180832T140805.446178377+0100 837s # Vector 33: 20180803T240805.446178377+0100 837s # Vector 34: 20180803T146005.446178377+0100 837s # Vector 35: 20180803T140863.446178377+0100 837s # Vector 36: 20180803T140805.446178377+10000 837s # Vector 37: -0005-01-01T00:00:00Z 837s # Vector 38: 2018-08-06 837s # Vector 39: 20180803T140805,446178377+0100 837s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 837s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 837s # Vector 42: 1990-11-01T10:21:17 837s # Vector 43: 1719W462 407777-07 837s # Vector 44: 4011090 260528Z 837s # Vector 45: 0000W011 228214-22 837s ok 50 /GDateTime/new_from_iso8601/2 837s # End of new_from_iso8601 tests 837s # Start of format_mixed tests 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 837s # Executing: glib/gdatetime.test 837s ok - glib/gdatetime.test 837s # Running test: glib/portal-support-env-var.test 837s # %b -> expected: mar 837s # %b -> actual: Mar 837s # %B -> expected: march 837s # %B -> actual: March 837s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 837s # %b -> expected: mar 837s # %b -> actual: Mar 837s # %B -> expected: march 837s # %B -> actual: March 837s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 837s # %b -> expected: Mär 837s # %b -> actual: Mär 837s # %B -> expected: März 837s # %B -> actual: März 837s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 837s # %b -> expected: Mär 837s # %b -> actual: Mär 837s # %B -> expected: März 837s # %B -> actual: März 837s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 837s # End of format_mixed tests 837s # Start of strftime tests 837s # %r -> expected: (null) 837s # %r -> actual: (null) 837s ok 55 /GDateTime/strftime/error_handling 837s # End of strftime tests 837s # Start of eras tests 837s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests 837s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests 837s # Vector 0: 837s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 837s # 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年 837s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 837s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 837s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 837s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 837s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 837s # Vector 8: + 837s # Vector 9: +: 837s # Vector 10: +:: 837s # Vector 11: +:200 837s # Vector 12: +:2nonsense 837s # Vector 13: +:2nonsense: 837s # Vector 14: +:2: 837s # Vector 15: +:2:: 837s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 837s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 837s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 837s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 837s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 837s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 837s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 837s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 837s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 837s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 837s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 837s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 837s # Vector 28: +:2:2020/01/01 837s # Vector 29: +:2:2020/01/01: 837s # Vector 30: +:2:2020/01/01:: 837s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 837s # Vector 32: +:2:2020/01/01:+* 837s # Vector 33: +:2:2020/01/01:+*: 837s # Vector 34: +:2:2020/01/01:+*:: 837s # Vector 35: +:2:2020/01/01:+*:令和 837s # Vector 36: +:2:2020/01/01:+*:令和: 837s # Vector 37: +:2:2020/01/01:+*:令和:; 837s ok 58 /GDateTime/eras/parsing 837s # End of eras tests 837s # End of GDateTime tests 837s # Start of GTimeZone tests 837s ok 59 /GTimeZone/find-interval 837s ok 60 /GTimeZone/adjust-time 837s ok 61 /GTimeZone/no-header 837s ok 62 /GTimeZone/no-header-identifier 837s ok 63 /GTimeZone/posix-parse 837s # Bug Reference: http://bugzilla.gnome.org/697715 837s ok 64 /GTimeZone/floating-point 837s # System time zone identifier: Etc/UTC 837s ok 65 /GTimeZone/identifier 837s # Vector 0: -158400 837s # Vector 1: -10000 837s # Vector 2: -3600 837s # Vector 3: -61 837s # Vector 4: -60 837s # Vector 5: -59 837s # Vector 6: 0 837s # Vector 7: 59 837s # Vector 8: 60 837s # Vector 9: 61 837s # Vector 10: 3600 837s # Vector 11: 10000 837s # Vector 12: 158400 837s ok 66 /GTimeZone/new-offset 837s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 837s ok 67 /GTimeZone/parse-rfc8536 837s # /GTimeZone/caching summary: GTimeZone instances are cached 837s ok 68 /GTimeZone/caching 837s # End of GTimeZone tests 837s ok - glib/portal-support-env-var.test 837s # Running test: glib/trash.test 837s TAP version 14 837s # random seed: R02Sc853cf0cfe940d6da7631e050739e13a 837s 1..1 837s # Start of portal-support tests 837s ok 1 /portal-support/env-var 837s # End of portal-support tests 837s TAP version 14 837s ok - glib/trash.test 837s # Running test: glib/mappedfile.test 837s ok - glib/mappedfile.test 837s # Running test: glib/override.test 837s ok - glib/override.test 837s # Running test: glib/gdbus-connection-slow.test 837s # random seed: R02S2f8d6bd1d9ffee02e479a589fed7f1f9 837s 1..3 837s # Start of trash tests 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 837s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 837s # File: /tmp/test-trashENU1J3 (parent st_dev: 64769) 837s # Home: /home/ubuntu (st_dev: 64769) 837s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 837s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 837s ok 3 /trash/long-filename 837s # End of trash tests 837s TAP version 14 837s # random seed: R02S366ee689fbf199ec069298f57fdf1361 837s 1..7 837s # Start of mappedfile tests 837s ok 1 /mappedfile/basic 837s ok 2 /mappedfile/empty 837s ok 3 /mappedfile/device 837s ok 4 /mappedfile/nonexisting 837s ok 5 /mappedfile/writable 837s ok 6 /mappedfile/writable_fd 837s ok 7 /mappedfile/gbytes 837s # End of mappedfile tests 837s TAP version 14 837s # random seed: R02Sd9f48dee0ed7a5b7ef6c4d6e989ed728 837s 1..1 837s # Start of gobject tests 837s # *** emitting foo on a TestA instance 837s # Expecting: TestA::foo,TestI::foo 837s # Got: TestA::foo,TestI::foo 837s # *** emitting bar on a TestA instance 837s # Expecting: TestA::bar 837s # Got: TestA::bar 837s # *** emitting baz on a TestA instance 837s # Expecting: TestA::baz 837s # Got: TestA::baz 837s # *** emitting foo on a TestB instance 837s # Expecting: TestB::foo,TestA::foo,TestI::foo 837s # Got: TestB::foo,TestA::foo,TestI::foo 837s # *** emitting bar on a TestB instance 837s # Expecting: TestB::bar,TestA::bar 837s # Got: TestB::bar,TestA::bar 837s # *** emitting baz on a TestB instance 837s # Expecting: TestB::baz,TestA::baz 837s # Got: TestB::baz,TestA::baz 837s # *** emitting foo on a TestC instance 837s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 837s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 837s # *** emitting bar on a TestC instance 837s # Expecting: TestC::bar,TestB::bar,TestA::bar 837s # Got: TestC::bar,TestB::bar,TestA::bar 837s # *** emitting baz on a TestC instance 837s # Expecting: TestC::baz,TestB::baz,TestA::baz 837s # Got: TestC::baz,TestB::baz,TestA::baz 837s ok 1 /gobject/override 837s # End of gobject tests 837s TAP version 14 837s # random seed: R02Sd892d8638f96216ad9889efbb3abeb36 837s 1..2 837s # Start of gdbus tests 837s # Start of connection tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/flush/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/flush/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/flush/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/flush/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/flush/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/flush/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/flush/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/flush/.dirs/runtime 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s ok 1 /gdbus/connection/flush 838s # slow test /gdbus/connection/flush executed in 0.73 secs 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/large_message/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/large_message/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/large_message/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/large_message/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/large_message/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/large_message/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/large_message/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_FHX1J3/gdbus/connection/large_message/.dirs/runtime 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s ok 2 /gdbus/connection/large_message 839s # slow test /gdbus/connection/large_message executed in 0.83 secs 839s # End of connection tests 839s # End of gdbus tests 839s ok - glib/gdbus-connection-slow.test 839s TAP version 14 839s # random seed: R02S20842c3e2c9eae00984091fd293038f8 839s # Running test: glib/dbus-appinfo.test 839s 1..7 839s # Start of appinfo tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/runtime 839s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 839s ok 1 /appinfo/dbusappinfo 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/runtime 839s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 839s # Acquired a message bus connection 839s # Acquired the name org.freedesktop.portal.Documents 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_PCNSJ3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/config 839s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 839s # fake-document-portal cancelled 839s ok 2 /appinfo/flatpak-doc-export 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/runtime 839s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 839s # Acquired a message bus connection 839s # Acquired the name org.freedesktop.portal.Documents 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/config 839s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 839s # fake-document-portal cancelled 839s ok 3 /appinfo/flatpak-missing-doc-export 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/runtime 839s # Acquired a message bus connection 839s # Acquired the name org.freedesktop.portal.Desktop 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_PCNSJ3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/config 839s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 839s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 839s # Response emitted 839s # fake-desktop-portal cancelled 839s ok 4 /appinfo/portal-open-file 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/runtime 839s # Acquired a message bus connection 839s # Acquired the name org.freedesktop.portal.Desktop 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/config 839s # Got open file request for http://example.com 839s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 839s # Response emitted 839s # fake-desktop-portal cancelled 839s ok 5 /appinfo/portal-open-uri 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/runtime 839s # Acquired a message bus connection 839s # Acquired the name org.freedesktop.portal.Desktop 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/config 839s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 839s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio470839656 839s # Response emitted 839s # fake-desktop-portal cancelled 839s ok - glib/dbus-appinfo.test 839s # Running test: glib/mimeapps.test 839s ok 6 /appinfo/portal-open-file-async 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/runtime 839s # Acquired a message bus connection 839s # Acquired the name org.freedesktop.portal.Desktop 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_PCNSJ3/appinfo/portal-open-uri-async/.dirs/config 839s # Got open file request for http://example.com 839s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1089216502 839s # Response emitted 839s # fake-desktop-portal cancelled 839s ok 7 /appinfo/portal-open-uri-async 839s # End of appinfo tests 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s TAP version 14 839s # random seed: R02S428012adf56452b34817a2b73e3ff499 839s 1..13 839s # Start of appinfo tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 839s ok 1 /appinfo/all 839s # Start of mime tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/config 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/all/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/config 839s ok 2 /appinfo/mime/api 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/config 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/config 839s ok 3 /appinfo/mime/default 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/config 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/config 839s ok 4 /appinfo/mime/file 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/config 839s ok 5 /appinfo/mime/scheme-handler 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/config 839s ok 6 /appinfo/mime/default-last-used 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/config 839s ok 7 /appinfo/mime/ignore-nonexisting 839s # End of mime tests 839s # Start of mime-symlinked tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 839s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/config 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/config 839s ok 8 /appinfo/mime-symlinked/api 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/config 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/config 839s ok 9 /appinfo/mime-symlinked/default 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/config 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/config 839s ok 10 /appinfo/mime-symlinked/file 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/config 839s ok 11 /appinfo/mime-symlinked/scheme-handler 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 839s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 839s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 839s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 840s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 840s ok 12 /appinfo/mime-symlinked/default-last-used 840s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 840s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 840s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 840s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 840s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 840s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 840s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 840s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 840s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 840s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 840s # removing '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 840s # creating '/tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 840s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_52CTJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 840s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 840s # End of mime-symlinked tests 840s # End of appinfo tests 840s ok - glib/mimeapps.test 840s # Running test: glib/static-link.test 840s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 840s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 840s and make sure you have glib build dependencies installed, including 840s meson. 840s ok # SKIP - glib/static-link.test 840s # Running test: glib/module-test-plugin.test 840s ok - glib/module-test-plugin.test 840s # Running test: glib/tls-database.test 840s TAP version 14 840s # random seed: R02Se9d4cc7f0aec6d69f6760170aa939086 840s 1..3 840s # Start of module tests 840s ok 1 /module/basics 840s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 840s ok 2 /module/invalid-libtool-archive 840s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 840s ok 3 /module/local-binding 840s # End of module tests 840s TAP version 14 840s # random seed: R02S542e997f1d47bb1a4777c87c942b2a3f 840s 1..1 840s # Start of tls-backend tests 840s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 840s ok 1 /tls-backend/set-default-database 840s # End of tls-backend tests 840s ok - glib/tls-database.test 840s # Running test: glib/g-file-info-filesystem-readonly.test 840s ok - glib/g-file-info-filesystem-readonly.test 840s # Running test: glib/sort.test 840s TAP version 14 840s # random seed: R02Sffd9739e7917fc8f48245303db75dcbc 840s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 840s 1..2 840s # Start of g-file-info-filesystem-readonly tests 840s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 840s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 840s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_PIMYJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 840s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 840s # End of g-file-info-filesystem-readonly tests 840s ok - glib/sort.test 840s TAP version 14 840s # random seed: R02S1fbc720dfcfb35af720ca0761e944760 840s 1..5 840s # Start of sort tests 840s ok 1 /sort/basic 840s ok 2 /sort/zero-elements 840s ok 3 /sort/stable 840s ok 4 /sort/big 840s ok 5 /sort/deprecated 840s # End of sort tests 840s # Running test: glib/buffered-output-stream.test 840s TAP version 14 840s ok - glib/buffered-output-stream.test 840s # random seed: R02Sc2d98bf7729a1ced32ba4677dcce5cc6 840s 1..5 840s # Start of buffered-output-stream tests 840s ok 1 /buffered-output-stream/write 840s ok 2 /buffered-output-stream/grow 840s ok 3 /buffered-output-stream/seek 840s ok 4 /buffered-output-stream/truncate 840s # End of buffered-output-stream tests 840s # Start of filter-output-stream tests 840s ok 5 /filter-output-stream/close 840s # End of filter-output-stream tests 840s # Running test: glib/codegen.py.test 840s TAP version 13 840s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 840s # gdbus-codegen: /usr/bin/gdbus-codegen 840s # tmpdir: /tmp/tmp92r3ln15 840s # /tmp/tmp92r3ln15/tmppnd8lb9x.xml: 840s # 840s # 840s # 840s # 840s # 840s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp92r3ln15/tmppnd8lb9x.xml', '--output', '-', '--header'] 840s # Return code: 0 840s # Output: 840s # /* 840s # * This file is generated by gdbus-codegen, do not modify it. 840s # * 840s # * The license of this code is the same as for the D-Bus interface description 840s # * it was derived from. Note that it links to GLib, so must comply with the 840s # * LGPL linking clauses. 840s # */ 840s # 840s # #ifndef __STDOUT__ 840s # #define __STDOUT__ 840s # 840s # #include 840s # 840s # G_BEGIN_DECLS 840s # 840s # 840s # /* ------------------------------------------------------------------------ */ 840s # /* Declarations for org.project.UsefulInterface */ 840s # 840s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 840s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 840s # 840s # struct _OrgProjectUsefulInterface; 840s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 840s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 840s # 840s # struct _OrgProjectUsefulInterfaceIface 840s # { 840s # GTypeInterface parent_iface; 840s # 840s # gboolean (*handle_useful_method) ( 840s # OrgProjectUsefulInterface *object, 840s # GDBusMethodInvocation *invocation); 840s # 840s # }; 840s # 840s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 840s # 840s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 840s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 840s # 840s # 840s # /* D-Bus method call completion functions: */ 840s # void org_project_useful_interface_complete_useful_method ( 840s # OrgProjectUsefulInterface *object, 840s # GDBusMethodInvocation *invocation); 840s # 840s # 840s # 840s # /* D-Bus method calls: */ 840s # void org_project_useful_interface_call_useful_method ( 840s # OrgProjectUsefulInterface *proxy, 840s # GCancellable *cancellable, 840s # GAsyncReadyCallback callback, 840s # gpointer user_data); 840s # 840s # gboolean org_project_useful_interface_call_useful_method_finish ( 840s # OrgProjectUsefulInterface *proxy, 840s # GAsyncResult *res, 840s # GError **error); 840s # 840s # gboolean org_project_useful_interface_call_useful_method_sync ( 840s # OrgProjectUsefulInterface *proxy, 840s # GCancellable *cancellable, 840s # GError **error); 840s # 840s # 840s # 840s # /* ---- */ 840s # 840s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 840s # 840s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 840s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 840s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 840s # 840s # struct _OrgProjectUsefulInterfaceProxy 840s # { 840s # /*< private >*/ 840s # GDBusProxy parent_instance; 840s # OrgProjectUsefulInterfaceProxyPrivate *priv; 840s # }; 840s # 840s # struct _OrgProjectUsefulInterfaceProxyClass 840s # { 840s # GDBusProxyClass parent_class; 840s # }; 840s # 840s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 840s # 840s # #if GLIB_CHECK_VERSION(2, 44, 0) 840s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 840s # #endif 840s # 840s # void org_project_useful_interface_proxy_new ( 840s # GDBusConnection *connection, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GAsyncReadyCallback callback, 840s # gpointer user_data); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 840s # GAsyncResult *res, 840s # GError **error); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 840s # GDBusConnection *connection, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GError **error); 840s # 840s # void org_project_useful_interface_proxy_new_for_bus ( 840s # GBusType bus_type, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GAsyncReadyCallback callback, 840s # gpointer user_data); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 840s # GAsyncResult *res, 840s # GError **error); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 840s # GBusType bus_type, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GError **error); 840s # 840s # 840s # /* ---- */ 840s # 840s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 840s # 840s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 840s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 840s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 840s # 840s # struct _OrgProjectUsefulInterfaceSkeleton 840s # { 840s # /*< private >*/ 840s # GDBusInterfaceSkeleton parent_instance; 840s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 840s # }; 840s # 840s # struct _OrgProjectUsefulInterfaceSkeletonClass 840s # { 840s # GDBusInterfaceSkeletonClass parent_class; 840s # }; 840s # 840s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 840s # 840s # #if GLIB_CHECK_VERSION(2, 44, 0) 840s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 840s # #endif 840s # 840s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 840s # 840s # 840s # G_END_DECLS 840s # 840s # #endif /* __STDOUT__ */ 840s # Error: 840s # 840s # /tmp/tmp92r3ln15/tmp6gozg2yr.xml: 840s # 840s # 840s # 840s # 840s # 840s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp92r3ln15/tmp6gozg2yr.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 840s # Return code: 0 840s # Output: 840s # /* 840s # * This file is generated by gdbus-codegen, do not modify it. 840s # * 840s # * The license of this code is the same as for the D-Bus interface description 840s # * it was derived from. Note that it links to GLib, so must comply with the 840s # * LGPL linking clauses. 840s # */ 840s # 840s # #ifndef __STDOUT__ 840s # #define __STDOUT__ 840s # 840s # #include 840s # 840s # G_BEGIN_DECLS 840s # 840s # 840s # /* ------------------------------------------------------------------------ */ 840s # /* Declarations for org.project.UsefulInterface */ 840s # 840s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 840s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 840s # 840s # struct _OrgProjectUsefulInterface; 840s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 840s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 840s # 840s # struct _OrgProjectUsefulInterfaceIface 840s # { 840s # GTypeInterface parent_iface; 840s # 840s # gboolean (*handle_useful_method) ( 840s # OrgProjectUsefulInterface *object, 840s # GDBusMethodInvocation *invocation); 840s # 840s # }; 840s # 840s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 840s # 840s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 840s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 840s # 840s # 840s # /* D-Bus method call completion functions: */ 840s # void org_project_useful_interface_complete_useful_method ( 840s # OrgProjectUsefulInterface *object, 840s # GDBusMethodInvocation *invocation); 840s # 840s # 840s # 840s # /* D-Bus method calls: */ 840s # void org_project_useful_interface_call_useful_method ( 840s # OrgProjectUsefulInterface *proxy, 840s # GCancellable *cancellable, 840s # GAsyncReadyCallback callback, 840s # gpointer user_data); 840s # 840s # gboolean org_project_useful_interface_call_useful_method_finish ( 840s # OrgProjectUsefulInterface *proxy, 840s # GAsyncResult *res, 840s # GError **error); 840s # 840s # gboolean org_project_useful_interface_call_useful_method_sync ( 840s # OrgProjectUsefulInterface *proxy, 840s # GCancellable *cancellable, 840s # GError **error); 840s # 840s # 840s # 840s # /* ---- */ 840s # 840s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 840s # 840s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 840s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 840s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 840s # 840s # struct _OrgProjectUsefulInterfaceProxy 840s # { 840s # /*< private >*/ 840s # GDBusProxy parent_instance; 840s # OrgProjectUsefulInterfaceProxyPrivate *priv; 840s # }; 840s # 840s # struct _OrgProjectUsefulInterfaceProxyClass 840s # { 840s # GDBusProxyClass parent_class; 840s # }; 840s # 840s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 840s # 840s # #if GLIB_CHECK_VERSION(2, 44, 0) 840s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 840s # #endif 840s # 840s # void org_project_useful_interface_proxy_new ( 840s # GDBusConnection *connection, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GAsyncReadyCallback callback, 840s # gpointer user_data); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 840s # GAsyncResult *res, 840s # GError **error); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 840s # GDBusConnection *connection, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GError **error); 840s # 840s # void org_project_useful_interface_proxy_new_for_bus ( 840s # GBusType bus_type, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GAsyncReadyCallback callback, 840s # gpointer user_data); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 840s # GAsyncResult *res, 840s # GError **error); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 840s # GBusType bus_type, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GError **error); 840s # 840s # 840s # /* ---- */ 840s # 840s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 840s # 840s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 840s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 840s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 840s # 840s # struct _OrgProjectUsefulInterfaceSkeleton 840s # { 840s # /*< private >*/ 840s # GDBusInterfaceSkeleton parent_instance; 840s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 840s # }; 840s # 840s # struct _OrgProjectUsefulInterfaceSkeletonClass 840s # { 840s # GDBusInterfaceSkeletonClass parent_class; 840s # }; 840s # 840s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 840s # 840s # #if GLIB_CHECK_VERSION(2, 44, 0) 840s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 840s # #endif 840s # 840s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 840s # 840s # 840s # G_END_DECLS 840s # 840s # #endif /* __STDOUT__ */ 840s # Error: 840s # 840s # /tmp/tmp92r3ln15/tmp0dkv2j5v.xml: 840s # 840s # 840s # 840s # 840s # 840s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp92r3ln15/tmp0dkv2j5v.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 840s # Return code: 0 840s # Output: 840s # /* 840s # * This file is generated by gdbus-codegen, do not modify it. 840s # * 840s # * The license of this code is the same as for the D-Bus interface description 840s # * it was derived from. Note that it links to GLib, so must comply with the 840s # * LGPL linking clauses. 840s # */ 840s # 840s # #ifndef __STDOUT__ 840s # #define __STDOUT__ 840s # 840s # #include 840s # 840s # G_BEGIN_DECLS 840s # 840s # 840s # /* ------------------------------------------------------------------------ */ 840s # /* Declarations for org.project.UsefulInterface */ 840s # 840s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 840s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 840s # 840s # struct _OrgProjectUsefulInterface; 840s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 840s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 840s # 840s # struct _OrgProjectUsefulInterfaceIface 840s # { 840s # GTypeInterface parent_iface; 840s # 840s # gboolean (*handle_useful_method) ( 840s # OrgProjectUsefulInterface *object, 840s # GDBusMethodInvocation *invocation); 840s # 840s # }; 840s # 840s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 840s # 840s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 840s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 840s # 840s # 840s # /* D-Bus method call completion functions: */ 840s # void org_project_useful_interface_complete_useful_method ( 840s # OrgProjectUsefulInterface *object, 840s # GDBusMethodInvocation *invocation); 840s # 840s # 840s # 840s # /* D-Bus method calls: */ 840s # void org_project_useful_interface_call_useful_method ( 840s # OrgProjectUsefulInterface *proxy, 840s # GDBusCallFlags call_flags, 840s # gint timeout_msec, 840s # GCancellable *cancellable, 840s # GAsyncReadyCallback callback, 840s # gpointer user_data); 840s # 840s # gboolean org_project_useful_interface_call_useful_method_finish ( 840s # OrgProjectUsefulInterface *proxy, 840s # GAsyncResult *res, 840s # GError **error); 840s # 840s # gboolean org_project_useful_interface_call_useful_method_sync ( 840s # OrgProjectUsefulInterface *proxy, 840s # GDBusCallFlags call_flags, 840s # gint timeout_msec, 840s # GCancellable *cancellable, 840s # GError **error); 840s # 840s # 840s # 840s # /* ---- */ 840s # 840s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 840s # 840s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 840s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 840s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 840s # 840s # struct _OrgProjectUsefulInterfaceProxy 840s # { 840s # /*< private >*/ 840s # GDBusProxy parent_instance; 840s # OrgProjectUsefulInterfaceProxyPrivate *priv; 840s # }; 840s # 840s # struct _OrgProjectUsefulInterfaceProxyClass 840s # { 840s # GDBusProxyClass parent_class; 840s # }; 840s # 840s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 840s # 840s # #if GLIB_CHECK_VERSION(2, 44, 0) 840s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 840s # #endif 840s # 840s # void org_project_useful_interface_proxy_new ( 840s # GDBusConnection *connection, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GAsyncReadyCallback callback, 840s # gpointer user_data); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 840s # GAsyncResult *res, 840s # GError **error); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 840s # GDBusConnection *connection, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GError **error); 840s # 840s # void org_project_useful_interface_proxy_new_for_bus ( 840s # GBusType bus_type, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GAsyncReadyCallback callback, 840s # gpointer user_data); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 840s # GAsyncResult *res, 840s # GError **error); 840s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 840s # GBusType bus_type, 840s # GDBusProxyFlags flags, 840s # const gchar *name, 840s # const gchar *object_path, 840s # GCancellable *cancellable, 840s # GError **error); 840s # 840s # 840s # /* ---- */ 840s # 840s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 840s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 840s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 840s # 840s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 840s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 840s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 840s # 840s # struct _OrgProjectUsefulInterfaceSkeleton 840s # { 840s # /*< private >*/ 840s # GDBusInterfaceSkeleton parent_instance; 840s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 840s # }; 840s # 840s # struct _OrgProjectUsefulInterfaceSkeletonClass 840s # { 840s # GDBusInterfaceSkeletonClass parent_class; 840s # }; 840s # 840s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 840s # 840s # #if GLIB_CHECK_VERSION(2, 44, 0) 840s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 840s # #endif 840s # 840s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 840s # 840s # 840s # G_END_DECLS 840s # 840s # #endif /* __STDOUT__ */ 840s # Error: 841s ok 2 __main__.TestCodegen.test_dbus_types 841s # gdbus-codegen: /usr/bin/gdbus-codegen 841s # tmpdir: /tmp/tmpf88voh8s 841s # /tmp/tmpf88voh8s/tmpkaz9rt5d.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmpkaz9rt5d.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 841s # /tmp/tmpf88voh8s/tmpdrz2i7sj.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmpdrz2i7sj.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 841s # /tmp/tmpf88voh8s/tmplnditrj7.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmplnditrj7.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 841s # /tmp/tmpf88voh8s/tmp2bvsymis.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmp2bvsymis.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 841s # /tmp/tmpf88voh8s/tmp2ysfkrdb.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmp2ysfkrdb.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 841s # /tmp/tmpf88voh8s/tmp5ejhkb_n.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmp5ejhkb_n.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 841s # /tmp/tmpf88voh8s/tmp08t4cd58.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmp08t4cd58.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 841s # /tmp/tmpf88voh8s/tmp1t_9x6pa.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmp1t_9x6pa.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 841s # /tmp/tmpf88voh8s/tmp0qbs76eh.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmp0qbs76eh.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 841s # /tmp/tmpf88voh8s/tmpi7k9n52f.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmpi7k9n52f.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: D-Bus maximum signature length of 255 exceeded. 841s # /tmp/tmpf88voh8s/tmpaadb55qx.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmpaadb55qx.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: D-Bus maximum signature length of 255 exceeded. 841s # /tmp/tmpf88voh8s/tmpeu7gcvoi.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmpeu7gcvoi.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 841s # /tmp/tmpf88voh8s/tmpl3zrr363.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmpl3zrr363.xml', '--output', '-', '--body'] 841s # Return code: 1 841s # Output: 841s # 841s # Error: 841s # ERROR: D-Bus maximum signature length of 255 exceeded. 841s # /tmp/tmpf88voh8s/tmp5ffeo19_.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmp5ffeo19_.xml', '--output', '-', '--body'] 841s # Return code: 0 841s # Output: 841s # /* 841s # * This file is generated by gdbus-codegen, do not modify it. 841s # * 841s # * The license of this code is the same as for the D-Bus interface description 841s # * it was derived from. Note that it links to GLib, so must comply with the 841s # * LGPL linking clauses. 841s # */ 841s # 841s # #ifdef HAVE_CONFIG_H 841s # # include "config.h" 841s # #endif 841s # 841s # #include 841s # #ifdef G_OS_UNIX 841s # # include 841s # #endif 841s # 841s # #ifdef G_ENABLE_DEBUG 841s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 841s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 841s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 841s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 841s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 841s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 841s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 841s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 841s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 841s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 841s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 841s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 841s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 841s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 841s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 841s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 841s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 841s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 841s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 841s # #else /* !G_ENABLE_DEBUG */ 841s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 841s # * Do not access GValues directly in your code. Instead, use the 841s # * g_value_get_*() functions 841s # */ 841s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 841s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 841s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 841s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 841s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 841s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 841s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 841s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 841s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 841s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 841s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 841s # #endif /* !G_ENABLE_DEBUG */ 841s # 841s # typedef struct 841s # { 841s # GDBusArgInfo parent_struct; 841s # gboolean use_gvariant; 841s # } _ExtendedGDBusArgInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusMethodInfo parent_struct; 841s # const gchar *signal_name; 841s # gboolean pass_fdlist; 841s # } _ExtendedGDBusMethodInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusSignalInfo parent_struct; 841s # const gchar *signal_name; 841s # } _ExtendedGDBusSignalInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusPropertyInfo parent_struct; 841s # const gchar *hyphen_name; 841s # guint use_gvariant : 1; 841s # guint emits_changed_signal : 1; 841s # } _ExtendedGDBusPropertyInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusInterfaceInfo parent_struct; 841s # const gchar *hyphen_name; 841s # } _ExtendedGDBusInterfaceInfo; 841s # 841s # typedef struct 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # guint prop_id; 841s # GValue orig_value; /* the value before the change */ 841s # } ChangedProperty; 841s # 841s # static void 841s # _changed_property_free (ChangedProperty *data) 841s # { 841s # g_value_unset (&data->orig_value); 841s # g_free (data); 841s # } 841s # 841s # static gboolean 841s # _g_strv_equal0 (gchar **a, gchar **b) 841s # { 841s # gboolean ret = FALSE; 841s # guint n; 841s # if (a == NULL && b == NULL) 841s # { 841s # ret = TRUE; 841s # goto out; 841s # } 841s # if (a == NULL || b == NULL) 841s # goto out; 841s # if (g_strv_length (a) != g_strv_length (b)) 841s # goto out; 841s # for (n = 0; a[n] != NULL; n++) 841s # if (g_strcmp0 (a[n], b[n]) != 0) 841s # goto out; 841s # ret = TRUE; 841s # out: 841s # return ret; 841s # } 841s # 841s # static gboolean 841s # _g_variant_equal0 (GVariant *a, GVariant *b) 841s # { 841s # gboolean ret = FALSE; 841s # if (a == NULL && b == NULL) 841s # { 841s # ret = TRUE; 841s # goto out; 841s # } 841s # if (a == NULL || b == NULL) 841s # goto out; 841s # ret = g_variant_equal (a, b); 841s # out: 841s # return ret; 841s # } 841s # 841s # G_GNUC_UNUSED static gboolean 841s # _g_value_equal (const GValue *a, const GValue *b) 841s # { 841s # gboolean ret = FALSE; 841s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 841s # switch (G_VALUE_TYPE (a)) 841s # { 841s # case G_TYPE_BOOLEAN: 841s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 841s # break; 841s # case G_TYPE_UCHAR: 841s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 841s # break; 841s # case G_TYPE_INT: 841s # ret = (g_value_get_int (a) == g_value_get_int (b)); 841s # break; 841s # case G_TYPE_UINT: 841s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 841s # break; 841s # case G_TYPE_INT64: 841s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 841s # break; 841s # case G_TYPE_UINT64: 841s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 841s # break; 841s # case G_TYPE_DOUBLE: 841s # { 841s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 841s # gdouble da = g_value_get_double (a); 841s # gdouble db = g_value_get_double (b); 841s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 841s # } 841s # break; 841s # case G_TYPE_STRING: 841s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 841s # break; 841s # case G_TYPE_VARIANT: 841s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 841s # break; 841s # default: 841s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 841s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 841s # else 841s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 841s # break; 841s # } 841s # return ret; 841s # } 841s # 841s # /* ------------------------------------------------------------------------ 841s # * Code for interface GoodTypes 841s # * ------------------------------------------------------------------------ 841s # */ 841s # 841s # /** 841s # * SECTION:GoodTypes 841s # * @title: GoodTypes 841s # * @short_description: Generated C code for the GoodTypes D-Bus interface 841s # * 841s # * This section contains code for working with the GoodTypes D-Bus interface in C. 841s # */ 841s # 841s # /* ---- Introspection data for GoodTypes ---- */ 841s # 841s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 841s # { 841s # { 841s # -1, 841s # (gchar *) "GoodPropertyType", 841s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 841s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 841s # NULL 841s # }, 841s # "good-property-type", 841s # FALSE, 841s # TRUE 841s # }; 841s # 841s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 841s # { 841s # &_good_types_property_info_good_property_type.parent_struct, 841s # NULL 841s # }; 841s # 841s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 841s # { 841s # { 841s # -1, 841s # (gchar *) "GoodTypes", 841s # NULL, 841s # NULL, 841s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 841s # NULL 841s # }, 841s # "good-types", 841s # }; 841s # 841s # 841s # /** 841s # * good_types_interface_info: 841s # * 841s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 841s # * 841s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 841s # */ 841s # GDBusInterfaceInfo * 841s # good_types_interface_info (void) 841s # { 841s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 841s # } 841s # 841s # /** 841s # * good_types_override_properties: 841s # * @klass: The class structure for a #GObject derived class. 841s # * @property_id_begin: The property id to assign to the first overridden property. 841s # * 841s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 841s # * The properties are overridden in the order they are defined. 841s # * 841s # * Returns: The last property id. 841s # */ 841s # guint 841s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 841s # { 841s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 841s # return property_id_begin - 1; 841s # } 841s # 841s # 841s # 841s # /** 841s # * GoodTypes: 841s # * 841s # * Abstract interface type for the D-Bus interface GoodTypes. 841s # */ 841s # 841s # /** 841s # * GoodTypesIface: 841s # * @parent_iface: The parent interface. 841s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 841s # * 841s # * Virtual table for the D-Bus interface GoodTypes. 841s # */ 841s # 841s # typedef GoodTypesIface GoodTypesInterface; 841s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 841s # 841s # static void 841s # good_types_default_init (GoodTypesIface *iface) 841s # { 841s # /* GObject properties for D-Bus properties: */ 841s # /** 841s # * GoodTypes:good-property-type: 841s # * 841s # * Represents the D-Bus property "GoodPropertyType". 841s # * 841s # * 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. 841s # */ 841s # g_object_interface_install_property (iface, 841s # 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)); 841s # } 841s # 841s # /** 841s # * good_types_get_good_property_type: (skip) 841s # * @object: A GoodTypes. 841s # * 841s # * Gets the value of the "GoodPropertyType" D-Bus property. 841s # * 841s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 841s # * 841s # * 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. 841s # * 841s # * 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. 841s # */ 841s # GVariant * 841s # good_types_get_good_property_type (GoodTypes *object) 841s # { 841s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 841s # 841s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 841s # } 841s # 841s # /** 841s # * good_types_dup_good_property_type: (skip) 841s # * @object: A GoodTypes. 841s # * 841s # * Gets a copy of the "GoodPropertyType" D-Bus property. 841s # * 841s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 841s # * 841s # * 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(). 841s # */ 841s # GVariant * 841s # good_types_dup_good_property_type (GoodTypes *object) 841s # { 841s # GVariant *value; 841s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 841s # return value; 841s # } 841s # 841s # /** 841s # * good_types_set_good_property_type: (skip) 841s # * @object: A GoodTypes. 841s # * @value: The value to set. 841s # * 841s # * Sets the "GoodPropertyType" D-Bus property to @value. 841s # * 841s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 841s # */ 841s # void 841s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 841s # { 841s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 841s # } 841s # 841s # /* ------------------------------------------------------------------------ */ 841s # 841s # /** 841s # * GoodTypesProxy: 841s # * 841s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 841s # */ 841s # 841s # /** 841s # * GoodTypesProxyClass: 841s # * @parent_class: The parent class. 841s # * 841s # * Class structure for GoodTypesProxy. 841s # */ 841s # 841s # struct _GoodTypesProxyPrivate 841s # { 841s # GData *qdata; 841s # }; 841s # 841s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 841s # 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 841s # G_ADD_PRIVATE (GoodTypesProxy) 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 841s # 841s # #else 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 841s # 841s # #endif 841s # static void 841s # good_types_proxy_finalize (GObject *object) 841s # { 841s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 841s # g_datalist_clear (&proxy->priv->qdata); 841s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 841s # } 841s # 841s # static void 841s # good_types_proxy_get_property (GObject *object, 841s # guint prop_id, 841s # GValue *value, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # GVariant *variant; 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 841s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 841s # if (info->use_gvariant) 841s # { 841s # g_value_set_variant (value, variant); 841s # } 841s # else 841s # { 841s # if (variant != NULL) 841s # g_dbus_gvariant_to_gvalue (variant, value); 841s # } 841s # if (variant != NULL) 841s # g_variant_unref (variant); 841s # } 841s # 841s # static void 841s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 841s # GAsyncResult *res, 841s # gpointer user_data) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info = user_data; 841s # GError *error; 841s # GVariant *_ret; 841s # error = NULL; 841s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 841s # if (!_ret) 841s # { 841s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 841s # info->parent_struct.name, 841s # error->message, g_quark_to_string (error->domain), error->code); 841s # g_error_free (error); 841s # } 841s # else 841s # { 841s # g_variant_unref (_ret); 841s # } 841s # } 841s # 841s # static void 841s # good_types_proxy_set_property (GObject *object, 841s # guint prop_id, 841s # const GValue *value, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # GVariant *variant; 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 841s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 841s # g_dbus_proxy_call (G_DBUS_PROXY (object), 841s # "org.freedesktop.DBus.Properties.Set", 841s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 841s # G_DBUS_CALL_FLAGS_NONE, 841s # -1, 841s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 841s # g_variant_unref (variant); 841s # } 841s # 841s # static void 841s # good_types_proxy_g_signal (GDBusProxy *proxy, 841s # const gchar *sender_name G_GNUC_UNUSED, 841s # const gchar *signal_name, 841s # GVariant *parameters) 841s # { 841s # _ExtendedGDBusSignalInfo *info; 841s # GVariantIter iter; 841s # GVariant *child; 841s # GValue *paramv; 841s # gsize num_params; 841s # gsize n; 841s # guint signal_id; 841s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 841s # if (info == NULL) 841s # return; 841s # num_params = g_variant_n_children (parameters); 841s # paramv = g_new0 (GValue, num_params + 1); 841s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 841s # g_value_set_object (¶mv[0], proxy); 841s # g_variant_iter_init (&iter, parameters); 841s # n = 1; 841s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 841s # { 841s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 841s # if (arg_info->use_gvariant) 841s # { 841s # g_value_init (¶mv[n], G_TYPE_VARIANT); 841s # g_value_set_variant (¶mv[n], child); 841s # n++; 841s # } 841s # else 841s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 841s # g_variant_unref (child); 841s # } 841s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 841s # g_signal_emitv (paramv, signal_id, 0, NULL); 841s # for (n = 0; n < num_params + 1; n++) 841s # g_value_unset (¶mv[n]); 841s # g_free (paramv); 841s # } 841s # 841s # static void 841s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 841s # GVariant *changed_properties, 841s # const gchar *const *invalidated_properties) 841s # { 841s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 841s # guint n; 841s # const gchar *key; 841s # GVariantIter *iter; 841s # _ExtendedGDBusPropertyInfo *info; 841s # g_variant_get (changed_properties, "a{sv}", &iter); 841s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 841s # { 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 841s # g_datalist_remove_data (&proxy->priv->qdata, key); 841s # if (info != NULL) 841s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 841s # } 841s # g_variant_iter_free (iter); 841s # for (n = 0; invalidated_properties[n] != NULL; n++) 841s # { 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 841s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 841s # if (info != NULL) 841s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 841s # } 841s # } 841s # 841s # static GVariant * 841s # good_types_proxy_get_good_property_type (GoodTypes *object) 841s # { 841s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 841s # GVariant *variant; 841s # GVariant *value = NULL; 841s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 841s # value = variant; 841s # if (variant != NULL) 841s # g_variant_unref (variant); 841s # return value; 841s # } 841s # 841s # static void 841s # good_types_proxy_init (GoodTypesProxy *proxy) 841s # { 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # proxy->priv = good_types_proxy_get_instance_private (proxy); 841s # #else 841s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 841s # #endif 841s # 841s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 841s # } 841s # 841s # static void 841s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 841s # { 841s # GObjectClass *gobject_class; 841s # GDBusProxyClass *proxy_class; 841s # 841s # gobject_class = G_OBJECT_CLASS (klass); 841s # gobject_class->finalize = good_types_proxy_finalize; 841s # gobject_class->get_property = good_types_proxy_get_property; 841s # gobject_class->set_property = good_types_proxy_set_property; 841s # 841s # proxy_class = G_DBUS_PROXY_CLASS (klass); 841s # proxy_class->g_signal = good_types_proxy_g_signal; 841s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 841s # 841s # good_types_override_properties (gobject_class, 1); 841s # 841s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 841s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 841s # #endif 841s # } 841s # 841s # static void 841s # good_types_proxy_iface_init (GoodTypesIface *iface) 841s # { 841s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 841s # } 841s # 841s # /** 841s # * good_types_proxy_new: 841s # * @connection: A #GDBusConnection. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 841s # * @user_data: User data to pass to @callback. 841s # * 841s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 841s # * 841s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 841s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 841s # * 841s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 841s # */ 841s # void 841s # good_types_proxy_new ( 841s # GDBusConnection *connection, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GAsyncReadyCallback callback, 841s # gpointer user_data) 841s # { 841s # 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); 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_finish: 841s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 841s # * @error: Return location for error or %NULL 841s # * 841s # * Finishes an operation started with good_types_proxy_new(). 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_finish ( 841s # GAsyncResult *res, 841s # GError **error) 841s # { 841s # GObject *ret; 841s # GObject *source_object; 841s # source_object = g_async_result_get_source_object (res); 841s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 841s # g_object_unref (source_object); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_sync: 841s # * @connection: A #GDBusConnection. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @error: Return location for error or %NULL 841s # * 841s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 841s # * 841s # * The calling thread is blocked until a reply is received. 841s # * 841s # * See good_types_proxy_new() for the asynchronous version of this constructor. 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_sync ( 841s # GDBusConnection *connection, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GError **error) 841s # { 841s # GInitable *ret; 841s # 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); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # 841s # /** 841s # * good_types_proxy_new_for_bus: 841s # * @bus_type: A #GBusType. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: A bus name (well-known or unique). 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 841s # * @user_data: User data to pass to @callback. 841s # * 841s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 841s # * 841s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 841s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 841s # * 841s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 841s # */ 841s # void 841s # good_types_proxy_new_for_bus ( 841s # GBusType bus_type, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GAsyncReadyCallback callback, 841s # gpointer user_data) 841s # { 841s # 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); 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_for_bus_finish: 841s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 841s # * @error: Return location for error or %NULL 841s # * 841s # * Finishes an operation started with good_types_proxy_new_for_bus(). 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_for_bus_finish ( 841s # GAsyncResult *res, 841s # GError **error) 841s # { 841s # GObject *ret; 841s # GObject *source_object; 841s # source_object = g_async_result_get_source_object (res); 841s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 841s # g_object_unref (source_object); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_for_bus_sync: 841s # * @bus_type: A #GBusType. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: A bus name (well-known or unique). 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @error: Return location for error or %NULL 841s # * 841s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 841s # * 841s # * The calling thread is blocked until a reply is received. 841s # * 841s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_for_bus_sync ( 841s # GBusType bus_type, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GError **error) 841s # { 841s # GInitable *ret; 841s # 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); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # 841s # /* ------------------------------------------------------------------------ */ 841s # 841s # /** 841s # * GoodTypesSkeleton: 841s # * 841s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 841s # */ 841s # 841s # /** 841s # * GoodTypesSkeletonClass: 841s # * @parent_class: The parent class. 841s # * 841s # * Class structure for GoodTypesSkeleton. 841s # */ 841s # 841s # struct _GoodTypesSkeletonPrivate 841s # { 841s # GValue *properties; 841s # GList *changed_properties; 841s # GSource *changed_properties_idle_source; 841s # GMainContext *context; 841s # GMutex lock; 841s # }; 841s # 841s # static void 841s # _good_types_skeleton_handle_method_call ( 841s # GDBusConnection *connection G_GNUC_UNUSED, 841s # const gchar *sender G_GNUC_UNUSED, 841s # const gchar *object_path G_GNUC_UNUSED, 841s # const gchar *interface_name, 841s # const gchar *method_name, 841s # GVariant *parameters, 841s # GDBusMethodInvocation *invocation, 841s # gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # _ExtendedGDBusMethodInfo *info; 841s # GVariantIter iter; 841s # GVariant *child; 841s # GValue *paramv; 841s # gsize num_params; 841s # guint num_extra; 841s # gsize n; 841s # guint signal_id; 841s # GValue return_value = G_VALUE_INIT; 841s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 841s # g_assert (info != NULL); 841s # num_params = g_variant_n_children (parameters); 841s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 841s # n = 0; 841s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 841s # g_value_set_object (¶mv[n++], skeleton); 841s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 841s # g_value_set_object (¶mv[n++], invocation); 841s # if (info->pass_fdlist) 841s # { 841s # #ifdef G_OS_UNIX 841s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 841s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 841s # #else 841s # g_assert_not_reached (); 841s # #endif 841s # } 841s # g_variant_iter_init (&iter, parameters); 841s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 841s # { 841s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 841s # if (arg_info->use_gvariant) 841s # { 841s # g_value_init (¶mv[n], G_TYPE_VARIANT); 841s # g_value_set_variant (¶mv[n], child); 841s # n++; 841s # } 841s # else 841s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 841s # g_variant_unref (child); 841s # } 841s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 841s # g_value_init (&return_value, G_TYPE_BOOLEAN); 841s # g_signal_emitv (paramv, signal_id, 0, &return_value); 841s # if (!g_value_get_boolean (&return_value)) 841s # 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); 841s # g_value_unset (&return_value); 841s # for (n = 0; n < num_params + num_extra; n++) 841s # g_value_unset (¶mv[n]); 841s # g_free (paramv); 841s # } 841s # 841s # static GVariant * 841s # _good_types_skeleton_handle_get_property ( 841s # GDBusConnection *connection G_GNUC_UNUSED, 841s # const gchar *sender G_GNUC_UNUSED, 841s # const gchar *object_path G_GNUC_UNUSED, 841s # const gchar *interface_name G_GNUC_UNUSED, 841s # const gchar *property_name, 841s # GError **error, 841s # gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # GValue value = G_VALUE_INIT; 841s # GParamSpec *pspec; 841s # _ExtendedGDBusPropertyInfo *info; 841s # GVariant *ret; 841s # ret = NULL; 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 841s # g_assert (info != NULL); 841s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 841s # if (pspec == NULL) 841s # { 841s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 841s # } 841s # else 841s # { 841s # g_value_init (&value, pspec->value_type); 841s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 841s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 841s # g_value_unset (&value); 841s # } 841s # return ret; 841s # } 841s # 841s # static gboolean 841s # _good_types_skeleton_handle_set_property ( 841s # GDBusConnection *connection G_GNUC_UNUSED, 841s # const gchar *sender G_GNUC_UNUSED, 841s # const gchar *object_path G_GNUC_UNUSED, 841s # const gchar *interface_name G_GNUC_UNUSED, 841s # const gchar *property_name, 841s # GVariant *variant, 841s # GError **error, 841s # gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # GValue value = G_VALUE_INIT; 841s # GParamSpec *pspec; 841s # _ExtendedGDBusPropertyInfo *info; 841s # gboolean ret; 841s # ret = FALSE; 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 841s # g_assert (info != NULL); 841s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 841s # if (pspec == NULL) 841s # { 841s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 841s # } 841s # else 841s # { 841s # if (info->use_gvariant) 841s # g_value_set_variant (&value, variant); 841s # else 841s # g_dbus_gvariant_to_gvalue (variant, &value); 841s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 841s # g_value_unset (&value); 841s # ret = TRUE; 841s # } 841s # return ret; 841s # } 841s # 841s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 841s # { 841s # _good_types_skeleton_handle_method_call, 841s # _good_types_skeleton_handle_get_property, 841s # _good_types_skeleton_handle_set_property, 841s # {NULL} 841s # }; 841s # 841s # static GDBusInterfaceInfo * 841s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 841s # { 841s # return good_types_interface_info (); 841s # } 841s # 841s # static GDBusInterfaceVTable * 841s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 841s # { 841s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 841s # } 841s # 841s # static GVariant * 841s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 841s # 841s # GVariantBuilder builder; 841s # guint n; 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 841s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 841s # #else 841s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 841s # #endif 841s # if (_good_types_interface_info.parent_struct.properties == NULL) 841s # goto out; 841s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 841s # { 841s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 841s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 841s # { 841s # GVariant *value; 841s # 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); 841s # if (value != NULL) 841s # { 841s # g_variant_take_ref (value); 841s # g_variant_builder_add (&builder, "{sv}", info->name, value); 841s # g_variant_unref (value); 841s # } 841s # } 841s # } 841s # out: 841s # return g_variant_builder_end (&builder); 841s # } 841s # 841s # static gboolean _good_types_emit_changed (gpointer user_data); 841s # 841s # static void 841s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 841s # gboolean emit_changed = FALSE; 841s # 841s # g_mutex_lock (&skeleton->priv->lock); 841s # if (skeleton->priv->changed_properties_idle_source != NULL) 841s # { 841s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 841s # skeleton->priv->changed_properties_idle_source = NULL; 841s # emit_changed = TRUE; 841s # } 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # 841s # if (emit_changed) 841s # _good_types_emit_changed (skeleton); 841s # } 841s # 841s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 841s # G_ADD_PRIVATE (GoodTypesSkeleton) 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 841s # 841s # #else 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 841s # 841s # #endif 841s # static void 841s # good_types_skeleton_finalize (GObject *object) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # guint n; 841s # for (n = 0; n < 1; n++) 841s # g_value_unset (&skeleton->priv->properties[n]); 841s # g_free (skeleton->priv->properties); 841s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 841s # if (skeleton->priv->changed_properties_idle_source != NULL) 841s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 841s # g_main_context_unref (skeleton->priv->context); 841s # g_mutex_clear (&skeleton->priv->lock); 841s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 841s # } 841s # 841s # static void 841s # good_types_skeleton_get_property (GObject *object, 841s # guint prop_id, 841s # GValue *value, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # g_mutex_lock (&skeleton->priv->lock); 841s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # } 841s # 841s # static gboolean 841s # _good_types_emit_changed (gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # GList *l; 841s # GVariantBuilder builder; 841s # GVariantBuilder invalidated_builder; 841s # guint num_changes; 841s # 841s # g_mutex_lock (&skeleton->priv->lock); 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 841s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 841s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 841s # #else 841s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 841s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 841s # #endif 841s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 841s # { 841s # ChangedProperty *cp = l->data; 841s # GVariant *variant; 841s # const GValue *cur_value; 841s # 841s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 841s # if (!_g_value_equal (cur_value, &cp->orig_value)) 841s # { 841s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 841s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 841s # g_variant_unref (variant); 841s # num_changes++; 841s # } 841s # } 841s # if (num_changes > 0) 841s # { 841s # GList *connections, *ll; 841s # GVariant *signal_variant; 841s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 841s # &builder, &invalidated_builder)); 841s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 841s # for (ll = connections; ll != NULL; ll = ll->next) 841s # { 841s # GDBusConnection *connection = ll->data; 841s # 841s # g_dbus_connection_emit_signal (connection, 841s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 841s # "org.freedesktop.DBus.Properties", 841s # "PropertiesChanged", 841s # signal_variant, 841s # NULL); 841s # } 841s # g_variant_unref (signal_variant); 841s # g_list_free_full (connections, g_object_unref); 841s # } 841s # else 841s # { 841s # g_variant_builder_clear (&builder); 841s # g_variant_builder_clear (&invalidated_builder); 841s # } 841s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 841s # skeleton->priv->changed_properties = NULL; 841s # skeleton->priv->changed_properties_idle_source = NULL; 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # return FALSE; 841s # } 841s # 841s # static void 841s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 841s # { 841s # ChangedProperty *cp; 841s # GList *l; 841s # cp = NULL; 841s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 841s # { 841s # ChangedProperty *i_cp = l->data; 841s # if (i_cp->info == info) 841s # { 841s # cp = i_cp; 841s # break; 841s # } 841s # } 841s # if (cp == NULL) 841s # { 841s # cp = g_new0 (ChangedProperty, 1); 841s # cp->prop_id = prop_id; 841s # cp->info = info; 841s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 841s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 841s # g_value_copy (orig_value, &cp->orig_value); 841s # } 841s # } 841s # 841s # static void 841s # good_types_skeleton_notify (GObject *object, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # g_mutex_lock (&skeleton->priv->lock); 841s # if (skeleton->priv->changed_properties != NULL && 841s # skeleton->priv->changed_properties_idle_source == NULL) 841s # { 841s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 841s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 841s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 841s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 841s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 841s # g_source_unref (skeleton->priv->changed_properties_idle_source); 841s # } 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # } 841s # 841s # static void 841s # good_types_skeleton_set_property (GObject *object, 841s # guint prop_id, 841s # const GValue *value, 841s # GParamSpec *pspec) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 841s # g_mutex_lock (&skeleton->priv->lock); 841s # g_object_freeze_notify (object); 841s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 841s # { 841s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 841s # info->emits_changed_signal) 841s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 841s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 841s # g_object_notify_by_pspec (object, pspec); 841s # } 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # g_object_thaw_notify (object); 841s # } 841s # 841s # static void 841s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 841s # { 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 841s # #else 841s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 841s # #endif 841s # 841s # g_mutex_init (&skeleton->priv->lock); 841s # skeleton->priv->context = g_main_context_ref_thread_default (); 841s # skeleton->priv->properties = g_new0 (GValue, 1); 841s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 841s # } 841s # 841s # static GVariant * 841s # good_types_skeleton_get_good_property_type (GoodTypes *object) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # GVariant *value; 841s # g_mutex_lock (&skeleton->priv->lock); 841s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # return value; 841s # } 841s # 841s # static void 841s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 841s # { 841s # GObjectClass *gobject_class; 841s # GDBusInterfaceSkeletonClass *skeleton_class; 841s # 841s # gobject_class = G_OBJECT_CLASS (klass); 841s # gobject_class->finalize = good_types_skeleton_finalize; 841s # gobject_class->get_property = good_types_skeleton_get_property; 841s # gobject_class->set_property = good_types_skeleton_set_property; 841s # gobject_class->notify = good_types_skeleton_notify; 841s # 841s # 841s # good_types_override_properties (gobject_class, 1); 841s # 841s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 841s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 841s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 841s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 841s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 841s # 841s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 841s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 841s # #endif 841s # } 841s # 841s # static void 841s # good_types_skeleton_iface_init (GoodTypesIface *iface) 841s # { 841s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 841s # } 841s # 841s # /** 841s # * good_types_skeleton_new: 841s # * 841s # * Creates a skeleton object for the D-Bus interface GoodTypes. 841s # * 841s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 841s # */ 841s # GoodTypes * 841s # good_types_skeleton_new (void) 841s # { 841s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 841s # } 841s # Error: 841s # 841s # /tmp/tmpf88voh8s/tmpzprw_5tg.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmpzprw_5tg.xml', '--output', '-', '--body'] 841s # Return code: 0 841s # Output: 841s # /* 841s # * This file is generated by gdbus-codegen, do not modify it. 841s # * 841s # * The license of this code is the same as for the D-Bus interface description 841s # * it was derived from. Note that it links to GLib, so must comply with the 841s # * LGPL linking clauses. 841s # */ 841s # 841s # #ifdef HAVE_CONFIG_H 841s # # include "config.h" 841s # #endif 841s # 841s # #include 841s # #ifdef G_OS_UNIX 841s # # include 841s # #endif 841s # 841s # #ifdef G_ENABLE_DEBUG 841s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 841s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 841s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 841s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 841s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 841s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 841s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 841s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 841s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 841s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 841s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 841s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 841s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 841s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 841s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 841s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 841s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 841s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 841s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 841s # #else /* !G_ENABLE_DEBUG */ 841s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 841s # * Do not access GValues directly in your code. Instead, use the 841s # * g_value_get_*() functions 841s # */ 841s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 841s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 841s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 841s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 841s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 841s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 841s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 841s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 841s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 841s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 841s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 841s # #endif /* !G_ENABLE_DEBUG */ 841s # 841s # typedef struct 841s # { 841s # GDBusArgInfo parent_struct; 841s # gboolean use_gvariant; 841s # } _ExtendedGDBusArgInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusMethodInfo parent_struct; 841s # const gchar *signal_name; 841s # gboolean pass_fdlist; 841s # } _ExtendedGDBusMethodInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusSignalInfo parent_struct; 841s # const gchar *signal_name; 841s # } _ExtendedGDBusSignalInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusPropertyInfo parent_struct; 841s # const gchar *hyphen_name; 841s # guint use_gvariant : 1; 841s # guint emits_changed_signal : 1; 841s # } _ExtendedGDBusPropertyInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusInterfaceInfo parent_struct; 841s # const gchar *hyphen_name; 841s # } _ExtendedGDBusInterfaceInfo; 841s # 841s # typedef struct 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # guint prop_id; 841s # GValue orig_value; /* the value before the change */ 841s # } ChangedProperty; 841s # 841s # static void 841s # _changed_property_free (ChangedProperty *data) 841s # { 841s # g_value_unset (&data->orig_value); 841s # g_free (data); 841s # } 841s # 841s # static gboolean 841s # _g_strv_equal0 (gchar **a, gchar **b) 841s # { 841s # gboolean ret = FALSE; 841s # guint n; 841s # if (a == NULL && b == NULL) 841s # { 841s # ret = TRUE; 841s # goto out; 841s # } 841s # if (a == NULL || b == NULL) 841s # goto out; 841s # if (g_strv_length (a) != g_strv_length (b)) 841s # goto out; 841s # for (n = 0; a[n] != NULL; n++) 841s # if (g_strcmp0 (a[n], b[n]) != 0) 841s # goto out; 841s # ret = TRUE; 841s # out: 841s # return ret; 841s # } 841s # 841s # static gboolean 841s # _g_variant_equal0 (GVariant *a, GVariant *b) 841s # { 841s # gboolean ret = FALSE; 841s # if (a == NULL && b == NULL) 841s # { 841s # ret = TRUE; 841s # goto out; 841s # } 841s # if (a == NULL || b == NULL) 841s # goto out; 841s # ret = g_variant_equal (a, b); 841s # out: 841s # return ret; 841s # } 841s # 841s # G_GNUC_UNUSED static gboolean 841s # _g_value_equal (const GValue *a, const GValue *b) 841s # { 841s # gboolean ret = FALSE; 841s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 841s # switch (G_VALUE_TYPE (a)) 841s # { 841s # case G_TYPE_BOOLEAN: 841s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 841s # break; 841s # case G_TYPE_UCHAR: 841s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 841s # break; 841s # case G_TYPE_INT: 841s # ret = (g_value_get_int (a) == g_value_get_int (b)); 841s # break; 841s # case G_TYPE_UINT: 841s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 841s # break; 841s # case G_TYPE_INT64: 841s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 841s # break; 841s # case G_TYPE_UINT64: 841s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 841s # break; 841s # case G_TYPE_DOUBLE: 841s # { 841s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 841s # gdouble da = g_value_get_double (a); 841s # gdouble db = g_value_get_double (b); 841s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 841s # } 841s # break; 841s # case G_TYPE_STRING: 841s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 841s # break; 841s # case G_TYPE_VARIANT: 841s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 841s # break; 841s # default: 841s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 841s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 841s # else 841s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 841s # break; 841s # } 841s # return ret; 841s # } 841s # 841s # /* ------------------------------------------------------------------------ 841s # * Code for interface GoodTypes 841s # * ------------------------------------------------------------------------ 841s # */ 841s # 841s # /** 841s # * SECTION:GoodTypes 841s # * @title: GoodTypes 841s # * @short_description: Generated C code for the GoodTypes D-Bus interface 841s # * 841s # * This section contains code for working with the GoodTypes D-Bus interface in C. 841s # */ 841s # 841s # /* ---- Introspection data for GoodTypes ---- */ 841s # 841s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 841s # { 841s # { 841s # -1, 841s # (gchar *) "GoodPropertyType", 841s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 841s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 841s # NULL 841s # }, 841s # "good-property-type", 841s # FALSE, 841s # TRUE 841s # }; 841s # 841s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 841s # { 841s # &_good_types_property_info_good_property_type.parent_struct, 841s # NULL 841s # }; 841s # 841s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 841s # { 841s # { 841s # -1, 841s # (gchar *) "GoodTypes", 841s # NULL, 841s # NULL, 841s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 841s # NULL 841s # }, 841s # "good-types", 841s # }; 841s # 841s # 841s # /** 841s # * good_types_interface_info: 841s # * 841s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 841s # * 841s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 841s # */ 841s # GDBusInterfaceInfo * 841s # good_types_interface_info (void) 841s # { 841s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 841s # } 841s # 841s # /** 841s # * good_types_override_properties: 841s # * @klass: The class structure for a #GObject derived class. 841s # * @property_id_begin: The property id to assign to the first overridden property. 841s # * 841s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 841s # * The properties are overridden in the order they are defined. 841s # * 841s # * Returns: The last property id. 841s # */ 841s # guint 841s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 841s # { 841s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 841s # return property_id_begin - 1; 841s # } 841s # 841s # 841s # 841s # /** 841s # * GoodTypes: 841s # * 841s # * Abstract interface type for the D-Bus interface GoodTypes. 841s # */ 841s # 841s # /** 841s # * GoodTypesIface: 841s # * @parent_iface: The parent interface. 841s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 841s # * 841s # * Virtual table for the D-Bus interface GoodTypes. 841s # */ 841s # 841s # typedef GoodTypesIface GoodTypesInterface; 841s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 841s # 841s # static void 841s # good_types_default_init (GoodTypesIface *iface) 841s # { 841s # /* GObject properties for D-Bus properties: */ 841s # /** 841s # * GoodTypes:good-property-type: 841s # * 841s # * Represents the D-Bus property "GoodPropertyType". 841s # * 841s # * 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. 841s # */ 841s # g_object_interface_install_property (iface, 841s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 841s # } 841s # 841s # /** 841s # * good_types_get_good_property_type: (skip) 841s # * @object: A GoodTypes. 841s # * 841s # * Gets the value of the "GoodPropertyType" D-Bus property. 841s # * 841s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 841s # * 841s # * 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. 841s # * 841s # * 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. 841s # */ 841s # GVariant * 841s # good_types_get_good_property_type (GoodTypes *object) 841s # { 841s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 841s # 841s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 841s # } 841s # 841s # /** 841s # * good_types_dup_good_property_type: (skip) 841s # * @object: A GoodTypes. 841s # * 841s # * Gets a copy of the "GoodPropertyType" D-Bus property. 841s # * 841s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 841s # * 841s # * 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(). 841s # */ 841s # GVariant * 841s # good_types_dup_good_property_type (GoodTypes *object) 841s # { 841s # GVariant *value; 841s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 841s # return value; 841s # } 841s # 841s # /** 841s # * good_types_set_good_property_type: (skip) 841s # * @object: A GoodTypes. 841s # * @value: The value to set. 841s # * 841s # * Sets the "GoodPropertyType" D-Bus property to @value. 841s # * 841s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 841s # */ 841s # void 841s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 841s # { 841s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 841s # } 841s # 841s # /* ------------------------------------------------------------------------ */ 841s # 841s # /** 841s # * GoodTypesProxy: 841s # * 841s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 841s # */ 841s # 841s # /** 841s # * GoodTypesProxyClass: 841s # * @parent_class: The parent class. 841s # * 841s # * Class structure for GoodTypesProxy. 841s # */ 841s # 841s # struct _GoodTypesProxyPrivate 841s # { 841s # GData *qdata; 841s # }; 841s # 841s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 841s # 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 841s # G_ADD_PRIVATE (GoodTypesProxy) 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 841s # 841s # #else 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 841s # 841s # #endif 841s # static void 841s # good_types_proxy_finalize (GObject *object) 841s # { 841s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 841s # g_datalist_clear (&proxy->priv->qdata); 841s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 841s # } 841s # 841s # static void 841s # good_types_proxy_get_property (GObject *object, 841s # guint prop_id, 841s # GValue *value, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # GVariant *variant; 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 841s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 841s # if (info->use_gvariant) 841s # { 841s # g_value_set_variant (value, variant); 841s # } 841s # else 841s # { 841s # if (variant != NULL) 841s # g_dbus_gvariant_to_gvalue (variant, value); 841s # } 841s # if (variant != NULL) 841s # g_variant_unref (variant); 841s # } 841s # 841s # static void 841s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 841s # GAsyncResult *res, 841s # gpointer user_data) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info = user_data; 841s # GError *error; 841s # GVariant *_ret; 841s # error = NULL; 841s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 841s # if (!_ret) 841s # { 841s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 841s # info->parent_struct.name, 841s # error->message, g_quark_to_string (error->domain), error->code); 841s # g_error_free (error); 841s # } 841s # else 841s # { 841s # g_variant_unref (_ret); 841s # } 841s # } 841s # 841s # static void 841s # good_types_proxy_set_property (GObject *object, 841s # guint prop_id, 841s # const GValue *value, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # GVariant *variant; 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 841s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 841s # g_dbus_proxy_call (G_DBUS_PROXY (object), 841s # "org.freedesktop.DBus.Properties.Set", 841s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 841s # G_DBUS_CALL_FLAGS_NONE, 841s # -1, 841s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 841s # g_variant_unref (variant); 841s # } 841s # 841s # static void 841s # good_types_proxy_g_signal (GDBusProxy *proxy, 841s # const gchar *sender_name G_GNUC_UNUSED, 841s # const gchar *signal_name, 841s # GVariant *parameters) 841s # { 841s # _ExtendedGDBusSignalInfo *info; 841s # GVariantIter iter; 841s # GVariant *child; 841s # GValue *paramv; 841s # gsize num_params; 841s # gsize n; 841s # guint signal_id; 841s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 841s # if (info == NULL) 841s # return; 841s # num_params = g_variant_n_children (parameters); 841s # paramv = g_new0 (GValue, num_params + 1); 841s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 841s # g_value_set_object (¶mv[0], proxy); 841s # g_variant_iter_init (&iter, parameters); 841s # n = 1; 841s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 841s # { 841s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 841s # if (arg_info->use_gvariant) 841s # { 841s # g_value_init (¶mv[n], G_TYPE_VARIANT); 841s # g_value_set_variant (¶mv[n], child); 841s # n++; 841s # } 841s # else 841s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 841s # g_variant_unref (child); 841s # } 841s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 841s # g_signal_emitv (paramv, signal_id, 0, NULL); 841s # for (n = 0; n < num_params + 1; n++) 841s # g_value_unset (¶mv[n]); 841s # g_free (paramv); 841s # } 841s # 841s # static void 841s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 841s # GVariant *changed_properties, 841s # const gchar *const *invalidated_properties) 841s # { 841s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 841s # guint n; 841s # const gchar *key; 841s # GVariantIter *iter; 841s # _ExtendedGDBusPropertyInfo *info; 841s # g_variant_get (changed_properties, "a{sv}", &iter); 841s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 841s # { 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 841s # g_datalist_remove_data (&proxy->priv->qdata, key); 841s # if (info != NULL) 841s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 841s # } 841s # g_variant_iter_free (iter); 841s # for (n = 0; invalidated_properties[n] != NULL; n++) 841s # { 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 841s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 841s # if (info != NULL) 841s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 841s # } 841s # } 841s # 841s # static GVariant * 841s # good_types_proxy_get_good_property_type (GoodTypes *object) 841s # { 841s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 841s # GVariant *variant; 841s # GVariant *value = NULL; 841s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 841s # value = variant; 841s # if (variant != NULL) 841s # g_variant_unref (variant); 841s # return value; 841s # } 841s # 841s # static void 841s # good_types_proxy_init (GoodTypesProxy *proxy) 841s # { 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # proxy->priv = good_types_proxy_get_instance_private (proxy); 841s # #else 841s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 841s # #endif 841s # 841s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 841s # } 841s # 841s # static void 841s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 841s # { 841s # GObjectClass *gobject_class; 841s # GDBusProxyClass *proxy_class; 841s # 841s # gobject_class = G_OBJECT_CLASS (klass); 841s # gobject_class->finalize = good_types_proxy_finalize; 841s # gobject_class->get_property = good_types_proxy_get_property; 841s # gobject_class->set_property = good_types_proxy_set_property; 841s # 841s # proxy_class = G_DBUS_PROXY_CLASS (klass); 841s # proxy_class->g_signal = good_types_proxy_g_signal; 841s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 841s # 841s # good_types_override_properties (gobject_class, 1); 841s # 841s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 841s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 841s # #endif 841s # } 841s # 841s # static void 841s # good_types_proxy_iface_init (GoodTypesIface *iface) 841s # { 841s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 841s # } 841s # 841s # /** 841s # * good_types_proxy_new: 841s # * @connection: A #GDBusConnection. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 841s # * @user_data: User data to pass to @callback. 841s # * 841s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 841s # * 841s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 841s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 841s # * 841s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 841s # */ 841s # void 841s # good_types_proxy_new ( 841s # GDBusConnection *connection, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GAsyncReadyCallback callback, 841s # gpointer user_data) 841s # { 841s # 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); 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_finish: 841s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 841s # * @error: Return location for error or %NULL 841s # * 841s # * Finishes an operation started with good_types_proxy_new(). 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_finish ( 841s # GAsyncResult *res, 841s # GError **error) 841s # { 841s # GObject *ret; 841s # GObject *source_object; 841s # source_object = g_async_result_get_source_object (res); 841s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 841s # g_object_unref (source_object); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_sync: 841s # * @connection: A #GDBusConnection. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @error: Return location for error or %NULL 841s # * 841s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 841s # * 841s # * The calling thread is blocked until a reply is received. 841s # * 841s # * See good_types_proxy_new() for the asynchronous version of this constructor. 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_sync ( 841s # GDBusConnection *connection, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GError **error) 841s # { 841s # GInitable *ret; 841s # 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); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # 841s # /** 841s # * good_types_proxy_new_for_bus: 841s # * @bus_type: A #GBusType. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: A bus name (well-known or unique). 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 841s # * @user_data: User data to pass to @callback. 841s # * 841s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 841s # * 841s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 841s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 841s # * 841s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 841s # */ 841s # void 841s # good_types_proxy_new_for_bus ( 841s # GBusType bus_type, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GAsyncReadyCallback callback, 841s # gpointer user_data) 841s # { 841s # 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); 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_for_bus_finish: 841s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 841s # * @error: Return location for error or %NULL 841s # * 841s # * Finishes an operation started with good_types_proxy_new_for_bus(). 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_for_bus_finish ( 841s # GAsyncResult *res, 841s # GError **error) 841s # { 841s # GObject *ret; 841s # GObject *source_object; 841s # source_object = g_async_result_get_source_object (res); 841s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 841s # g_object_unref (source_object); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_for_bus_sync: 841s # * @bus_type: A #GBusType. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: A bus name (well-known or unique). 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @error: Return location for error or %NULL 841s # * 841s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 841s # * 841s # * The calling thread is blocked until a reply is received. 841s # * 841s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_for_bus_sync ( 841s # GBusType bus_type, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GError **error) 841s # { 841s # GInitable *ret; 841s # 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); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # 841s # /* ------------------------------------------------------------------------ */ 841s # 841s # /** 841s # * GoodTypesSkeleton: 841s # * 841s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 841s # */ 841s # 841s # /** 841s # * GoodTypesSkeletonClass: 841s # * @parent_class: The parent class. 841s # * 841s # * Class structure for GoodTypesSkeleton. 841s # */ 841s # 841s # struct _GoodTypesSkeletonPrivate 841s # { 841s # GValue *properties; 841s # GList *changed_properties; 841s # GSource *changed_properties_idle_source; 841s # GMainContext *context; 841s # GMutex lock; 841s # }; 841s # 841s # static void 841s # _good_types_skeleton_handle_method_call ( 841s # GDBusConnection *connection G_GNUC_UNUSED, 841s # const gchar *sender G_GNUC_UNUSED, 841s # const gchar *object_path G_GNUC_UNUSED, 841s # const gchar *interface_name, 841s # const gchar *method_name, 841s # GVariant *parameters, 841s # GDBusMethodInvocation *invocation, 841s # gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # _ExtendedGDBusMethodInfo *info; 841s # GVariantIter iter; 841s # GVariant *child; 841s # GValue *paramv; 841s # gsize num_params; 841s # guint num_extra; 841s # gsize n; 841s # guint signal_id; 841s # GValue return_value = G_VALUE_INIT; 841s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 841s # g_assert (info != NULL); 841s # num_params = g_variant_n_children (parameters); 841s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 841s # n = 0; 841s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 841s # g_value_set_object (¶mv[n++], skeleton); 841s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 841s # g_value_set_object (¶mv[n++], invocation); 841s # if (info->pass_fdlist) 841s # { 841s # #ifdef G_OS_UNIX 841s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 841s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 841s # #else 841s # g_assert_not_reached (); 841s # #endif 841s # } 841s # g_variant_iter_init (&iter, parameters); 841s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 841s # { 841s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 841s # if (arg_info->use_gvariant) 841s # { 841s # g_value_init (¶mv[n], G_TYPE_VARIANT); 841s # g_value_set_variant (¶mv[n], child); 841s # n++; 841s # } 841s # else 841s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 841s # g_variant_unref (child); 841s # } 841s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 841s # g_value_init (&return_value, G_TYPE_BOOLEAN); 841s # g_signal_emitv (paramv, signal_id, 0, &return_value); 841s # if (!g_value_get_boolean (&return_value)) 841s # 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); 841s # g_value_unset (&return_value); 841s # for (n = 0; n < num_params + num_extra; n++) 841s # g_value_unset (¶mv[n]); 841s # g_free (paramv); 841s # } 841s # 841s # static GVariant * 841s # _good_types_skeleton_handle_get_property ( 841s # GDBusConnection *connection G_GNUC_UNUSED, 841s # const gchar *sender G_GNUC_UNUSED, 841s # const gchar *object_path G_GNUC_UNUSED, 841s # const gchar *interface_name G_GNUC_UNUSED, 841s # const gchar *property_name, 841s # GError **error, 841s # gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # GValue value = G_VALUE_INIT; 841s # GParamSpec *pspec; 841s # _ExtendedGDBusPropertyInfo *info; 841s # GVariant *ret; 841s # ret = NULL; 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 841s # g_assert (info != NULL); 841s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 841s # if (pspec == NULL) 841s # { 841s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 841s # } 841s # else 841s # { 841s # g_value_init (&value, pspec->value_type); 841s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 841s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 841s # g_value_unset (&value); 841s # } 841s # return ret; 841s # } 841s # 841s # static gboolean 841s # _good_types_skeleton_handle_set_property ( 841s # GDBusConnection *connection G_GNUC_UNUSED, 841s # const gchar *sender G_GNUC_UNUSED, 841s # const gchar *object_path G_GNUC_UNUSED, 841s # const gchar *interface_name G_GNUC_UNUSED, 841s # const gchar *property_name, 841s # GVariant *variant, 841s # GError **error, 841s # gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # GValue value = G_VALUE_INIT; 841s # GParamSpec *pspec; 841s # _ExtendedGDBusPropertyInfo *info; 841s # gboolean ret; 841s # ret = FALSE; 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 841s # g_assert (info != NULL); 841s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 841s # if (pspec == NULL) 841s # { 841s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 841s # } 841s # else 841s # { 841s # if (info->use_gvariant) 841s # g_value_set_variant (&value, variant); 841s # else 841s # g_dbus_gvariant_to_gvalue (variant, &value); 841s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 841s # g_value_unset (&value); 841s # ret = TRUE; 841s # } 841s # return ret; 841s # } 841s # 841s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 841s # { 841s # _good_types_skeleton_handle_method_call, 841s # _good_types_skeleton_handle_get_property, 841s # _good_types_skeleton_handle_set_property, 841s # {NULL} 841s # }; 841s # 841s # static GDBusInterfaceInfo * 841s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 841s # { 841s # return good_types_interface_info (); 841s # } 841s # 841s # static GDBusInterfaceVTable * 841s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 841s # { 841s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 841s # } 841s # 841s # static GVariant * 841s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 841s # 841s # GVariantBuilder builder; 841s # guint n; 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 841s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 841s # #else 841s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 841s # #endif 841s # if (_good_types_interface_info.parent_struct.properties == NULL) 841s # goto out; 841s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 841s # { 841s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 841s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 841s # { 841s # GVariant *value; 841s # 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); 841s # if (value != NULL) 841s # { 841s # g_variant_take_ref (value); 841s # g_variant_builder_add (&builder, "{sv}", info->name, value); 841s # g_variant_unref (value); 841s # } 841s # } 841s # } 841s # out: 841s # return g_variant_builder_end (&builder); 841s # } 841s # 841s # static gboolean _good_types_emit_changed (gpointer user_data); 841s # 841s # static void 841s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 841s # gboolean emit_changed = FALSE; 841s # 841s # g_mutex_lock (&skeleton->priv->lock); 841s # if (skeleton->priv->changed_properties_idle_source != NULL) 841s # { 841s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 841s # skeleton->priv->changed_properties_idle_source = NULL; 841s # emit_changed = TRUE; 841s # } 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # 841s # if (emit_changed) 841s # _good_types_emit_changed (skeleton); 841s # } 841s # 841s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 841s # G_ADD_PRIVATE (GoodTypesSkeleton) 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 841s # 841s # #else 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 841s # 841s # #endif 841s # static void 841s # good_types_skeleton_finalize (GObject *object) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # guint n; 841s # for (n = 0; n < 1; n++) 841s # g_value_unset (&skeleton->priv->properties[n]); 841s # g_free (skeleton->priv->properties); 841s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 841s # if (skeleton->priv->changed_properties_idle_source != NULL) 841s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 841s # g_main_context_unref (skeleton->priv->context); 841s # g_mutex_clear (&skeleton->priv->lock); 841s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 841s # } 841s # 841s # static void 841s # good_types_skeleton_get_property (GObject *object, 841s # guint prop_id, 841s # GValue *value, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # g_mutex_lock (&skeleton->priv->lock); 841s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # } 841s # 841s # static gboolean 841s # _good_types_emit_changed (gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # GList *l; 841s # GVariantBuilder builder; 841s # GVariantBuilder invalidated_builder; 841s # guint num_changes; 841s # 841s # g_mutex_lock (&skeleton->priv->lock); 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 841s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 841s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 841s # #else 841s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 841s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 841s # #endif 841s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 841s # { 841s # ChangedProperty *cp = l->data; 841s # GVariant *variant; 841s # const GValue *cur_value; 841s # 841s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 841s # if (!_g_value_equal (cur_value, &cp->orig_value)) 841s # { 841s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 841s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 841s # g_variant_unref (variant); 841s # num_changes++; 841s # } 841s # } 841s # if (num_changes > 0) 841s # { 841s # GList *connections, *ll; 841s # GVariant *signal_variant; 841s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 841s # &builder, &invalidated_builder)); 841s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 841s # for (ll = connections; ll != NULL; ll = ll->next) 841s # { 841s # GDBusConnection *connection = ll->data; 841s # 841s # g_dbus_connection_emit_signal (connection, 841s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 841s # "org.freedesktop.DBus.Properties", 841s # "PropertiesChanged", 841s # signal_variant, 841s # NULL); 841s # } 841s # g_variant_unref (signal_variant); 841s # g_list_free_full (connections, g_object_unref); 841s # } 841s # else 841s # { 841s # g_variant_builder_clear (&builder); 841s # g_variant_builder_clear (&invalidated_builder); 841s # } 841s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 841s # skeleton->priv->changed_properties = NULL; 841s # skeleton->priv->changed_properties_idle_source = NULL; 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # return FALSE; 841s # } 841s # 841s # static void 841s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 841s # { 841s # ChangedProperty *cp; 841s # GList *l; 841s # cp = NULL; 841s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 841s # { 841s # ChangedProperty *i_cp = l->data; 841s # if (i_cp->info == info) 841s # { 841s # cp = i_cp; 841s # break; 841s # } 841s # } 841s # if (cp == NULL) 841s # { 841s # cp = g_new0 (ChangedProperty, 1); 841s # cp->prop_id = prop_id; 841s # cp->info = info; 841s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 841s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 841s # g_value_copy (orig_value, &cp->orig_value); 841s # } 841s # } 841s # 841s # static void 841s # good_types_skeleton_notify (GObject *object, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # g_mutex_lock (&skeleton->priv->lock); 841s # if (skeleton->priv->changed_properties != NULL && 841s # skeleton->priv->changed_properties_idle_source == NULL) 841s # { 841s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 841s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 841s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 841s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 841s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 841s # g_source_unref (skeleton->priv->changed_properties_idle_source); 841s # } 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # } 841s # 841s # static void 841s # good_types_skeleton_set_property (GObject *object, 841s # guint prop_id, 841s # const GValue *value, 841s # GParamSpec *pspec) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 841s # g_mutex_lock (&skeleton->priv->lock); 841s # g_object_freeze_notify (object); 841s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 841s # { 841s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 841s # info->emits_changed_signal) 841s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 841s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 841s # g_object_notify_by_pspec (object, pspec); 841s # } 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # g_object_thaw_notify (object); 841s # } 841s # 841s # static void 841s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 841s # { 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 841s # #else 841s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 841s # #endif 841s # 841s # g_mutex_init (&skeleton->priv->lock); 841s # skeleton->priv->context = g_main_context_ref_thread_default (); 841s # skeleton->priv->properties = g_new0 (GValue, 1); 841s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 841s # } 841s # 841s # static GVariant * 841s # good_types_skeleton_get_good_property_type (GoodTypes *object) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # GVariant *value; 841s # g_mutex_lock (&skeleton->priv->lock); 841s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # return value; 841s # } 841s # 841s # static void 841s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 841s # { 841s # GObjectClass *gobject_class; 841s # GDBusInterfaceSkeletonClass *skeleton_class; 841s # 841s # gobject_class = G_OBJECT_CLASS (klass); 841s # gobject_class->finalize = good_types_skeleton_finalize; 841s # gobject_class->get_property = good_types_skeleton_get_property; 841s # gobject_class->set_property = good_types_skeleton_set_property; 841s # gobject_class->notify = good_types_skeleton_notify; 841s # 841s # 841s # good_types_override_properties (gobject_class, 1); 841s # 841s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 841s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 841s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 841s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 841s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 841s # 841s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 841s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 841s # #endif 841s # } 841s # 841s # static void 841s # good_types_skeleton_iface_init (GoodTypesIface *iface) 841s # { 841s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 841s # } 841s # 841s # /** 841s # * good_types_skeleton_new: 841s # * 841s # * Creates a skeleton object for the D-Bus interface GoodTypes. 841s # * 841s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 841s # */ 841s # GoodTypes * 841s # good_types_skeleton_new (void) 841s # { 841s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 841s # } 841s # Error: 841s # 841s # /tmp/tmpf88voh8s/tmpuqcoj302.xml: 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf88voh8s/tmpuqcoj302.xml', '--output', '-', '--body'] 841s # Return code: 0 841s # Output: 841s # /* 841s # * This file is generated by gdbus-codegen, do not modify it. 841s # * 841s # * The license of this code is the same as for the D-Bus interface description 841s # * it was derived from. Note that it links to GLib, so must comply with the 841s # * LGPL linking clauses. 841s # */ 841s # 841s # #ifdef HAVE_CONFIG_H 841s # # include "config.h" 841s # #endif 841s # 841s # #include 841s # #ifdef G_OS_UNIX 841s # # include 841s # #endif 841s # 841s # #ifdef G_ENABLE_DEBUG 841s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 841s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 841s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 841s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 841s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 841s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 841s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 841s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 841s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 841s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 841s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 841s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 841s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 841s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 841s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 841s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 841s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 841s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 841s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 841s # #else /* !G_ENABLE_DEBUG */ 841s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 841s # * Do not access GValues directly in your code. Instead, use the 841s # * g_value_get_*() functions 841s # */ 841s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 841s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 841s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 841s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 841s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 841s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 841s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 841s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 841s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 841s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 841s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 841s # #endif /* !G_ENABLE_DEBUG */ 841s # 841s # typedef struct 841s # { 841s # GDBusArgInfo parent_struct; 841s # gboolean use_gvariant; 841s # } _ExtendedGDBusArgInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusMethodInfo parent_struct; 841s # const gchar *signal_name; 841s # gboolean pass_fdlist; 841s # } _ExtendedGDBusMethodInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusSignalInfo parent_struct; 841s # const gchar *signal_name; 841s # } _ExtendedGDBusSignalInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusPropertyInfo parent_struct; 841s # const gchar *hyphen_name; 841s # guint use_gvariant : 1; 841s # guint emits_changed_signal : 1; 841s # } _ExtendedGDBusPropertyInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusInterfaceInfo parent_struct; 841s # const gchar *hyphen_name; 841s # } _ExtendedGDBusInterfaceInfo; 841s # 841s # typedef struct 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # guint prop_id; 841s # GValue orig_value; /* the value before the change */ 841s # } ChangedProperty; 841s # 841s # static void 841s # _changed_property_free (ChangedProperty *data) 841s # { 841s # g_value_unset (&data->orig_value); 841s # g_free (data); 841s # } 841s # 841s # static gboolean 841s # _g_strv_equal0 (gchar **a, gchar **b) 841s # { 841s # gboolean ret = FALSE; 841s # guint n; 841s # if (a == NULL && b == NULL) 841s # { 841s # ret = TRUE; 841s # goto out; 841s # } 841s # if (a == NULL || b == NULL) 841s # goto out; 841s # if (g_strv_length (a) != g_strv_length (b)) 841s # goto out; 841s # for (n = 0; a[n] != NULL; n++) 841s # if (g_strcmp0 (a[n], b[n]) != 0) 841s # goto out; 841s # ret = TRUE; 841s # out: 841s # return ret; 841s # } 841s # 841s # static gboolean 841s # _g_variant_equal0 (GVariant *a, GVariant *b) 841s # { 841s # gboolean ret = FALSE; 841s # if (a == NULL && b == NULL) 841s # { 841s # ret = TRUE; 841s # goto out; 841s # } 841s # if (a == NULL || b == NULL) 841s # goto out; 841s # ret = g_variant_equal (a, b); 841s # out: 841s # return ret; 841s # } 841s # 841s # G_GNUC_UNUSED static gboolean 841s # _g_value_equal (const GValue *a, const GValue *b) 841s # { 841s # gboolean ret = FALSE; 841s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 841s # switch (G_VALUE_TYPE (a)) 841s # { 841s # case G_TYPE_BOOLEAN: 841s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 841s # break; 841s # case G_TYPE_UCHAR: 841s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 841s # break; 841s # case G_TYPE_INT: 841s # ret = (g_value_get_int (a) == g_value_get_int (b)); 841s # break; 841s # case G_TYPE_UINT: 841s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 841s # break; 841s # case G_TYPE_INT64: 841s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 841s # break; 841s # case G_TYPE_UINT64: 841s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 841s # break; 841s # case G_TYPE_DOUBLE: 841s # { 841s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 841s # gdouble da = g_value_get_double (a); 841s # gdouble db = g_value_get_double (b); 841s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 841s # } 841s # break; 841s # case G_TYPE_STRING: 841s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 841s # break; 841s # case G_TYPE_VARIANT: 841s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 841s # break; 841s # default: 841s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 841s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 841s # else 841s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 841s # break; 841s # } 841s # return ret; 841s # } 841s # 841s # /* ------------------------------------------------------------------------ 841s # * Code for interface GoodTypes 841s # * ------------------------------------------------------------------------ 841s # */ 841s # 841s # /** 841s # * SECTION:GoodTypes 841s # * @title: GoodTypes 841s # * @short_description: Generated C code for the GoodTypes D-Bus interface 841s # * 841s # * This section contains code for working with the GoodTypes D-Bus interface in C. 841s # */ 841s # 841s # /* ---- Introspection data for GoodTypes ---- */ 841s # 841s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 841s # { 841s # { 841s # -1, 841s # (gchar *) "GoodPropertyType", 841s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 841s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 841s # NULL 841s # }, 841s # "good-property-type", 841s # FALSE, 841s # TRUE 841s # }; 841s # 841s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 841s # { 841s # &_good_types_property_info_good_property_type.parent_struct, 841s # NULL 841s # }; 841s # 841s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 841s # { 841s # { 841s # -1, 841s # (gchar *) "GoodTypes", 841s # NULL, 841s # NULL, 841s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 841s # NULL 841s # }, 841s # "good-types", 841s # }; 841s # 841s # 841s # /** 841s # * good_types_interface_info: 841s # * 841s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 841s # * 841s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 841s # */ 841s # GDBusInterfaceInfo * 841s # good_types_interface_info (void) 841s # { 841s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 841s # } 841s # 841s # /** 841s # * good_types_override_properties: 841s # * @klass: The class structure for a #GObject derived class. 841s # * @property_id_begin: The property id to assign to the first overridden property. 841s # * 841s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 841s # * The properties are overridden in the order they are defined. 841s # * 841s # * Returns: The last property id. 841s # */ 841s # guint 841s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 841s # { 841s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 841s # return property_id_begin - 1; 841s # } 841s # 841s # 841s # 841s # /** 841s # * GoodTypes: 841s # * 841s # * Abstract interface type for the D-Bus interface GoodTypes. 841s # */ 841s # 841s # /** 841s # * GoodTypesIface: 841s # * @parent_iface: The parent interface. 841s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 841s # * 841s # * Virtual table for the D-Bus interface GoodTypes. 841s # */ 841s # 841s # typedef GoodTypesIface GoodTypesInterface; 841s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 841s # 841s # static void 841s # good_types_default_init (GoodTypesIface *iface) 841s # { 841s # /* GObject properties for D-Bus properties: */ 841s # /** 841s # * GoodTypes:good-property-type: 841s # * 841s # * Represents the D-Bus property "GoodPropertyType". 841s # * 841s # * 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. 841s # */ 841s # g_object_interface_install_property (iface, 841s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 841s # } 841s # 841s # /** 841s # * good_types_get_good_property_type: (skip) 841s # * @object: A GoodTypes. 841s # * 841s # * Gets the value of the "GoodPropertyType" D-Bus property. 841s # * 841s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 841s # * 841s # * 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. 841s # * 841s # * 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. 841s # */ 841s # GVariant * 841s # good_types_get_good_property_type (GoodTypes *object) 841s # { 841s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 841s # 841s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 841s # } 841s # 841s # /** 841s # * good_types_dup_good_property_type: (skip) 841s # * @object: A GoodTypes. 841s # * 841s # * Gets a copy of the "GoodPropertyType" D-Bus property. 841s # * 841s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 841s # * 841s # * 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(). 841s # */ 841s # GVariant * 841s # good_types_dup_good_property_type (GoodTypes *object) 841s # { 841s # GVariant *value; 841s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 841s # return value; 841s # } 841s # 841s # /** 841s # * good_types_set_good_property_type: (skip) 841s # * @object: A GoodTypes. 841s # * @value: The value to set. 841s # * 841s # * Sets the "GoodPropertyType" D-Bus property to @value. 841s # * 841s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 841s # */ 841s # void 841s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 841s # { 841s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 841s # } 841s # 841s # /* ------------------------------------------------------------------------ */ 841s # 841s # /** 841s # * GoodTypesProxy: 841s # * 841s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 841s # */ 841s # 841s # /** 841s # * GoodTypesProxyClass: 841s # * @parent_class: The parent class. 841s # * 841s # * Class structure for GoodTypesProxy. 841s # */ 841s # 841s # struct _GoodTypesProxyPrivate 841s # { 841s # GData *qdata; 841s # }; 841s # 841s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 841s # 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 841s # G_ADD_PRIVATE (GoodTypesProxy) 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 841s # 841s # #else 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 841s # 841s # #endif 841s # static void 841s # good_types_proxy_finalize (GObject *object) 841s # { 841s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 841s # g_datalist_clear (&proxy->priv->qdata); 841s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 841s # } 841s # 841s # static void 841s # good_types_proxy_get_property (GObject *object, 841s # guint prop_id, 841s # GValue *value, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # GVariant *variant; 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 841s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 841s # if (info->use_gvariant) 841s # { 841s # g_value_set_variant (value, variant); 841s # } 841s # else 841s # { 841s # if (variant != NULL) 841s # g_dbus_gvariant_to_gvalue (variant, value); 841s # } 841s # if (variant != NULL) 841s # g_variant_unref (variant); 841s # } 841s # 841s # static void 841s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 841s # GAsyncResult *res, 841s # gpointer user_data) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info = user_data; 841s # GError *error; 841s # GVariant *_ret; 841s # error = NULL; 841s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 841s # if (!_ret) 841s # { 841s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 841s # info->parent_struct.name, 841s # error->message, g_quark_to_string (error->domain), error->code); 841s # g_error_free (error); 841s # } 841s # else 841s # { 841s # g_variant_unref (_ret); 841s # } 841s # } 841s # 841s # static void 841s # good_types_proxy_set_property (GObject *object, 841s # guint prop_id, 841s # const GValue *value, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # GVariant *variant; 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 841s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 841s # g_dbus_proxy_call (G_DBUS_PROXY (object), 841s # "org.freedesktop.DBus.Properties.Set", 841s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 841s # G_DBUS_CALL_FLAGS_NONE, 841s # -1, 841s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 841s # g_variant_unref (variant); 841s # } 841s # 841s # static void 841s # good_types_proxy_g_signal (GDBusProxy *proxy, 841s # const gchar *sender_name G_GNUC_UNUSED, 841s # const gchar *signal_name, 841s # GVariant *parameters) 841s # { 841s # _ExtendedGDBusSignalInfo *info; 841s # GVariantIter iter; 841s # GVariant *child; 841s # GValue *paramv; 841s # gsize num_params; 841s # gsize n; 841s # guint signal_id; 841s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 841s # if (info == NULL) 841s # return; 841s # num_params = g_variant_n_children (parameters); 841s # paramv = g_new0 (GValue, num_params + 1); 841s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 841s # g_value_set_object (¶mv[0], proxy); 841s # g_variant_iter_init (&iter, parameters); 841s # n = 1; 841s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 841s # { 841s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 841s # if (arg_info->use_gvariant) 841s # { 841s # g_value_init (¶mv[n], G_TYPE_VARIANT); 841s # g_value_set_variant (¶mv[n], child); 841s # n++; 841s # } 841s # else 841s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 841s # g_variant_unref (child); 841s # } 841s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 841s # g_signal_emitv (paramv, signal_id, 0, NULL); 841s # for (n = 0; n < num_params + 1; n++) 841s # g_value_unset (¶mv[n]); 841s # g_free (paramv); 841s # } 841s # 841s # static void 841s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 841s # GVariant *changed_properties, 841s # const gchar *const *invalidated_properties) 841s # { 841s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 841s # guint n; 841s # const gchar *key; 841s # GVariantIter *iter; 841s # _ExtendedGDBusPropertyInfo *info; 841s # g_variant_get (changed_properties, "a{sv}", &iter); 841s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 841s # { 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 841s # g_datalist_remove_data (&proxy->priv->qdata, key); 841s # if (info != NULL) 841s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 841s # } 841s # g_variant_iter_free (iter); 841s # for (n = 0; invalidated_properties[n] != NULL; n++) 841s # { 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 841s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 841s # if (info != NULL) 841s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 841s # } 841s # } 841s # 841s # static GVariant * 841s # good_types_proxy_get_good_property_type (GoodTypes *object) 841s # { 841s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 841s # GVariant *variant; 841s # GVariant *value = NULL; 841s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 841s # value = variant; 841s # if (variant != NULL) 841s # g_variant_unref (variant); 841s # return value; 841s # } 841s # 841s # static void 841s # good_types_proxy_init (GoodTypesProxy *proxy) 841s # { 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # proxy->priv = good_types_proxy_get_instance_private (proxy); 841s # #else 841s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 841s # #endif 841s # 841s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 841s # } 841s # 841s # static void 841s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 841s # { 841s # GObjectClass *gobject_class; 841s # GDBusProxyClass *proxy_class; 841s # 841s # gobject_class = G_OBJECT_CLASS (klass); 841s # gobject_class->finalize = good_types_proxy_finalize; 841s # gobject_class->get_property = good_types_proxy_get_property; 841s # gobject_class->set_property = good_types_proxy_set_property; 841s # 841s # proxy_class = G_DBUS_PROXY_CLASS (klass); 841s # proxy_class->g_signal = good_types_proxy_g_signal; 841s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 841s # 841s # good_types_override_properties (gobject_class, 1); 841s # 841s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 841s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 841s # #endif 841s # } 841s # 841s # static void 841s # good_types_proxy_iface_init (GoodTypesIface *iface) 841s # { 841s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 841s # } 841s # 841s # /** 841s # * good_types_proxy_new: 841s # * @connection: A #GDBusConnection. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 841s # * @user_data: User data to pass to @callback. 841s # * 841s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 841s # * 841s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 841s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 841s # * 841s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 841s # */ 841s # void 841s # good_types_proxy_new ( 841s # GDBusConnection *connection, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GAsyncReadyCallback callback, 841s # gpointer user_data) 841s # { 841s # 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); 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_finish: 841s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 841s # * @error: Return location for error or %NULL 841s # * 841s # * Finishes an operation started with good_types_proxy_new(). 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_finish ( 841s # GAsyncResult *res, 841s # GError **error) 841s # { 841s # GObject *ret; 841s # GObject *source_object; 841s # source_object = g_async_result_get_source_object (res); 841s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 841s # g_object_unref (source_object); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_sync: 841s # * @connection: A #GDBusConnection. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @error: Return location for error or %NULL 841s # * 841s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 841s # * 841s # * The calling thread is blocked until a reply is received. 841s # * 841s # * See good_types_proxy_new() for the asynchronous version of this constructor. 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_sync ( 841s # GDBusConnection *connection, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GError **error) 841s # { 841s # GInitable *ret; 841s # 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); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # 841s # /** 841s # * good_types_proxy_new_for_bus: 841s # * @bus_type: A #GBusType. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: A bus name (well-known or unique). 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 841s # * @user_data: User data to pass to @callback. 841s # * 841s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 841s # * 841s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 841s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 841s # * 841s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 841s # */ 841s # void 841s # good_types_proxy_new_for_bus ( 841s # GBusType bus_type, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GAsyncReadyCallback callback, 841s # gpointer user_data) 841s # { 841s # 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); 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_for_bus_finish: 841s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 841s # * @error: Return location for error or %NULL 841s # * 841s # * Finishes an operation started with good_types_proxy_new_for_bus(). 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_for_bus_finish ( 841s # GAsyncResult *res, 841s # GError **error) 841s # { 841s # GObject *ret; 841s # GObject *source_object; 841s # source_object = g_async_result_get_source_object (res); 841s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 841s # g_object_unref (source_object); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # /** 841s # * good_types_proxy_new_for_bus_sync: 841s # * @bus_type: A #GBusType. 841s # * @flags: Flags from the #GDBusProxyFlags enumeration. 841s # * @name: A bus name (well-known or unique). 841s # * @object_path: An object path. 841s # * @cancellable: (nullable): A #GCancellable or %NULL. 841s # * @error: Return location for error or %NULL 841s # * 841s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 841s # * 841s # * The calling thread is blocked until a reply is received. 841s # * 841s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 841s # * 841s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 841s # */ 841s # GoodTypes * 841s # good_types_proxy_new_for_bus_sync ( 841s # GBusType bus_type, 841s # GDBusProxyFlags flags, 841s # const gchar *name, 841s # const gchar *object_path, 841s # GCancellable *cancellable, 841s # GError **error) 841s # { 841s # GInitable *ret; 841s # 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); 841s # if (ret != NULL) 841s # return GOOD_TYPES (ret); 841s # else 841s # return NULL; 841s # } 841s # 841s # 841s # /* ------------------------------------------------------------------------ */ 841s # 841s # /** 841s # * GoodTypesSkeleton: 841s # * 841s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 841s # */ 841s # 841s # /** 841s # * GoodTypesSkeletonClass: 841s # * @parent_class: The parent class. 841s # * 841s # * Class structure for GoodTypesSkeleton. 841s # */ 841s # 841s # struct _GoodTypesSkeletonPrivate 841s # { 841s # GValue *properties; 841s # GList *changed_properties; 841s # GSource *changed_properties_idle_source; 841s # GMainContext *context; 841s # GMutex lock; 841s # }; 841s # 841s # static void 841s # _good_types_skeleton_handle_method_call ( 841s # GDBusConnection *connection G_GNUC_UNUSED, 841s # const gchar *sender G_GNUC_UNUSED, 841s # const gchar *object_path G_GNUC_UNUSED, 841s # const gchar *interface_name, 841s # const gchar *method_name, 841s # GVariant *parameters, 841s # GDBusMethodInvocation *invocation, 841s # gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # _ExtendedGDBusMethodInfo *info; 841s # GVariantIter iter; 841s # GVariant *child; 841s # GValue *paramv; 841s # gsize num_params; 841s # guint num_extra; 841s # gsize n; 841s # guint signal_id; 841s # GValue return_value = G_VALUE_INIT; 841s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 841s # g_assert (info != NULL); 841s # num_params = g_variant_n_children (parameters); 841s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 841s # n = 0; 841s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 841s # g_value_set_object (¶mv[n++], skeleton); 841s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 841s # g_value_set_object (¶mv[n++], invocation); 841s # if (info->pass_fdlist) 841s # { 841s # #ifdef G_OS_UNIX 841s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 841s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 841s # #else 841s # g_assert_not_reached (); 841s # #endif 841s # } 841s # g_variant_iter_init (&iter, parameters); 841s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 841s # { 841s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 841s # if (arg_info->use_gvariant) 841s # { 841s # g_value_init (¶mv[n], G_TYPE_VARIANT); 841s # g_value_set_variant (¶mv[n], child); 841s # n++; 841s # } 841s # else 841s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 841s # g_variant_unref (child); 841s # } 841s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 841s # g_value_init (&return_value, G_TYPE_BOOLEAN); 841s # g_signal_emitv (paramv, signal_id, 0, &return_value); 841s # if (!g_value_get_boolean (&return_value)) 841s # 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); 841s # g_value_unset (&return_value); 841s # for (n = 0; n < num_params + num_extra; n++) 841s # g_value_unset (¶mv[n]); 841s # g_free (paramv); 841s # } 841s # 841s # static GVariant * 841s # _good_types_skeleton_handle_get_property ( 841s # GDBusConnection *connection G_GNUC_UNUSED, 841s # const gchar *sender G_GNUC_UNUSED, 841s # const gchar *object_path G_GNUC_UNUSED, 841s # const gchar *interface_name G_GNUC_UNUSED, 841s # const gchar *property_name, 841s # GError **error, 841s # gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # GValue value = G_VALUE_INIT; 841s # GParamSpec *pspec; 841s # _ExtendedGDBusPropertyInfo *info; 841s # GVariant *ret; 841s # ret = NULL; 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 841s # g_assert (info != NULL); 841s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 841s # if (pspec == NULL) 841s # { 841s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 841s # } 841s # else 841s # { 841s # g_value_init (&value, pspec->value_type); 841s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 841s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 841s # g_value_unset (&value); 841s # } 841s # return ret; 841s # } 841s # 841s # static gboolean 841s # _good_types_skeleton_handle_set_property ( 841s # GDBusConnection *connection G_GNUC_UNUSED, 841s # const gchar *sender G_GNUC_UNUSED, 841s # const gchar *object_path G_GNUC_UNUSED, 841s # const gchar *interface_name G_GNUC_UNUSED, 841s # const gchar *property_name, 841s # GVariant *variant, 841s # GError **error, 841s # gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # GValue value = G_VALUE_INIT; 841s # GParamSpec *pspec; 841s # _ExtendedGDBusPropertyInfo *info; 841s # gboolean ret; 841s # ret = FALSE; 841s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 841s # g_assert (info != NULL); 841s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 841s # if (pspec == NULL) 841s # { 841s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 841s # } 841s # else 841s # { 841s # if (info->use_gvariant) 841s # g_value_set_variant (&value, variant); 841s # else 841s # g_dbus_gvariant_to_gvalue (variant, &value); 841s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 841s # g_value_unset (&value); 841s # ret = TRUE; 841s # } 841s # return ret; 841s # } 841s # 841s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 841s # { 841s # _good_types_skeleton_handle_method_call, 841s # _good_types_skeleton_handle_get_property, 841s # _good_types_skeleton_handle_set_property, 841s # {NULL} 841s # }; 841s # 841s # static GDBusInterfaceInfo * 841s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 841s # { 841s # return good_types_interface_info (); 841s # } 841s # 841s # static GDBusInterfaceVTable * 841s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 841s # { 841s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 841s # } 841s # 841s # static GVariant * 841s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 841s # 841s # GVariantBuilder builder; 841s # guint n; 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 841s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 841s # #else 841s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 841s # #endif 841s # if (_good_types_interface_info.parent_struct.properties == NULL) 841s # goto out; 841s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 841s # { 841s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 841s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 841s # { 841s # GVariant *value; 841s # 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); 841s # if (value != NULL) 841s # { 841s # g_variant_take_ref (value); 841s # g_variant_builder_add (&builder, "{sv}", info->name, value); 841s # g_variant_unref (value); 841s # } 841s # } 841s # } 841s # out: 841s # return g_variant_builder_end (&builder); 841s # } 841s # 841s # static gboolean _good_types_emit_changed (gpointer user_data); 841s # 841s # static void 841s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 841s # gboolean emit_changed = FALSE; 841s # 841s # g_mutex_lock (&skeleton->priv->lock); 841s # if (skeleton->priv->changed_properties_idle_source != NULL) 841s # { 841s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 841s # skeleton->priv->changed_properties_idle_source = NULL; 841s # emit_changed = TRUE; 841s # } 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # 841s # if (emit_changed) 841s # _good_types_emit_changed (skeleton); 841s # } 841s # 841s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 841s # G_ADD_PRIVATE (GoodTypesSkeleton) 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 841s # 841s # #else 841s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 841s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 841s # 841s # #endif 841s # static void 841s # good_types_skeleton_finalize (GObject *object) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # guint n; 841s # for (n = 0; n < 1; n++) 841s # g_value_unset (&skeleton->priv->properties[n]); 841s # g_free (skeleton->priv->properties); 841s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 841s # if (skeleton->priv->changed_properties_idle_source != NULL) 841s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 841s # g_main_context_unref (skeleton->priv->context); 841s # g_mutex_clear (&skeleton->priv->lock); 841s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 841s # } 841s # 841s # static void 841s # good_types_skeleton_get_property (GObject *object, 841s # guint prop_id, 841s # GValue *value, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # g_mutex_lock (&skeleton->priv->lock); 841s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # } 841s # 841s # static gboolean 841s # _good_types_emit_changed (gpointer user_data) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 841s # GList *l; 841s # GVariantBuilder builder; 841s # GVariantBuilder invalidated_builder; 841s # guint num_changes; 841s # 841s # g_mutex_lock (&skeleton->priv->lock); 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 841s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 841s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 841s # #else 841s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 841s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 841s # #endif 841s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 841s # { 841s # ChangedProperty *cp = l->data; 841s # GVariant *variant; 841s # const GValue *cur_value; 841s # 841s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 841s # if (!_g_value_equal (cur_value, &cp->orig_value)) 841s # { 841s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 841s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 841s # g_variant_unref (variant); 841s # num_changes++; 841s # } 841s # } 841s # if (num_changes > 0) 841s # { 841s # GList *connections, *ll; 841s # GVariant *signal_variant; 841s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 841s # &builder, &invalidated_builder)); 841s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 841s # for (ll = connections; ll != NULL; ll = ll->next) 841s # { 841s # GDBusConnection *connection = ll->data; 841s # 841s # g_dbus_connection_emit_signal (connection, 841s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 841s # "org.freedesktop.DBus.Properties", 841s # "PropertiesChanged", 841s # signal_variant, 841s # NULL); 841s # } 841s # g_variant_unref (signal_variant); 841s # g_list_free_full (connections, g_object_unref); 841s # } 841s # else 841s # { 841s # g_variant_builder_clear (&builder); 841s # g_variant_builder_clear (&invalidated_builder); 841s # } 841s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 841s # skeleton->priv->changed_properties = NULL; 841s # skeleton->priv->changed_properties_idle_source = NULL; 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # return FALSE; 841s # } 841s # 841s # static void 841s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 841s # { 841s # ChangedProperty *cp; 841s # GList *l; 841s # cp = NULL; 841s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 841s # { 841s # ChangedProperty *i_cp = l->data; 841s # if (i_cp->info == info) 841s # { 841s # cp = i_cp; 841s # break; 841s # } 841s # } 841s # if (cp == NULL) 841s # { 841s # cp = g_new0 (ChangedProperty, 1); 841s # cp->prop_id = prop_id; 841s # cp->info = info; 841s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 841s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 841s # g_value_copy (orig_value, &cp->orig_value); 841s # } 841s # } 841s # 841s # static void 841s # good_types_skeleton_notify (GObject *object, 841s # GParamSpec *pspec G_GNUC_UNUSED) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # g_mutex_lock (&skeleton->priv->lock); 841s # if (skeleton->priv->changed_properties != NULL && 841s # skeleton->priv->changed_properties_idle_source == NULL) 841s # { 841s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 841s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 841s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 841s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 841s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 841s # g_source_unref (skeleton->priv->changed_properties_idle_source); 841s # } 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # } 841s # 841s # static void 841s # good_types_skeleton_set_property (GObject *object, 841s # guint prop_id, 841s # const GValue *value, 841s # GParamSpec *pspec) 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # g_assert (prop_id != 0 && prop_id - 1 < 1); 841s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 841s # g_mutex_lock (&skeleton->priv->lock); 841s # g_object_freeze_notify (object); 841s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 841s # { 841s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 841s # info->emits_changed_signal) 841s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 841s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 841s # g_object_notify_by_pspec (object, pspec); 841s # } 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # g_object_thaw_notify (object); 841s # } 841s # 841s # static void 841s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 841s # { 841s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 841s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 841s # #else 841s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 841s # #endif 841s # 841s # g_mutex_init (&skeleton->priv->lock); 841s # skeleton->priv->context = g_main_context_ref_thread_default (); 841s # skeleton->priv->properties = g_new0 (GValue, 1); 841s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 841s # } 841s # 841s # static GVariant * 841s # good_types_skeleton_get_good_property_type (GoodTypes *object) 841s # { 841s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 841s # GVariant *value; 841s # g_mutex_lock (&skeleton->priv->lock); 841s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 841s # g_mutex_unlock (&skeleton->priv->lock); 841s # return value; 841s # } 841s # 841s # static void 841s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 841s # { 841s # GObjectClass *gobject_class; 841s # GDBusInterfaceSkeletonClass *skeleton_class; 841s # 841s # gobject_class = G_OBJECT_CLASS (klass); 841s # gobject_class->finalize = good_types_skeleton_finalize; 841s # gobject_class->get_property = good_types_skeleton_get_property; 841s # gobject_class->set_property = good_types_skeleton_set_property; 841s # gobject_class->notify = good_types_skeleton_notify; 841s # 841s # 841s # good_types_override_properties (gobject_class, 1); 841s # 841s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 841s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 841s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 841s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 841s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 841s # 841s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 841s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 841s # #endif 841s # } 841s # 841s # static void 841s # good_types_skeleton_iface_init (GoodTypesIface *iface) 841s # { 841s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 841s # } 841s # 841s # /** 841s # * good_types_skeleton_new: 841s # * 841s # * Creates a skeleton object for the D-Bus interface GoodTypes. 841s # * 841s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 841s # */ 841s # GoodTypes * 841s # good_types_skeleton_new (void) 841s # { 841s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 841s # } 841s # Error: 841s ok 3 __main__.TestCodegen.test_empty_interface_body 841s # gdbus-codegen: /usr/bin/gdbus-codegen 841s # tmpdir: /tmp/tmph77huxv3 841s # /tmp/tmph77huxv3/tmpoj3oa6zm.xml: 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph77huxv3/tmpoj3oa6zm.xml', '--output', '-', '--body'] 841s # Return code: 0 841s # Output: 841s # /* 841s # * This file is generated by gdbus-codegen, do not modify it. 841s # * 841s # * The license of this code is the same as for the D-Bus interface description 841s # * it was derived from. Note that it links to GLib, so must comply with the 841s # * LGPL linking clauses. 841s # */ 841s # 841s # #ifdef HAVE_CONFIG_H 841s # # include "config.h" 841s # #endif 841s # 841s # #include 841s # #ifdef G_OS_UNIX 841s # # include 841s # #endif 841s # 841s # #ifdef G_ENABLE_DEBUG 841s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 841s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 841s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 841s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 841s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 841s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 841s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 841s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 841s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 841s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 841s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 841s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 841s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 841s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 841s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 841s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 841s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 841s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 841s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 841s # #else /* !G_ENABLE_DEBUG */ 841s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 841s # * Do not access GValues directly in your code. Instead, use the 841s # * g_value_get_*() functions 841s # */ 841s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 841s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 841s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 841s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 841s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 841s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 841s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 841s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 841s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 841s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 841s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 841s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 841s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 841s # #endif /* !G_ENABLE_DEBUG */ 841s # 841s # typedef struct 841s # { 841s # GDBusArgInfo parent_struct; 841s # gboolean use_gvariant; 841s # } _ExtendedGDBusArgInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusMethodInfo parent_struct; 841s # const gchar *signal_name; 841s # gboolean pass_fdlist; 841s # } _ExtendedGDBusMethodInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusSignalInfo parent_struct; 841s # const gchar *signal_name; 841s # } _ExtendedGDBusSignalInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusPropertyInfo parent_struct; 841s # const gchar *hyphen_name; 841s # guint use_gvariant : 1; 841s # guint emits_changed_signal : 1; 841s # } _ExtendedGDBusPropertyInfo; 841s # 841s # typedef struct 841s # { 841s # GDBusInterfaceInfo parent_struct; 841s # const gchar *hyphen_name; 841s # } _ExtendedGDBusInterfaceInfo; 841s # 841s # typedef struct 841s # { 841s # const _ExtendedGDBusPropertyInfo *info; 841s # guint prop_id; 841s # GValue orig_value; /* the value before the change */ 841s # } ChangedProperty; 841s # 841s # static void 841s # _changed_property_free (ChangedProperty *data) 841s # { 841s # g_value_unset (&data->orig_value); 841s # g_free (data); 841s # } 841s # 841s # static gboolean 841s # _g_strv_equal0 (gchar **a, gchar **b) 841s # { 841s # gboolean ret = FALSE; 841s # guint n; 841s # if (a == NULL && b == NULL) 841s # { 841s # ret = TRUE; 841s # goto out; 841s # } 841s # if (a == NULL || b == NULL) 841s # goto out; 841s # if (g_strv_length (a) != g_strv_length (b)) 841s # goto out; 841s # for (n = 0; a[n] != NULL; n++) 841s # if (g_strcmp0 (a[n], b[n]) != 0) 841s # goto out; 841s # ret = TRUE; 841s # out: 841s # return ret; 841s # } 841s # 841s # static gboolean 841s # _g_variant_equal0 (GVariant *a, GVariant *b) 841s # { 841s # gboolean ret = FALSE; 841s # if (a == NULL && b == NULL) 841s # { 841s # ret = TRUE; 841s # goto out; 841s # } 841s # if (a == NULL || b == NULL) 841s # goto out; 841s # ret = g_variant_equal (a, b); 841s # out: 841s # return ret; 841s # } 841s # 841s # G_GNUC_UNUSED static gboolean 841s # _g_value_equal (const GValue *a, const GValue *b) 841s # { 841s # gboolean ret = FALSE; 841s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 841s # switch (G_VALUE_TYPE (a)) 841s # { 841s # case G_TYPE_BOOLEAN: 841s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 841s # break; 841s # case G_TYPE_UCHAR: 841s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 841s # break; 841s # case G_TYPE_INT: 841s # ret = (g_value_get_int (a) == g_value_get_int (b)); 841s # break; 841s # case G_TYPE_UINT: 841s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 841s # break; 841s # case G_TYPE_INT64: 841s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 841s # break; 841s # case G_TYPE_UINT64: 841s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 841s # break; 841s # case G_TYPE_DOUBLE: 841s # { 841s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 841s # gdouble da = g_value_get_double (a); 841s # gdouble db = g_value_get_double (b); 841s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 841s # } 841s # break; 841s # case G_TYPE_STRING: 841s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 841s # break; 841s # case G_TYPE_VARIANT: 841s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 841s # break; 841s # default: 841s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 841s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 841s # else 841s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 841s # break; 841s # } 841s # return ret; 841s # } 841s # Error: 841s ok 4 __main__.TestCodegen.test_empty_interface_header 841s # gdbus-codegen: /usr/bin/gdbus-codegen 841s # tmpdir: /tmp/tmp3sxcgttb 841s # /tmp/tmp3sxcgttb/tmpru85c_ux.xml: 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3sxcgttb/tmpru85c_ux.xml', '--output', '-', '--header'] 841s # Return code: 0 841s # Output: 841s # /* 841s # * This file is generated by gdbus-codegen, do not modify it. 841s # * 841s # * The license of this code is the same as for the D-Bus interface description 841s # * it was derived from. Note that it links to GLib, so must comply with the 841s # * LGPL linking clauses. 841s # */ 841s # 841s # #ifndef __STDOUT__ 841s # #define __STDOUT__ 841s # 841s # #include 841s # 841s # G_BEGIN_DECLS 841s # 841s # 841s # G_END_DECLS 841s # 841s # #endif /* __STDOUT__ */ 841s # Error: 841s ok 5 __main__.TestCodegen.test_empty_interface_info_body 841s # gdbus-codegen: /usr/bin/gdbus-codegen 841s # tmpdir: /tmp/tmptsmmjq4x 841s # /tmp/tmptsmmjq4x/tmpys9pvne9.xml: 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptsmmjq4x/tmpys9pvne9.xml', '--output', '-', '--interface-info-body'] 841s # Return code: 0 841s # Output: 841s # /* 841s # * This file is generated by gdbus-codegen, do not modify it. 841s # * 841s # * The license of this code is the same as for the D-Bus interface description 841s # * it was derived from. Note that it links to GLib, so must comply with the 841s # * LGPL linking clauses. 841s # */ 841s # 841s # #ifdef HAVE_CONFIG_H 841s # # include "config.h" 841s # #endif 841s # 841s # #include 841s # Error: 841s ok 6 __main__.TestCodegen.test_empty_interface_info_header 841s # gdbus-codegen: /usr/bin/gdbus-codegen 841s # tmpdir: /tmp/tmp8_lxwwza 841s # /tmp/tmp8_lxwwza/tmpqq9yd7wk.xml: 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8_lxwwza/tmpqq9yd7wk.xml', '--output', '-', '--interface-info-header'] 841s # Return code: 0 841s # Output: 841s # /* 841s # * This file is generated by gdbus-codegen, do not modify it. 841s # * 841s # * The license of this code is the same as for the D-Bus interface description 841s # * it was derived from. Note that it links to GLib, so must comply with the 841s # * LGPL linking clauses. 841s # */ 841s # 841s # #ifndef __STDOUT__ 841s # #define __STDOUT__ 841s # 841s # #include 841s # 841s # G_BEGIN_DECLS 841s # 841s # 841s # G_END_DECLS 841s # 841s # #endif /* __STDOUT__ */ 841s # Error: 841s ok 7 __main__.TestCodegen.test_generate_docbook 841s # gdbus-codegen: /usr/bin/gdbus-codegen 841s # tmpdir: /tmp/tmp1l13v6m6 841s # /tmp/tmp1l13v6m6/tmpf69jx8_i.xml: 841s # 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1l13v6m6/tmpf69jx8_i.xml', '--generate-docbook', 'test'] 841s # Return code: 0 841s # Output: 841s # 841s # Error: 841s ok 8 __main__.TestCodegen.test_generate_md 841s # gdbus-codegen: /usr/bin/gdbus-codegen 841s # tmpdir: /tmp/tmpp6ns9t6o 841s # /tmp/tmpp6ns9t6o/tmp2ck4zec4.xml: 841s # 841s # 841s # 841s # 841s # 841s # 841s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp6ns9t6o/tmp2ck4zec4.xml', '--generate-md', 'test'] 841s # Return code: 0 841s # Output: 841s # 841s # Error: 842s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 842s # gdbus-codegen: /usr/bin/gdbus-codegen 842s # tmpdir: /tmp/tmplmk8u114 842s # /tmp/tmplmk8u114/tmp37fphd1l.xml: 842s # 842s # 842s # 842s # 842s # 842s # 842s # 842s # 842s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplmk8u114/tmp37fphd1l.xml', '--output', '-', '--body'] 842s # Return code: 0 842s # Output: 842s # /* 842s # * This file is generated by gdbus-codegen, do not modify it. 842s # * 842s # * The license of this code is the same as for the D-Bus interface description 842s # * it was derived from. Note that it links to GLib, so must comply with the 842s # * LGPL linking clauses. 842s # */ 842s # 842s # #ifdef HAVE_CONFIG_H 842s # # include "config.h" 842s # #endif 842s # 842s # #include 842s # #ifdef G_OS_UNIX 842s # # include 842s # #endif 842s # 842s # #ifdef G_ENABLE_DEBUG 842s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 842s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 842s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 842s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 842s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 842s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 842s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 842s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 842s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 842s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 842s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 842s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 842s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 842s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 842s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 842s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 842s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 842s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 842s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 842s # #else /* !G_ENABLE_DEBUG */ 842s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 842s # * Do not access GValues directly in your code. Instead, use the 842s # * g_value_get_*() functions 842s # */ 842s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 842s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 842s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 842s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 842s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 842s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 842s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 842s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 842s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 842s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 842s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 842s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 842s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 842s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 842s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 842s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 842s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 842s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 842s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 842s # #endif /* !G_ENABLE_DEBUG */ 842s # 842s # typedef struct 842s # { 842s # GDBusArgInfo parent_struct; 842s # gboolean use_gvariant; 842s # } _ExtendedGDBusArgInfo; 842s # 842s # typedef struct 842s # { 842s # GDBusMethodInfo parent_struct; 842s # const gchar *signal_name; 842s # gboolean pass_fdlist; 842s # } _ExtendedGDBusMethodInfo; 842s # 842s # typedef struct 842s # { 842s # GDBusSignalInfo parent_struct; 842s # const gchar *signal_name; 842s # } _ExtendedGDBusSignalInfo; 842s # 842s # typedef struct 842s # { 842s # GDBusPropertyInfo parent_struct; 842s # const gchar *hyphen_name; 842s # guint use_gvariant : 1; 842s # guint emits_changed_signal : 1; 842s # } _ExtendedGDBusPropertyInfo; 842s # 842s # typedef struct 842s # { 842s # GDBusInterfaceInfo parent_struct; 842s # const gchar *hyphen_name; 842s # } _ExtendedGDBusInterfaceInfo; 842s # 842s # typedef struct 842s # { 842s # const _ExtendedGDBusPropertyInfo *info; 842s # guint prop_id; 842s # GValue orig_value; /* the value before the change */ 842s # } ChangedProperty; 842s # 842s # static void 842s # _changed_property_free (ChangedProperty *data) 842s # { 842s # g_value_unset (&data->orig_value); 842s # g_free (data); 842s # } 842s # 842s # static gboolean 842s # _g_strv_equal0 (gchar **a, gchar **b) 842s # { 842s # gboolean ret = FALSE; 842s # guint n; 842s # if (a == NULL && b == NULL) 842s # { 842s # ret = TRUE; 842s # goto out; 842s # } 842s # if (a == NULL || b == NULL) 842s # goto out; 842s # if (g_strv_length (a) != g_strv_length (b)) 842s # goto out; 842s # for (n = 0; a[n] != NULL; n++) 842s # if (g_strcmp0 (a[n], b[n]) != 0) 842s # goto out; 842s # ret = TRUE; 842s # out: 842s # return ret; 842s # } 842s # 842s # static gboolean 842s # _g_variant_equal0 (GVariant *a, GVariant *b) 842s # { 842s # gboolean ret = FALSE; 842s # if (a == NULL && b == NULL) 842s # { 842s # ret = TRUE; 842s # goto out; 842s # } 842s # if (a == NULL || b == NULL) 842s # goto out; 842s # ret = g_variant_equal (a, b); 842s # out: 842s # return ret; 842s # } 842s # 842s # G_GNUC_UNUSED static gboolean 842s # _g_value_equal (const GValue *a, const GValue *b) 842s # { 842s # gboolean ret = FALSE; 842s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 842s # switch (G_VALUE_TYPE (a)) 842s # { 842s # case G_TYPE_BOOLEAN: 842s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 842s # break; 842s # case G_TYPE_UCHAR: 842s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 842s # break; 842s # case G_TYPE_INT: 842s # ret = (g_value_get_int (a) == g_value_get_int (b)); 842s # break; 842s # case G_TYPE_UINT: 842s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 842s # break; 842s # case G_TYPE_INT64: 842s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 842s # break; 842s # case G_TYPE_UINT64: 842s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 842s # break; 842s # case G_TYPE_DOUBLE: 842s # { 842s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 842s # gdouble da = g_value_get_double (a); 842s # gdouble db = g_value_get_double (b); 842s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 842s # } 842s # break; 842s # case G_TYPE_STRING: 842s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 842s # break; 842s # case G_TYPE_VARIANT: 842s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 842s # break; 842s # default: 842s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 842s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 842s # else 842s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 842s # break; 842s # } 842s # return ret; 842s # } 842s # 842s # static void 842s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 842s # GClosure *closure, 842s # GValue *return_value, 842s # unsigned int n_param_values, 842s # const GValue *param_values, 842s # void *invocation_hint G_GNUC_UNUSED, 842s # void *marshal_data) 842s # { 842s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 842s # (void *data1, 842s # GDBusMethodInvocation *arg_method_invocation, 842s # void *data2); 842s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 842s # GCClosure *cc = (GCClosure*) closure; 842s # void *data1, *data2; 842s # gboolean v_return; 842s # 842s # g_return_if_fail (return_value != NULL); 842s # g_return_if_fail (n_param_values == 2); 842s # 842s # if (G_CCLOSURE_SWAP_DATA (closure)) 842s # { 842s # data1 = closure->data; 842s # data2 = g_value_peek_pointer (param_values + 0); 842s # } 842s # else 842s # { 842s # data1 = g_value_peek_pointer (param_values + 0); 842s # data2 = closure->data; 842s # } 842s # 842s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 842s # (marshal_data ? marshal_data : cc->callback); 842s # 842s # v_return = 842s # callback (data1, 842s # g_marshal_value_peek_object (param_values + 1), 842s # data2); 842s # 842s # g_value_set_boolean (return_value, v_return); 842s # } 842s # 842s # /* ------------------------------------------------------------------------ 842s # * Code for interface org.project.CallableIface 842s # * ------------------------------------------------------------------------ 842s # */ 842s # 842s # /** 842s # * SECTION:OrgProjectCallableIface 842s # * @title: OrgProjectCallableIface 842s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 842s # * 842s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 842s # */ 842s # 842s # /* ---- Introspection data for org.project.CallableIface ---- */ 842s # 842s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 842s # { 842s # { 842s # -1, 842s # (gchar *) "SimpleMethod", 842s # NULL, 842s # NULL, 842s # NULL 842s # }, 842s # "handle-simple-method", 842s # FALSE 842s # }; 842s # 842s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 842s # { 842s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 842s # NULL 842s # }; 842s # 842s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 842s # { 842s # { 842s # -1, 842s # (gchar *) "org.project.CallableIface", 842s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 842s # NULL, 842s # NULL, 842s # NULL 842s # }, 842s # "org-project-callable-iface", 842s # }; 842s # 842s # 842s # /** 842s # * org_project_callable_iface_interface_info: 842s # * 842s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 842s # * 842s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 842s # */ 842s # GDBusInterfaceInfo * 842s # org_project_callable_iface_interface_info (void) 842s # { 842s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_override_properties: 842s # * @klass: The class structure for a #GObject derived class. 842s # * @property_id_begin: The property id to assign to the first overridden property. 842s # * 842s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 842s # * The properties are overridden in the order they are defined. 842s # * 842s # * Returns: The last property id. 842s # */ 842s # guint 842s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 842s # { 842s # return property_id_begin - 1; 842s # } 842s # 842s # 842s # inline static void 842s # org_project_callable_iface_method_marshal_simple_method ( 842s # GClosure *closure, 842s # GValue *return_value, 842s # unsigned int n_param_values, 842s # const GValue *param_values, 842s # void *invocation_hint, 842s # void *marshal_data) 842s # { 842s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 842s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 842s # } 842s # 842s # 842s # /** 842s # * OrgProjectCallableIface: 842s # * 842s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 842s # */ 842s # 842s # /** 842s # * OrgProjectCallableIfaceIface: 842s # * @parent_iface: The parent interface. 842s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 842s # * 842s # * Virtual table for the D-Bus interface org.project.CallableIface. 842s # */ 842s # 842s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 842s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 842s # 842s # static void 842s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 842s # { 842s # /* GObject signals for incoming D-Bus method calls: */ 842s # /** 842s # * OrgProjectCallableIface::handle-simple-method: 842s # * @object: A #OrgProjectCallableIface. 842s # * @invocation: A #GDBusMethodInvocation. 842s # * 842s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 842s # * 842s # * 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. 842s # * 842s # * 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. 842s # */ 842s # g_signal_new ("handle-simple-method", 842s # G_TYPE_FROM_INTERFACE (iface), 842s # G_SIGNAL_RUN_LAST, 842s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 842s # g_signal_accumulator_true_handled, 842s # NULL, 842s # org_project_callable_iface_method_marshal_simple_method, 842s # G_TYPE_BOOLEAN, 842s # 1, 842s # G_TYPE_DBUS_METHOD_INVOCATION); 842s # 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_call_simple_method: 842s # * @proxy: A #OrgProjectCallableIfaceProxy. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 842s # * @user_data: User data to pass to @callback. 842s # * 842s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 842s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 842s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 842s # * 842s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 842s # */ 842s # void 842s # org_project_callable_iface_call_simple_method ( 842s # OrgProjectCallableIface *proxy, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data) 842s # { 842s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 842s # "SimpleMethod", 842s # g_variant_new ("()"), 842s # G_DBUS_CALL_FLAGS_NONE, 842s # -1, 842s # cancellable, 842s # callback, 842s # user_data); 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_call_simple_method_finish: 842s # * @proxy: A #OrgProjectCallableIfaceProxy. 842s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 842s # * @error: Return location for error or %NULL. 842s # * 842s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 842s # * 842s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 842s # */ 842s # gboolean 842s # org_project_callable_iface_call_simple_method_finish ( 842s # OrgProjectCallableIface *proxy, 842s # GAsyncResult *res, 842s # GError **error) 842s # { 842s # GVariant *_ret; 842s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 842s # if (_ret == NULL) 842s # goto _out; 842s # g_variant_get (_ret, 842s # "()"); 842s # g_variant_unref (_ret); 842s # _out: 842s # return _ret != NULL; 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_call_simple_method_sync: 842s # * @proxy: A #OrgProjectCallableIfaceProxy. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @error: Return location for error or %NULL. 842s # * 842s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 842s # * 842s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 842s # * 842s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 842s # */ 842s # gboolean 842s # org_project_callable_iface_call_simple_method_sync ( 842s # OrgProjectCallableIface *proxy, 842s # GCancellable *cancellable, 842s # GError **error) 842s # { 842s # GVariant *_ret; 842s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 842s # "SimpleMethod", 842s # g_variant_new ("()"), 842s # G_DBUS_CALL_FLAGS_NONE, 842s # -1, 842s # cancellable, 842s # error); 842s # if (_ret == NULL) 842s # goto _out; 842s # g_variant_get (_ret, 842s # "()"); 842s # g_variant_unref (_ret); 842s # _out: 842s # return _ret != NULL; 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_complete_simple_method: 842s # * @object: A #OrgProjectCallableIface. 842s # * @invocation: (transfer full): A #GDBusMethodInvocation. 842s # * 842s # * 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. 842s # * 842s # * This method will free @invocation, you cannot use it afterwards. 842s # */ 842s # void 842s # org_project_callable_iface_complete_simple_method ( 842s # OrgProjectCallableIface *object G_GNUC_UNUSED, 842s # GDBusMethodInvocation *invocation) 842s # { 842s # g_dbus_method_invocation_return_value (invocation, 842s # g_variant_new ("()")); 842s # } 842s # 842s # /* ------------------------------------------------------------------------ */ 842s # 842s # /** 842s # * OrgProjectCallableIfaceProxy: 842s # * 842s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 842s # */ 842s # 842s # /** 842s # * OrgProjectCallableIfaceProxyClass: 842s # * @parent_class: The parent class. 842s # * 842s # * Class structure for #OrgProjectCallableIfaceProxy. 842s # */ 842s # 842s # struct _OrgProjectCallableIfaceProxyPrivate 842s # { 842s # GData *qdata; 842s # }; 842s # 842s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 842s # 842s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 842s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 842s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 842s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 842s # 842s # #else 842s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 842s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 842s # 842s # #endif 842s # static void 842s # org_project_callable_iface_proxy_finalize (GObject *object) 842s # { 842s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 842s # g_datalist_clear (&proxy->priv->qdata); 842s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 842s # } 842s # 842s # static void 842s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 842s # guint prop_id G_GNUC_UNUSED, 842s # GValue *value G_GNUC_UNUSED, 842s # GParamSpec *pspec G_GNUC_UNUSED) 842s # { 842s # } 842s # 842s # static void 842s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 842s # guint prop_id G_GNUC_UNUSED, 842s # const GValue *value G_GNUC_UNUSED, 842s # GParamSpec *pspec G_GNUC_UNUSED) 842s # { 842s # } 842s # 842s # static void 842s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 842s # const gchar *sender_name G_GNUC_UNUSED, 842s # const gchar *signal_name, 842s # GVariant *parameters) 842s # { 842s # _ExtendedGDBusSignalInfo *info; 842s # GVariantIter iter; 842s # GVariant *child; 842s # GValue *paramv; 842s # gsize num_params; 842s # gsize n; 842s # guint signal_id; 842s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 842s # if (info == NULL) 842s # return; 842s # num_params = g_variant_n_children (parameters); 842s # paramv = g_new0 (GValue, num_params + 1); 842s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 842s # g_value_set_object (¶mv[0], proxy); 842s # g_variant_iter_init (&iter, parameters); 842s # n = 1; 842s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 842s # { 842s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 842s # if (arg_info->use_gvariant) 842s # { 842s # g_value_init (¶mv[n], G_TYPE_VARIANT); 842s # g_value_set_variant (¶mv[n], child); 842s # n++; 842s # } 842s # else 842s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 842s # g_variant_unref (child); 842s # } 842s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 842s # g_signal_emitv (paramv, signal_id, 0, NULL); 842s # for (n = 0; n < num_params + 1; n++) 842s # g_value_unset (¶mv[n]); 842s # g_free (paramv); 842s # } 842s # 842s # static void 842s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 842s # GVariant *changed_properties, 842s # const gchar *const *invalidated_properties) 842s # { 842s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 842s # guint n; 842s # const gchar *key; 842s # GVariantIter *iter; 842s # _ExtendedGDBusPropertyInfo *info; 842s # g_variant_get (changed_properties, "a{sv}", &iter); 842s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 842s # { 842s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 842s # g_datalist_remove_data (&proxy->priv->qdata, key); 842s # if (info != NULL) 842s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 842s # } 842s # g_variant_iter_free (iter); 842s # for (n = 0; invalidated_properties[n] != NULL; n++) 842s # { 842s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 842s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 842s # if (info != NULL) 842s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 842s # } 842s # } 842s # 842s # static void 842s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 842s # { 842s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 842s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 842s # #else 842s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 842s # #endif 842s # 842s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 842s # } 842s # 842s # static void 842s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 842s # { 842s # GObjectClass *gobject_class; 842s # GDBusProxyClass *proxy_class; 842s # 842s # gobject_class = G_OBJECT_CLASS (klass); 842s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 842s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 842s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 842s # 842s # proxy_class = G_DBUS_PROXY_CLASS (klass); 842s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 842s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 842s # 842s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 842s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 842s # #endif 842s # } 842s # 842s # static void 842s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 842s # { 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_proxy_new: 842s # * @connection: A #GDBusConnection. 842s # * @flags: Flags from the #GDBusProxyFlags enumeration. 842s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 842s # * @object_path: An object path. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 842s # * @user_data: User data to pass to @callback. 842s # * 842s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 842s # * 842s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 842s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 842s # * 842s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 842s # */ 842s # void 842s # org_project_callable_iface_proxy_new ( 842s # GDBusConnection *connection, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data) 842s # { 842s # 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); 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_proxy_new_finish: 842s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 842s # * @error: Return location for error or %NULL 842s # * 842s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 842s # * 842s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 842s # */ 842s # OrgProjectCallableIface * 842s # org_project_callable_iface_proxy_new_finish ( 842s # GAsyncResult *res, 842s # GError **error) 842s # { 842s # GObject *ret; 842s # GObject *source_object; 842s # source_object = g_async_result_get_source_object (res); 842s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 842s # g_object_unref (source_object); 842s # if (ret != NULL) 842s # return ORG_PROJECT_CALLABLE_IFACE (ret); 842s # else 842s # return NULL; 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_proxy_new_sync: 842s # * @connection: A #GDBusConnection. 842s # * @flags: Flags from the #GDBusProxyFlags enumeration. 842s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 842s # * @object_path: An object path. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @error: Return location for error or %NULL 842s # * 842s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 842s # * 842s # * The calling thread is blocked until a reply is received. 842s # * 842s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 842s # * 842s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 842s # */ 842s # OrgProjectCallableIface * 842s # org_project_callable_iface_proxy_new_sync ( 842s # GDBusConnection *connection, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GError **error) 842s # { 842s # GInitable *ret; 842s # 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); 842s # if (ret != NULL) 842s # return ORG_PROJECT_CALLABLE_IFACE (ret); 842s # else 842s # return NULL; 842s # } 842s # 842s # 842s # /** 842s # * org_project_callable_iface_proxy_new_for_bus: 842s # * @bus_type: A #GBusType. 842s # * @flags: Flags from the #GDBusProxyFlags enumeration. 842s # * @name: A bus name (well-known or unique). 842s # * @object_path: An object path. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 842s # * @user_data: User data to pass to @callback. 842s # * 842s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 842s # * 842s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 842s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 842s # * 842s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 842s # */ 842s # void 842s # org_project_callable_iface_proxy_new_for_bus ( 842s # GBusType bus_type, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data) 842s # { 842s # 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); 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_proxy_new_for_bus_finish: 842s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 842s # * @error: Return location for error or %NULL 842s # * 842s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 842s # * 842s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 842s # */ 842s # OrgProjectCallableIface * 842s # org_project_callable_iface_proxy_new_for_bus_finish ( 842s # GAsyncResult *res, 842s # GError **error) 842s # { 842s # GObject *ret; 842s # GObject *source_object; 842s # source_object = g_async_result_get_source_object (res); 842s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 842s # g_object_unref (source_object); 842s # if (ret != NULL) 842s # return ORG_PROJECT_CALLABLE_IFACE (ret); 842s # else 842s # return NULL; 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_proxy_new_for_bus_sync: 842s # * @bus_type: A #GBusType. 842s # * @flags: Flags from the #GDBusProxyFlags enumeration. 842s # * @name: A bus name (well-known or unique). 842s # * @object_path: An object path. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @error: Return location for error or %NULL 842s # * 842s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 842s # * 842s # * The calling thread is blocked until a reply is received. 842s # * 842s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 842s # * 842s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 842s # */ 842s # OrgProjectCallableIface * 842s # org_project_callable_iface_proxy_new_for_bus_sync ( 842s # GBusType bus_type, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GError **error) 842s # { 842s # GInitable *ret; 842s # 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); 842s # if (ret != NULL) 842s # return ORG_PROJECT_CALLABLE_IFACE (ret); 842s # else 842s # return NULL; 842s # } 842s # 842s # 842s # /* ------------------------------------------------------------------------ */ 842s # 842s # /** 842s # * OrgProjectCallableIfaceSkeleton: 842s # * 842s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 842s # */ 842s # 842s # /** 842s # * OrgProjectCallableIfaceSkeletonClass: 842s # * @parent_class: The parent class. 842s # * 842s # * Class structure for #OrgProjectCallableIfaceSkeleton. 842s # */ 842s # 842s # struct _OrgProjectCallableIfaceSkeletonPrivate 842s # { 842s # GValue *properties; 842s # GList *changed_properties; 842s # GSource *changed_properties_idle_source; 842s # GMainContext *context; 842s # GMutex lock; 842s # }; 842s # 842s # static void 842s # _org_project_callable_iface_skeleton_handle_method_call ( 842s # GDBusConnection *connection G_GNUC_UNUSED, 842s # const gchar *sender G_GNUC_UNUSED, 842s # const gchar *object_path G_GNUC_UNUSED, 842s # const gchar *interface_name, 842s # const gchar *method_name, 842s # GVariant *parameters, 842s # GDBusMethodInvocation *invocation, 842s # gpointer user_data) 842s # { 842s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 842s # _ExtendedGDBusMethodInfo *info; 842s # GVariantIter iter; 842s # GVariant *child; 842s # GValue *paramv; 842s # gsize num_params; 842s # guint num_extra; 842s # gsize n; 842s # guint signal_id; 842s # GValue return_value = G_VALUE_INIT; 842s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 842s # g_assert (info != NULL); 842s # num_params = g_variant_n_children (parameters); 842s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 842s # n = 0; 842s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 842s # g_value_set_object (¶mv[n++], skeleton); 842s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 842s # g_value_set_object (¶mv[n++], invocation); 842s # if (info->pass_fdlist) 842s # { 842s # #ifdef G_OS_UNIX 842s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 842s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 842s # #else 842s # g_assert_not_reached (); 842s # #endif 842s # } 842s # g_variant_iter_init (&iter, parameters); 842s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 842s # { 842s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 842s # if (arg_info->use_gvariant) 842s # { 842s # g_value_init (¶mv[n], G_TYPE_VARIANT); 842s # g_value_set_variant (¶mv[n], child); 842s # n++; 842s # } 842s # else 842s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 842s # g_variant_unref (child); 842s # } 842s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 842s # g_value_init (&return_value, G_TYPE_BOOLEAN); 842s # g_signal_emitv (paramv, signal_id, 0, &return_value); 842s # if (!g_value_get_boolean (&return_value)) 842s # 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); 842s # g_value_unset (&return_value); 842s # for (n = 0; n < num_params + num_extra; n++) 842s # g_value_unset (¶mv[n]); 842s # g_free (paramv); 842s # } 842s # 842s # static GVariant * 842s # _org_project_callable_iface_skeleton_handle_get_property ( 842s # GDBusConnection *connection G_GNUC_UNUSED, 842s # const gchar *sender G_GNUC_UNUSED, 842s # const gchar *object_path G_GNUC_UNUSED, 842s # const gchar *interface_name G_GNUC_UNUSED, 842s # const gchar *property_name, 842s # GError **error, 842s # gpointer user_data) 842s # { 842s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 842s # GValue value = G_VALUE_INIT; 842s # GParamSpec *pspec; 842s # _ExtendedGDBusPropertyInfo *info; 842s # GVariant *ret; 842s # ret = NULL; 842s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 842s # g_assert (info != NULL); 842s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 842s # if (pspec == NULL) 842s # { 842s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 842s # } 842s # else 842s # { 842s # g_value_init (&value, pspec->value_type); 842s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 842s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 842s # g_value_unset (&value); 842s # } 842s # return ret; 842s # } 842s # 842s # static gboolean 842s # _org_project_callable_iface_skeleton_handle_set_property ( 842s # GDBusConnection *connection G_GNUC_UNUSED, 842s # const gchar *sender G_GNUC_UNUSED, 842s # const gchar *object_path G_GNUC_UNUSED, 842s # const gchar *interface_name G_GNUC_UNUSED, 842s # const gchar *property_name, 842s # GVariant *variant, 842s # GError **error, 842s # gpointer user_data) 842s # { 842s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 842s # GValue value = G_VALUE_INIT; 842s # GParamSpec *pspec; 842s # _ExtendedGDBusPropertyInfo *info; 842s # gboolean ret; 842s # ret = FALSE; 842s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 842s # g_assert (info != NULL); 842s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 842s # if (pspec == NULL) 842s # { 842s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 842s # } 842s # else 842s # { 842s # if (info->use_gvariant) 842s # g_value_set_variant (&value, variant); 842s # else 842s # g_dbus_gvariant_to_gvalue (variant, &value); 842s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 842s # g_value_unset (&value); 842s # ret = TRUE; 842s # } 842s # return ret; 842s # } 842s # 842s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 842s # { 842s # _org_project_callable_iface_skeleton_handle_method_call, 842s # _org_project_callable_iface_skeleton_handle_get_property, 842s # _org_project_callable_iface_skeleton_handle_set_property, 842s # {NULL} 842s # }; 842s # 842s # static GDBusInterfaceInfo * 842s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 842s # { 842s # return org_project_callable_iface_interface_info (); 842s # } 842s # 842s # static GDBusInterfaceVTable * 842s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 842s # { 842s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 842s # } 842s # 842s # static GVariant * 842s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 842s # { 842s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 842s # 842s # GVariantBuilder builder; 842s # guint n; 842s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 842s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 842s # #else 842s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 842s # #endif 842s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 842s # goto out; 842s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 842s # { 842s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 842s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 842s # { 842s # GVariant *value; 842s # 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); 842s # if (value != NULL) 842s # { 842s # g_variant_take_ref (value); 842s # g_variant_builder_add (&builder, "{sv}", info->name, value); 842s # g_variant_unref (value); 842s # } 842s # } 842s # } 842s # out: 842s # return g_variant_builder_end (&builder); 842s # } 842s # 842s # static void 842s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 842s # { 842s # } 842s # 842s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 842s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 842s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 842s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 842s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 842s # 842s # #else 842s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 842s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 842s # 842s # #endif 842s # static void 842s # org_project_callable_iface_skeleton_finalize (GObject *object) 842s # { 842s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 842s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 842s # if (skeleton->priv->changed_properties_idle_source != NULL) 842s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 842s # g_main_context_unref (skeleton->priv->context); 842s # g_mutex_clear (&skeleton->priv->lock); 842s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 842s # } 842s # 842s # static void 842s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 842s # { 842s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 842s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 842s # #else 842s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 842s # #endif 842s # 842s # g_mutex_init (&skeleton->priv->lock); 842s # skeleton->priv->context = g_main_context_ref_thread_default (); 842s # } 842s # 842s # static void 842s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 842s # { 842s # GObjectClass *gobject_class; 842s # GDBusInterfaceSkeletonClass *skeleton_class; 842s # 842s # gobject_class = G_OBJECT_CLASS (klass); 842s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 842s # 842s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 842s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 842s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 842s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 842s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 842s # 842s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 842s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 842s # #endif 842s # } 842s # 842s # static void 842s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 842s # { 842s # } 842s # 842s # /** 842s # * org_project_callable_iface_skeleton_new: 842s # * 842s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 842s # * 842s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 842s # */ 842s # OrgProjectCallableIface * 842s # org_project_callable_iface_skeleton_new (void) 842s # { 842s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 842s # } 842s # 842s # /* ------------------------------------------------------------------------ 842s # * Code for interface org.project.OtherCallableIface 842s # * ------------------------------------------------------------------------ 842s # */ 842s # 842s # /** 842s # * SECTION:OrgProjectOtherCallableIface 842s # * @title: OrgProjectOtherCallableIface 842s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 842s # * 842s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 842s # */ 842s # 842s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 842s # 842s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 842s # { 842s # { 842s # -1, 842s # (gchar *) "SimpleMethod", 842s # NULL, 842s # NULL, 842s # NULL 842s # }, 842s # "handle-simple-method", 842s # FALSE 842s # }; 842s # 842s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 842s # { 842s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 842s # NULL 842s # }; 842s # 842s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 842s # { 842s # { 842s # -1, 842s # (gchar *) "org.project.OtherCallableIface", 842s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 842s # NULL, 842s # NULL, 842s # NULL 842s # }, 842s # "org-project-other-callable-iface", 842s # }; 842s # 842s # 842s # /** 842s # * org_project_other_callable_iface_interface_info: 842s # * 842s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 842s # * 842s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 842s # */ 842s # GDBusInterfaceInfo * 842s # org_project_other_callable_iface_interface_info (void) 842s # { 842s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_override_properties: 842s # * @klass: The class structure for a #GObject derived class. 842s # * @property_id_begin: The property id to assign to the first overridden property. 842s # * 842s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 842s # * The properties are overridden in the order they are defined. 842s # * 842s # * Returns: The last property id. 842s # */ 842s # guint 842s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 842s # { 842s # return property_id_begin - 1; 842s # } 842s # 842s # 842s # inline static void 842s # org_project_other_callable_iface_method_marshal_simple_method ( 842s # GClosure *closure, 842s # GValue *return_value, 842s # unsigned int n_param_values, 842s # const GValue *param_values, 842s # void *invocation_hint, 842s # void *marshal_data) 842s # { 842s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 842s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 842s # } 842s # 842s # 842s # /** 842s # * OrgProjectOtherCallableIface: 842s # * 842s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 842s # */ 842s # 842s # /** 842s # * OrgProjectOtherCallableIfaceIface: 842s # * @parent_iface: The parent interface. 842s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 842s # * 842s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 842s # */ 842s # 842s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 842s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 842s # 842s # static void 842s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 842s # { 842s # /* GObject signals for incoming D-Bus method calls: */ 842s # /** 842s # * OrgProjectOtherCallableIface::handle-simple-method: 842s # * @object: A #OrgProjectOtherCallableIface. 842s # * @invocation: A #GDBusMethodInvocation. 842s # * 842s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 842s # * 842s # * 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. 842s # * 842s # * 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. 842s # */ 842s # g_signal_new ("handle-simple-method", 842s # G_TYPE_FROM_INTERFACE (iface), 842s # G_SIGNAL_RUN_LAST, 842s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 842s # g_signal_accumulator_true_handled, 842s # NULL, 842s # org_project_other_callable_iface_method_marshal_simple_method, 842s # G_TYPE_BOOLEAN, 842s # 1, 842s # G_TYPE_DBUS_METHOD_INVOCATION); 842s # 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_call_simple_method: 842s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 842s # * @user_data: User data to pass to @callback. 842s # * 842s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 842s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 842s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 842s # * 842s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 842s # */ 842s # void 842s # org_project_other_callable_iface_call_simple_method ( 842s # OrgProjectOtherCallableIface *proxy, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data) 842s # { 842s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 842s # "SimpleMethod", 842s # g_variant_new ("()"), 842s # G_DBUS_CALL_FLAGS_NONE, 842s # -1, 842s # cancellable, 842s # callback, 842s # user_data); 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_call_simple_method_finish: 842s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 842s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 842s # * @error: Return location for error or %NULL. 842s # * 842s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 842s # * 842s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 842s # */ 842s # gboolean 842s # org_project_other_callable_iface_call_simple_method_finish ( 842s # OrgProjectOtherCallableIface *proxy, 842s # GAsyncResult *res, 842s # GError **error) 842s # { 842s # GVariant *_ret; 842s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 842s # if (_ret == NULL) 842s # goto _out; 842s # g_variant_get (_ret, 842s # "()"); 842s # g_variant_unref (_ret); 842s # _out: 842s # return _ret != NULL; 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_call_simple_method_sync: 842s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @error: Return location for error or %NULL. 842s # * 842s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 842s # * 842s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 842s # * 842s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 842s # */ 842s # gboolean 842s # org_project_other_callable_iface_call_simple_method_sync ( 842s # OrgProjectOtherCallableIface *proxy, 842s # GCancellable *cancellable, 842s # GError **error) 842s # { 842s # GVariant *_ret; 842s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 842s # "SimpleMethod", 842s # g_variant_new ("()"), 842s # G_DBUS_CALL_FLAGS_NONE, 842s # -1, 842s # cancellable, 842s # error); 842s # if (_ret == NULL) 842s # goto _out; 842s # g_variant_get (_ret, 842s # "()"); 842s # g_variant_unref (_ret); 842s # _out: 842s # return _ret != NULL; 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_complete_simple_method: 842s # * @object: A #OrgProjectOtherCallableIface. 842s # * @invocation: (transfer full): A #GDBusMethodInvocation. 842s # * 842s # * 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. 842s # * 842s # * This method will free @invocation, you cannot use it afterwards. 842s # */ 842s # void 842s # org_project_other_callable_iface_complete_simple_method ( 842s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 842s # GDBusMethodInvocation *invocation) 842s # { 842s # g_dbus_method_invocation_return_value (invocation, 842s # g_variant_new ("()")); 842s # } 842s # 842s # /* ------------------------------------------------------------------------ */ 842s # 842s # /** 842s # * OrgProjectOtherCallableIfaceProxy: 842s # * 842s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 842s # */ 842s # 842s # /** 842s # * OrgProjectOtherCallableIfaceProxyClass: 842s # * @parent_class: The parent class. 842s # * 842s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 842s # */ 842s # 842s # struct _OrgProjectOtherCallableIfaceProxyPrivate 842s # { 842s # GData *qdata; 842s # }; 842s # 842s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 842s # 842s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 842s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 842s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 842s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 842s # 842s # #else 842s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 842s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 842s # 842s # #endif 842s # static void 842s # org_project_other_callable_iface_proxy_finalize (GObject *object) 842s # { 842s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 842s # g_datalist_clear (&proxy->priv->qdata); 842s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 842s # guint prop_id G_GNUC_UNUSED, 842s # GValue *value G_GNUC_UNUSED, 842s # GParamSpec *pspec G_GNUC_UNUSED) 842s # { 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 842s # guint prop_id G_GNUC_UNUSED, 842s # const GValue *value G_GNUC_UNUSED, 842s # GParamSpec *pspec G_GNUC_UNUSED) 842s # { 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 842s # const gchar *sender_name G_GNUC_UNUSED, 842s # const gchar *signal_name, 842s # GVariant *parameters) 842s # { 842s # _ExtendedGDBusSignalInfo *info; 842s # GVariantIter iter; 842s # GVariant *child; 842s # GValue *paramv; 842s # gsize num_params; 842s # gsize n; 842s # guint signal_id; 842s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 842s # if (info == NULL) 842s # return; 842s # num_params = g_variant_n_children (parameters); 842s # paramv = g_new0 (GValue, num_params + 1); 842s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 842s # g_value_set_object (¶mv[0], proxy); 842s # g_variant_iter_init (&iter, parameters); 842s # n = 1; 842s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 842s # { 842s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 842s # if (arg_info->use_gvariant) 842s # { 842s # g_value_init (¶mv[n], G_TYPE_VARIANT); 842s # g_value_set_variant (¶mv[n], child); 842s # n++; 842s # } 842s # else 842s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 842s # g_variant_unref (child); 842s # } 842s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 842s # g_signal_emitv (paramv, signal_id, 0, NULL); 842s # for (n = 0; n < num_params + 1; n++) 842s # g_value_unset (¶mv[n]); 842s # g_free (paramv); 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 842s # GVariant *changed_properties, 842s # const gchar *const *invalidated_properties) 842s # { 842s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 842s # guint n; 842s # const gchar *key; 842s # GVariantIter *iter; 842s # _ExtendedGDBusPropertyInfo *info; 842s # g_variant_get (changed_properties, "a{sv}", &iter); 842s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 842s # { 842s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 842s # g_datalist_remove_data (&proxy->priv->qdata, key); 842s # if (info != NULL) 842s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 842s # } 842s # g_variant_iter_free (iter); 842s # for (n = 0; invalidated_properties[n] != NULL; n++) 842s # { 842s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 842s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 842s # if (info != NULL) 842s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 842s # } 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 842s # { 842s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 842s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 842s # #else 842s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 842s # #endif 842s # 842s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 842s # { 842s # GObjectClass *gobject_class; 842s # GDBusProxyClass *proxy_class; 842s # 842s # gobject_class = G_OBJECT_CLASS (klass); 842s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 842s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 842s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 842s # 842s # proxy_class = G_DBUS_PROXY_CLASS (klass); 842s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 842s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 842s # 842s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 842s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 842s # #endif 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 842s # { 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_proxy_new: 842s # * @connection: A #GDBusConnection. 842s # * @flags: Flags from the #GDBusProxyFlags enumeration. 842s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 842s # * @object_path: An object path. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 842s # * @user_data: User data to pass to @callback. 842s # * 842s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 842s # * 842s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 842s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 842s # * 842s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 842s # */ 842s # void 842s # org_project_other_callable_iface_proxy_new ( 842s # GDBusConnection *connection, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data) 842s # { 842s # 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); 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_proxy_new_finish: 842s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 842s # * @error: Return location for error or %NULL 842s # * 842s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 842s # * 842s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 842s # */ 842s # OrgProjectOtherCallableIface * 842s # org_project_other_callable_iface_proxy_new_finish ( 842s # GAsyncResult *res, 842s # GError **error) 842s # { 842s # GObject *ret; 842s # GObject *source_object; 842s # source_object = g_async_result_get_source_object (res); 842s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 842s # g_object_unref (source_object); 842s # if (ret != NULL) 842s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 842s # else 842s # return NULL; 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_proxy_new_sync: 842s # * @connection: A #GDBusConnection. 842s # * @flags: Flags from the #GDBusProxyFlags enumeration. 842s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 842s # * @object_path: An object path. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @error: Return location for error or %NULL 842s # * 842s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 842s # * 842s # * The calling thread is blocked until a reply is received. 842s # * 842s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 842s # * 842s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 842s # */ 842s # OrgProjectOtherCallableIface * 842s # org_project_other_callable_iface_proxy_new_sync ( 842s # GDBusConnection *connection, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GError **error) 842s # { 842s # GInitable *ret; 842s # 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); 842s # if (ret != NULL) 842s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 842s # else 842s # return NULL; 842s # } 842s # 842s # 842s # /** 842s # * org_project_other_callable_iface_proxy_new_for_bus: 842s # * @bus_type: A #GBusType. 842s # * @flags: Flags from the #GDBusProxyFlags enumeration. 842s # * @name: A bus name (well-known or unique). 842s # * @object_path: An object path. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 842s # * @user_data: User data to pass to @callback. 842s # * 842s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 842s # * 842s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 842s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 842s # * 842s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 842s # */ 842s # void 842s # org_project_other_callable_iface_proxy_new_for_bus ( 842s # GBusType bus_type, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data) 842s # { 842s # 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); 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 842s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 842s # * @error: Return location for error or %NULL 842s # * 842s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 842s # * 842s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 842s # */ 842s # OrgProjectOtherCallableIface * 842s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 842s # GAsyncResult *res, 842s # GError **error) 842s # { 842s # GObject *ret; 842s # GObject *source_object; 842s # source_object = g_async_result_get_source_object (res); 842s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 842s # g_object_unref (source_object); 842s # if (ret != NULL) 842s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 842s # else 842s # return NULL; 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 842s # * @bus_type: A #GBusType. 842s # * @flags: Flags from the #GDBusProxyFlags enumeration. 842s # * @name: A bus name (well-known or unique). 842s # * @object_path: An object path. 842s # * @cancellable: (nullable): A #GCancellable or %NULL. 842s # * @error: Return location for error or %NULL 842s # * 842s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 842s # * 842s # * The calling thread is blocked until a reply is received. 842s # * 842s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 842s # * 842s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 842s # */ 842s # OrgProjectOtherCallableIface * 842s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 842s # GBusType bus_type, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GError **error) 842s # { 842s # GInitable *ret; 842s # 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); 842s # if (ret != NULL) 842s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 842s # else 842s # return NULL; 842s # } 842s # 842s # 842s # /* ------------------------------------------------------------------------ */ 842s # 842s # /** 842s # * OrgProjectOtherCallableIfaceSkeleton: 842s # * 842s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 842s # */ 842s # 842s # /** 842s # * OrgProjectOtherCallableIfaceSkeletonClass: 842s # * @parent_class: The parent class. 842s # * 842s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 842s # */ 842s # 842s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 842s # { 842s # GValue *properties; 842s # GList *changed_properties; 842s # GSource *changed_properties_idle_source; 842s # GMainContext *context; 842s # GMutex lock; 842s # }; 842s # 842s # static void 842s # _org_project_other_callable_iface_skeleton_handle_method_call ( 842s # GDBusConnection *connection G_GNUC_UNUSED, 842s # const gchar *sender G_GNUC_UNUSED, 842s # const gchar *object_path G_GNUC_UNUSED, 842s # const gchar *interface_name, 842s # const gchar *method_name, 842s # GVariant *parameters, 842s # GDBusMethodInvocation *invocation, 842s # gpointer user_data) 842s # { 842s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 842s # _ExtendedGDBusMethodInfo *info; 842s # GVariantIter iter; 842s # GVariant *child; 842s # GValue *paramv; 842s # gsize num_params; 842s # guint num_extra; 842s # gsize n; 842s # guint signal_id; 842s # GValue return_value = G_VALUE_INIT; 842s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 842s # g_assert (info != NULL); 842s # num_params = g_variant_n_children (parameters); 842s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 842s # n = 0; 842s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 842s # g_value_set_object (¶mv[n++], skeleton); 842s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 842s # g_value_set_object (¶mv[n++], invocation); 842s # if (info->pass_fdlist) 842s # { 842s # #ifdef G_OS_UNIX 842s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 842s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 842s # #else 842s # g_assert_not_reached (); 842s # #endif 842s # } 842s # g_variant_iter_init (&iter, parameters); 842s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 842s # { 842s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 842s # if (arg_info->use_gvariant) 842s # { 842s # g_value_init (¶mv[n], G_TYPE_VARIANT); 842s # g_value_set_variant (¶mv[n], child); 842s # n++; 842s # } 842s # else 842s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 842s # g_variant_unref (child); 842s # } 842s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 842s # g_value_init (&return_value, G_TYPE_BOOLEAN); 842s # g_signal_emitv (paramv, signal_id, 0, &return_value); 842s # if (!g_value_get_boolean (&return_value)) 842s # 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); 842s # g_value_unset (&return_value); 842s # for (n = 0; n < num_params + num_extra; n++) 842s # g_value_unset (¶mv[n]); 842s # g_free (paramv); 842s # } 842s # 842s # static GVariant * 842s # _org_project_other_callable_iface_skeleton_handle_get_property ( 842s # GDBusConnection *connection G_GNUC_UNUSED, 842s # const gchar *sender G_GNUC_UNUSED, 842s # const gchar *object_path G_GNUC_UNUSED, 842s # const gchar *interface_name G_GNUC_UNUSED, 842s # const gchar *property_name, 842s # GError **error, 842s # gpointer user_data) 842s # { 842s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 842s # GValue value = G_VALUE_INIT; 842s # GParamSpec *pspec; 842s # _ExtendedGDBusPropertyInfo *info; 842s # GVariant *ret; 842s # ret = NULL; 842s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 842s # g_assert (info != NULL); 842s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 842s # if (pspec == NULL) 842s # { 842s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 842s # } 842s # else 842s # { 842s # g_value_init (&value, pspec->value_type); 842s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 842s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 842s # g_value_unset (&value); 842s # } 842s # return ret; 842s # } 842s # 842s # static gboolean 842s # _org_project_other_callable_iface_skeleton_handle_set_property ( 842s # GDBusConnection *connection G_GNUC_UNUSED, 842s # const gchar *sender G_GNUC_UNUSED, 842s # const gchar *object_path G_GNUC_UNUSED, 842s # const gchar *interface_name G_GNUC_UNUSED, 842s # const gchar *property_name, 842s # GVariant *variant, 842s # GError **error, 842s # gpointer user_data) 842s # { 842s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 842s # GValue value = G_VALUE_INIT; 842s # GParamSpec *pspec; 842s # _ExtendedGDBusPropertyInfo *info; 842s # gboolean ret; 842s # ret = FALSE; 842s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 842s # g_assert (info != NULL); 842s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 842s # if (pspec == NULL) 842s # { 842s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 842s # } 842s # else 842s # { 842s # if (info->use_gvariant) 842s # g_value_set_variant (&value, variant); 842s # else 842s # g_dbus_gvariant_to_gvalue (variant, &value); 842s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 842s # g_value_unset (&value); 842s # ret = TRUE; 842s # } 842s # return ret; 842s # } 842s # 842s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 842s # { 842s # _org_project_other_callable_iface_skeleton_handle_method_call, 842s # _org_project_other_callable_iface_skeleton_handle_get_property, 842s # _org_project_other_callable_iface_skeleton_handle_set_property, 842s # {NULL} 842s # }; 842s # 842s # static GDBusInterfaceInfo * 842s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 842s # { 842s # return org_project_other_callable_iface_interface_info (); 842s # } 842s # 842s # static GDBusInterfaceVTable * 842s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 842s # { 842s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 842s # } 842s # 842s # static GVariant * 842s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 842s # { 842s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 842s # 842s # GVariantBuilder builder; 842s # guint n; 842s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 842s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 842s # #else 842s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 842s # #endif 842s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 842s # goto out; 842s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 842s # { 842s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 842s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 842s # { 842s # GVariant *value; 842s # 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); 842s # if (value != NULL) 842s # { 842s # g_variant_take_ref (value); 842s # g_variant_builder_add (&builder, "{sv}", info->name, value); 842s # g_variant_unref (value); 842s # } 842s # } 842s # } 842s # out: 842s # return g_variant_builder_end (&builder); 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 842s # { 842s # } 842s # 842s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 842s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 842s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 842s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 842s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 842s # 842s # #else 842s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 842s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 842s # 842s # #endif 842s # static void 842s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 842s # { 842s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 842s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 842s # if (skeleton->priv->changed_properties_idle_source != NULL) 842s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 842s # g_main_context_unref (skeleton->priv->context); 842s # g_mutex_clear (&skeleton->priv->lock); 842s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 842s # { 842s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 842s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 842s # #else 842s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 842s # #endif 842s # 842s # g_mutex_init (&skeleton->priv->lock); 842s # skeleton->priv->context = g_main_context_ref_thread_default (); 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 842s # { 842s # GObjectClass *gobject_class; 842s # GDBusInterfaceSkeletonClass *skeleton_class; 842s # 842s # gobject_class = G_OBJECT_CLASS (klass); 842s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 842s # 842s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 842s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 842s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 842s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 842s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 842s # 842s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 842s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 842s # #endif 842s # } 842s # 842s # static void 842s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 842s # { 842s # } 842s # 842s # /** 842s # * org_project_other_callable_iface_skeleton_new: 842s # * 842s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 842s # * 842s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 842s # */ 842s # OrgProjectOtherCallableIface * 842s # org_project_other_callable_iface_skeleton_new (void) 842s # { 842s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 842s # } 842s # Error: 842s # Executing: glib/codegen.py.test 843s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmpql7qblea 843s # /tmp/tmpql7qblea/tmppxsd19uj.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmppxsd19uj.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # gboolean arg_arg_b, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_boolean (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_b", 843s # (gchar *) "b", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodB", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-b", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_b ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_b: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-b", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_b, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_b: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_b: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_b ( 843s # OrgProjectUsefulInterface *proxy, 843s # gboolean arg_arg_b, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodB", 843s # g_variant_new ("(b)", 843s # arg_arg_b), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_b_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_b_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_b_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_b: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_b_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gboolean arg_arg_b, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodB", 843s # g_variant_new ("(b)", 843s # arg_arg_b), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_b: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_b ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmp7l9tzike.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmp7l9tzike.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # guchar arg_arg_y, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_uchar (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_y", 843s # (gchar *) "y", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodY", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-y", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_y ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_y: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-y", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_y, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_y: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_y: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_y ( 843s # OrgProjectUsefulInterface *proxy, 843s # guchar arg_arg_y, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodY", 843s # g_variant_new ("(y)", 843s # arg_arg_y), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_y_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_y_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_y_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_y: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_y_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guchar arg_arg_y, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodY", 843s # g_variant_new ("(y)", 843s # arg_arg_y), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_y: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_y ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmptgm3ig5i.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmptgm3ig5i.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # gint16 arg_arg_n, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_int (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_n", 843s # (gchar *) "n", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodN", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-n", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_n ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_n: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-n", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_n, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_n: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_n: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_n ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint16 arg_arg_n, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodN", 843s # g_variant_new ("(n)", 843s # arg_arg_n), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_n_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_n_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_n_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_n: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_n_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint16 arg_arg_n, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodN", 843s # g_variant_new ("(n)", 843s # arg_arg_n), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_n: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_n ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmpp4efbxwx.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmpp4efbxwx.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # guint16 arg_arg_q, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_uint (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_q", 843s # (gchar *) "q", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodQ", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-q", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_q ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_q: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-q", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_q, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_q: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_q: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_q ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint16 arg_arg_q, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodQ", 843s # g_variant_new ("(q)", 843s # arg_arg_q), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_q_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_q_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_q_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_q: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_q_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint16 arg_arg_q, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodQ", 843s # g_variant_new ("(q)", 843s # arg_arg_q), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_q: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_q ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmpc_f1bnyn.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmpc_f1bnyn.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # gint arg_arg_i, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_int (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_i", 843s # (gchar *) "i", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodI", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-i", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_i ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_i: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-i", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_i, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_i: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_i: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_i ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint arg_arg_i, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodI", 843s # g_variant_new ("(i)", 843s # arg_arg_i), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_i_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_i_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_i_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_i: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_i_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint arg_arg_i, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodI", 843s # g_variant_new ("(i)", 843s # arg_arg_i), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_i: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_i ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmpcog7cifp.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmpcog7cifp.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # guint arg_arg_u, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_uint (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_u", 843s # (gchar *) "u", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodU", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-u", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_u ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_u: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-u", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_u, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_u: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_u: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_u ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint arg_arg_u, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodU", 843s # g_variant_new ("(u)", 843s # arg_arg_u), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_u_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_u_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_u_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_u: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_u_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint arg_arg_u, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodU", 843s # g_variant_new ("(u)", 843s # arg_arg_u), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_u: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_u ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmpthkf6mmw.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmpthkf6mmw.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # gint64 arg_arg_x, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_int64 (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_x", 843s # (gchar *) "x", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodX", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-x", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_x ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_x: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-x", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_x, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_x: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_x: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_x ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint64 arg_arg_x, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodX", 843s # g_variant_new ("(x)", 843s # arg_arg_x), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_x_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_x_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_x_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_x: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_x_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint64 arg_arg_x, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodX", 843s # g_variant_new ("(x)", 843s # arg_arg_x), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_x: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_x ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmp73oco041.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmp73oco041.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # guint64 arg_arg_t, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_uint64 (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_t", 843s # (gchar *) "t", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodT", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-t", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_t ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_t: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-t", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_t, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_t: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_t: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_t ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint64 arg_arg_t, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodT", 843s # g_variant_new ("(t)", 843s # arg_arg_t), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_t_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_t_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_t_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_t: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_t_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint64 arg_arg_t, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodT", 843s # g_variant_new ("(t)", 843s # arg_arg_t), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_t: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_t ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmpax44ve9y.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmpax44ve9y.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # gdouble arg_arg_d, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_double (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_d", 843s # (gchar *) "d", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodD", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-d", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_d ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_d: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-d", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_d, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_d: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_d: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_d ( 843s # OrgProjectUsefulInterface *proxy, 843s # gdouble arg_arg_d, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodD", 843s # g_variant_new ("(d)", 843s # arg_arg_d), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_d_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_d_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_d_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_d: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_d_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gdouble arg_arg_d, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodD", 843s # g_variant_new ("(d)", 843s # arg_arg_d), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_d: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_d ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmp82cic9b7.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmp82cic9b7.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # const gchar *arg_arg_s, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_string (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_s", 843s # (gchar *) "s", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodS", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-s", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_s ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_s: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-s", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_s, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_s: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_s: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_s ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *arg_arg_s, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodS", 843s # g_variant_new ("(s)", 843s # arg_arg_s), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_s_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_s_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_s_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_s: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_s_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *arg_arg_s, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodS", 843s # g_variant_new ("(s)", 843s # arg_arg_s), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_s: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_s ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmpkcpr8io_.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmpkcpr8io_.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # const gchar *arg_arg_o, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_string (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_o", 843s # (gchar *) "o", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodO", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-o", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_o ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_o: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-o", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_o, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_o: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_o: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_o ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *arg_arg_o, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodO", 843s # g_variant_new ("(o)", 843s # arg_arg_o), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_o_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_o_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_o_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_o: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_o_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *arg_arg_o, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodO", 843s # g_variant_new ("(o)", 843s # arg_arg_o), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_o: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_o ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmps4_758za.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmps4_758za.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # const gchar *arg_arg_g, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_string (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_g", 843s # (gchar *) "g", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodG", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-g", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_g ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_g: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-g", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_g, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_g: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_g: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_g ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *arg_arg_g, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodG", 843s # g_variant_new ("(g)", 843s # arg_arg_g), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_g_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_g_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_g_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_g: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_g_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *arg_arg_g, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodG", 843s # g_variant_new ("(g)", 843s # arg_arg_g), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_g: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_g ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmp_by18x0q.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmp_by18x0q.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # GVariant *arg_arg_h, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_variant (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_h", 843s # (gchar *) "h", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodH", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-h", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_h ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_h: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-h", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_h, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_h: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_h: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_h ( 843s # OrgProjectUsefulInterface *proxy, 843s # GVariant *arg_arg_h, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodH", 843s # g_variant_new ("(@h)", 843s # arg_arg_h), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_h_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_h_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_h_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_h: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_h_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # GVariant *arg_arg_h, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodH", 843s # g_variant_new ("(@h)", 843s # arg_arg_h), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_h: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_h ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmpsjuqd7s2.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmpsjuqd7s2.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # const gchar *arg_arg_ay, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_string (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_ay", 843s # (gchar *) "ay", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodAy", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-ay", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_ay: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-ay", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_ay, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ay: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_ay: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_ay ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *arg_arg_ay, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAy", 843s # g_variant_new ("(^ay)", 843s # arg_arg_ay), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ay_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_ay_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ay_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_ay: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_ay_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *arg_arg_ay, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAy", 843s # g_variant_new ("(^ay)", 843s # arg_arg_ay), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_ay: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_ay ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmp6gb67k3o.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmp6gb67k3o.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # const gchar *const *arg_arg_as, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_boxed (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_as", 843s # (gchar *) "as", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodAs", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-as", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_as ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_as: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-as", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_as, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_as: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_as: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_as ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *const *arg_arg_as, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAs", 843s # g_variant_new ("(^as)", 843s # arg_arg_as), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_as_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_as_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_as_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_as: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_as_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *const *arg_arg_as, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAs", 843s # g_variant_new ("(^as)", 843s # arg_arg_as), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_as: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_as ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmpc_mvixnw.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmpc_mvixnw.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # const gchar *const *arg_arg_ao, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_boxed (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_ao", 843s # (gchar *) "ao", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodAo", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-ao", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_ao: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-ao", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_ao, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ao: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_ao: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_ao ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *const *arg_arg_ao, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAo", 843s # g_variant_new ("(^ao)", 843s # arg_arg_ao), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ao_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_ao_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ao_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_ao: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_ao_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *const *arg_arg_ao, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAo", 843s # g_variant_new ("(^ao)", 843s # arg_arg_ao), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_ao: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_ao ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmpfi8bkqoi.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmpfi8bkqoi.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # const gchar *const *arg_arg_aay, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_boxed (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_aay", 843s # (gchar *) "aay", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodAay", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-aay", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_aay: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-aay", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_aay, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_aay: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_aay: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_aay ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *const *arg_arg_aay, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAay", 843s # g_variant_new ("(^aay)", 843s # arg_arg_aay), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_aay_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_aay_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_aay_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_aay: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_aay_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # const gchar *const *arg_arg_aay, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAay", 843s # g_variant_new ("(^aay)", 843s # arg_arg_aay), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_aay: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_aay ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpql7qblea/tmpsuysxwor.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql7qblea/tmpsuysxwor.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # GVariant *arg_arg_asv, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_variant (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_asv", 843s # (gchar *) "a{sv}", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodAsv", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-asv", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_asv: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-asv", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_asv, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_asv: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_asv: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_asv ( 843s # OrgProjectUsefulInterface *proxy, 843s # GVariant *arg_arg_asv, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAsv", 843s # g_variant_new ("(@a{sv})", 843s # arg_arg_asv), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_asv_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_asv_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_asv_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_asv: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_asv_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # GVariant *arg_arg_asv, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAsv", 843s # g_variant_new ("(@a{sv})", 843s # arg_arg_asv), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_asv: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_asv ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmpk7h3ebn_ 843s # /tmp/tmpk7h3ebn_/tmpxjy875jm.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpxjy875jm.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_b", 843s # (gchar *) "b", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodB", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-b", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_b ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-b", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_b, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_b: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_b ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodB", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_b_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_b_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gboolean *out_arg_b, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(b)", 843s # out_arg_b); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_b_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_b_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gboolean *out_arg_b, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodB", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(b)", 843s # out_arg_b); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_b: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_b: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_b ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # gboolean arg_b) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(b)", 843s # arg_b)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmpf41jezmp.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpf41jezmp.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_y", 843s # (gchar *) "y", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodY", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-y", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_y ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-y", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_y, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_y: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_y ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodY", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_y_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_y_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # guchar *out_arg_y, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(y)", 843s # out_arg_y); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_y_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_y_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guchar *out_arg_y, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodY", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(y)", 843s # out_arg_y); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_y: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_y: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_y ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # guchar arg_y) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(y)", 843s # arg_y)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmpblbfbkd2.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpblbfbkd2.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_n", 843s # (gchar *) "n", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodN", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-n", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_n ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-n", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_n, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_n: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_n ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodN", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_n_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_n_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint16 *out_arg_n, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(n)", 843s # out_arg_n); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_n_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_n_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint16 *out_arg_n, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodN", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(n)", 843s # out_arg_n); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_n: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_n: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_n ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # gint16 arg_n) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(n)", 843s # arg_n)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmp2qgrzhds.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmp2qgrzhds.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_q", 843s # (gchar *) "q", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodQ", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-q", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_q ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-q", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_q, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_q: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_q ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodQ", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_q_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_q_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint16 *out_arg_q, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(q)", 843s # out_arg_q); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_q_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_q_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint16 *out_arg_q, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodQ", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(q)", 843s # out_arg_q); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_q: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_q: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_q ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # guint16 arg_q) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(q)", 843s # arg_q)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmpf1d1cm0s.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpf1d1cm0s.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_i", 843s # (gchar *) "i", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodI", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-i", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_i ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-i", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_i, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_i: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_i ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodI", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_i_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_i_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint *out_arg_i, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(i)", 843s # out_arg_i); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_i_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_i_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint *out_arg_i, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodI", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(i)", 843s # out_arg_i); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_i: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_i: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_i ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # gint arg_i) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(i)", 843s # arg_i)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmp0om1f4bs.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmp0om1f4bs.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_u", 843s # (gchar *) "u", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodU", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-u", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_u ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-u", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_u, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_u: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_u ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodU", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_u_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_u_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint *out_arg_u, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(u)", 843s # out_arg_u); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_u_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_u_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint *out_arg_u, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodU", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(u)", 843s # out_arg_u); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_u: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_u: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_u ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # guint arg_u) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(u)", 843s # arg_u)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmpc972ul48.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpc972ul48.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_x", 843s # (gchar *) "x", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodX", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-x", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_x ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-x", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_x, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_x: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_x ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodX", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_x_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_x_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint64 *out_arg_x, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(x)", 843s # out_arg_x); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_x_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_x_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint64 *out_arg_x, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodX", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(x)", 843s # out_arg_x); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_x: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_x: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_x ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # gint64 arg_x) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(x)", 843s # arg_x)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmp1n6_umjm.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmp1n6_umjm.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_t", 843s # (gchar *) "t", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodT", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-t", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_t ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-t", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_t, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_t: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_t ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodT", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_t_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_t_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint64 *out_arg_t, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(t)", 843s # out_arg_t); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_t_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_t_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint64 *out_arg_t, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodT", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(t)", 843s # out_arg_t); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_t: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_t: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_t ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # guint64 arg_t) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(t)", 843s # arg_t)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmpcjpdsjg4.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpcjpdsjg4.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_d", 843s # (gchar *) "d", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodD", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-d", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_d ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-d", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_d, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_d: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_d ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodD", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_d_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_d_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gdouble *out_arg_d, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(d)", 843s # out_arg_d); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_d_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_d_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gdouble *out_arg_d, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodD", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(d)", 843s # out_arg_d); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_d: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_d: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_d ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # gdouble arg_d) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(d)", 843s # arg_d)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmp5_6kouo1.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmp5_6kouo1.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_s", 843s # (gchar *) "s", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodS", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-s", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_s ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-s", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_s, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_s: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_s ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodS", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_s_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_s_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar **out_arg_s, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(s)", 843s # out_arg_s); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_s_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_s_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar **out_arg_s, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodS", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(s)", 843s # out_arg_s); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_s: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_s: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_s ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # const gchar *arg_s) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(s)", 843s # arg_s)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmpzy1g5f4x.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpzy1g5f4x.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_o", 843s # (gchar *) "o", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodO", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-o", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_o ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-o", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_o, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_o: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_o ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodO", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_o_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_o_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar **out_arg_o, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(o)", 843s # out_arg_o); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_o_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_o_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar **out_arg_o, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodO", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(o)", 843s # out_arg_o); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_o: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_o: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_o ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # const gchar *arg_o) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(o)", 843s # arg_o)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmpjv371keg.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpjv371keg.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_g", 843s # (gchar *) "g", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodG", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-g", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_g ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-g", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_g, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_g: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_g ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodG", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_g_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_g_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar **out_arg_g, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(g)", 843s # out_arg_g); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_g_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_g_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar **out_arg_g, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodG", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(g)", 843s # out_arg_g); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_g: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_g: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_g ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # const gchar *arg_g) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(g)", 843s # arg_g)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmplikdrf4_.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmplikdrf4_.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_h", 843s # (gchar *) "h", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodH", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-h", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_h ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-h", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_h, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_h: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_h ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodH", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_h_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_h_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GVariant **out_arg_h, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(@h)", 843s # out_arg_h); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_h_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_h_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # GVariant **out_arg_h, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodH", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(@h)", 843s # out_arg_h); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_h: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_h: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_h ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # GVariant *arg_h) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(@h)", 843s # arg_h)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmpttv60ety.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpttv60ety.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_ay", 843s # (gchar *) "ay", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodAy", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-ay", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-ay", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_ay, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ay: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_ay ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAy", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ay_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_ay_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar **out_arg_ay, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(^ay)", 843s # out_arg_ay); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ay_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_ay_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar **out_arg_ay, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAy", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(^ay)", 843s # out_arg_ay); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_ay: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_ay: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_ay ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # const gchar *arg_ay) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(^ay)", 843s # arg_ay)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmpd4i4nw1t.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpd4i4nw1t.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_as", 843s # (gchar *) "as", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodAs", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-as", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_as ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-as", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_as, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_as: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_as ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAs", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_as_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_as_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar ***out_arg_as, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(^as)", 843s # out_arg_as); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_as_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_as_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar ***out_arg_as, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAs", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(^as)", 843s # out_arg_as); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_as: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_as: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_as ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # const gchar *const *arg_as) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(^as)", 843s # arg_as)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmpu_99il_a.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmpu_99il_a.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_ao", 843s # (gchar *) "ao", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodAo", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-ao", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-ao", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_ao, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ao: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_ao ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAo", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ao_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_ao_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar ***out_arg_ao, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(^ao)", 843s # out_arg_ao); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_ao_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_ao_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar ***out_arg_ao, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAo", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(^ao)", 843s # out_arg_ao); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_ao: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_ao: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_ao ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # const gchar *const *arg_ao) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(^ao)", 843s # arg_ao)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmp5mhfq0us.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmp5mhfq0us.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_aay", 843s # (gchar *) "aay", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodAay", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-aay", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-aay", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_aay, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_aay: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_aay ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAay", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_aay_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_aay_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar ***out_arg_aay, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(^aay)", 843s # out_arg_aay); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_aay_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_aay_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gchar ***out_arg_aay, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAay", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(^aay)", 843s # out_arg_aay); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_aay: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_aay: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_aay ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # const gchar *const *arg_aay) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(^aay)", 843s # arg_aay)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpk7h3ebn_/tmp37ob5hu6.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7h3ebn_/tmp37ob5hu6.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_asv", 843s # (gchar *) "a{sv}", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodAsv", 843s # NULL, 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 843s # NULL 843s # }, 843s # "handle-single-arg-method-asv", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-asv", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_asv, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_asv: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_asv ( 843s # OrgProjectUsefulInterface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAsv", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_asv_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_asv_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GVariant **out_arg_asv, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(@a{sv})", 843s # out_arg_asv); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_asv_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_asv_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # GVariant **out_arg_asv, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodAsv", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "(@a{sv})", 843s # out_arg_asv); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_asv: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * @arg_asv: Parameter to return. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_asv ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation, 843s # GVariant *arg_asv) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("(@a{sv})", 843s # arg_asv)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # 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); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 844s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpy49w0sry 844s # /tmp/tmpy49w0sry/tmphqgvrgcg.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy49w0sry/tmphqgvrgcg.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 20); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_boolean (param_values + 2), 844s # g_marshal_value_peek_uchar (param_values + 3), 844s # g_marshal_value_peek_int (param_values + 4), 844s # g_marshal_value_peek_uint (param_values + 5), 844s # g_marshal_value_peek_int (param_values + 6), 844s # g_marshal_value_peek_uint (param_values + 7), 844s # g_marshal_value_peek_int64 (param_values + 8), 844s # g_marshal_value_peek_uint64 (param_values + 9), 844s # g_marshal_value_peek_double (param_values + 10), 844s # g_marshal_value_peek_string (param_values + 11), 844s # g_marshal_value_peek_string (param_values + 12), 844s # g_marshal_value_peek_string (param_values + 13), 844s # g_marshal_value_peek_variant (param_values + 14), 844s # g_marshal_value_peek_string (param_values + 15), 844s # g_marshal_value_peek_boxed (param_values + 16), 844s # g_marshal_value_peek_boxed (param_values + 17), 844s # g_marshal_value_peek_boxed (param_values + 18), 844s # g_marshal_value_peek_variant (param_values + 19), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.CallableIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectCallableIface 844s # * @title: OrgProjectCallableIface 844s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.CallableIface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 844s # { 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 844s # { 844s # { 844s # -1, 844s # (gchar *) "MethodWithManyArgs", 844s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-method-with-many-args", 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 844s # { 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SameMethodWithManyArgs", 844s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-same-method-with-many-args", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 844s # { 844s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.CallableIface", 844s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-callable-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_callable_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_callable_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_callable_iface_method_marshal_method_with_many_args ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _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, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _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, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectCallableIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 844s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.CallableIface. 844s # */ 844s # 844s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectCallableIface::handle-method-with-many-args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_an_b: Argument passed by remote caller. 844s # * @arg_an_y: Argument passed by remote caller. 844s # * @arg_an_n: Argument passed by remote caller. 844s # * @arg_an_q: Argument passed by remote caller. 844s # * @arg_an_i: Argument passed by remote caller. 844s # * @arg_an_u: Argument passed by remote caller. 844s # * @arg_an_x: Argument passed by remote caller. 844s # * @arg_an_t: Argument passed by remote caller. 844s # * @arg_an_d: Argument passed by remote caller. 844s # * @arg_an_s: Argument passed by remote caller. 844s # * @arg_an_o: Argument passed by remote caller. 844s # * @arg_an_g: Argument passed by remote caller. 844s # * @arg_an_h: Argument passed by remote caller. 844s # * @arg_an_ay: Argument passed by remote caller. 844s # * @arg_an_as: Argument passed by remote caller. 844s # * @arg_an_ao: Argument passed by remote caller. 844s # * @arg_an_aay: Argument passed by remote caller. 844s # * @arg_an_asv: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-method-with-many-args", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_callable_iface_method_marshal_method_with_many_args, 844s # G_TYPE_BOOLEAN, 844s # 19, 844s # 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); 844s # 844s # /** 844s # * OrgProjectCallableIface::handle-same-method-with-many-args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_an_b: Argument passed by remote caller. 844s # * @arg_an_y: Argument passed by remote caller. 844s # * @arg_an_n: Argument passed by remote caller. 844s # * @arg_an_q: Argument passed by remote caller. 844s # * @arg_an_i: Argument passed by remote caller. 844s # * @arg_an_u: Argument passed by remote caller. 844s # * @arg_an_x: Argument passed by remote caller. 844s # * @arg_an_t: Argument passed by remote caller. 844s # * @arg_an_d: Argument passed by remote caller. 844s # * @arg_an_s: Argument passed by remote caller. 844s # * @arg_an_o: Argument passed by remote caller. 844s # * @arg_an_g: Argument passed by remote caller. 844s # * @arg_an_h: Argument passed by remote caller. 844s # * @arg_an_ay: Argument passed by remote caller. 844s # * @arg_an_as: Argument passed by remote caller. 844s # * @arg_an_ao: Argument passed by remote caller. 844s # * @arg_an_aay: Argument passed by remote caller. 844s # * @arg_an_asv: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-same-method-with-many-args", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_callable_iface_method_marshal_same_method_with_many_args, 844s # G_TYPE_BOOLEAN, 844s # 19, 844s # 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); 844s # 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_callable_iface_call_method_with_many_args ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args_finish: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_method_with_many_args_finish ( 844s # OrgProjectCallableIface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args_sync: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_method_with_many_args_sync ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_same_method_with_many_args: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_callable_iface_call_same_method_with_many_args ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SameMethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_same_method_with_many_args_finish: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_same_method_with_many_args_finish ( 844s # OrgProjectCallableIface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_same_method_with_many_args_sync: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_same_method_with_many_args_sync ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SameMethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_complete_method_with_many_args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_callable_iface_complete_method_with_many_args ( 844s # OrgProjectCallableIface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_complete_same_method_with_many_args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_callable_iface_complete_same_method_with_many_args ( 844s # OrgProjectCallableIface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceProxy: 844s # * 844s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectCallableIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectCallableIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_callable_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_callable_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_callable_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceSkeleton: 844s # * 844s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectCallableIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectCallableIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_callable_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # 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); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_callable_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_callable_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 844s # { 844s # _org_project_callable_iface_skeleton_handle_method_call, 844s # _org_project_callable_iface_skeleton_handle_get_property, 844s # _org_project_callable_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_callable_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_callable_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.OtherCallableIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectOtherCallableIface 844s # * @title: OrgProjectOtherCallableIface 844s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 844s # { 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 844s # { 844s # { 844s # -1, 844s # (gchar *) "MethodWithManyArgs", 844s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-method-with-many-args", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 844s # { 844s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.OtherCallableIface", 844s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-other-callable-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_other_callable_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_other_callable_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _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, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectOtherCallableIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherCallableIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 844s # */ 844s # 844s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 844s # * @object: A #OrgProjectOtherCallableIface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_an_b: Argument passed by remote caller. 844s # * @arg_an_y: Argument passed by remote caller. 844s # * @arg_an_n: Argument passed by remote caller. 844s # * @arg_an_q: Argument passed by remote caller. 844s # * @arg_an_i: Argument passed by remote caller. 844s # * @arg_an_u: Argument passed by remote caller. 844s # * @arg_an_x: Argument passed by remote caller. 844s # * @arg_an_t: Argument passed by remote caller. 844s # * @arg_an_d: Argument passed by remote caller. 844s # * @arg_an_s: Argument passed by remote caller. 844s # * @arg_an_o: Argument passed by remote caller. 844s # * @arg_an_g: Argument passed by remote caller. 844s # * @arg_an_h: Argument passed by remote caller. 844s # * @arg_an_ay: Argument passed by remote caller. 844s # * @arg_an_as: Argument passed by remote caller. 844s # * @arg_an_ao: Argument passed by remote caller. 844s # * @arg_an_aay: Argument passed by remote caller. 844s # * @arg_an_asv: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-method-with-many-args", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_other_callable_iface_method_marshal_method_with_many_args, 844s # G_TYPE_BOOLEAN, 844s # 19, 844s # 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); 844s # 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_call_method_with_many_args: 844s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 844s # * 844s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_other_callable_iface_call_method_with_many_args ( 844s # OrgProjectOtherCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_call_method_with_many_args_finish: 844s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_other_callable_iface_call_method_with_many_args_finish ( 844s # OrgProjectOtherCallableIface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_call_method_with_many_args_sync: 844s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_other_callable_iface_call_method_with_many_args_sync ( 844s # OrgProjectOtherCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_complete_method_with_many_args: 844s # * @object: A #OrgProjectOtherCallableIface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_other_callable_iface_complete_method_with_many_args ( 844s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectOtherCallableIfaceProxy: 844s # * 844s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherCallableIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectOtherCallableIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_other_callable_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_other_callable_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherCallableIface * 844s # org_project_other_callable_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherCallableIface * 844s # org_project_other_callable_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_other_callable_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherCallableIface * 844s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherCallableIface * 844s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectOtherCallableIfaceSkeleton: 844s # * 844s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherCallableIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_other_callable_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # 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); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_other_callable_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_other_callable_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 844s # { 844s # _org_project_other_callable_iface_skeleton_handle_method_call, 844s # _org_project_other_callable_iface_skeleton_handle_get_property, 844s # _org_project_other_callable_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_other_callable_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectOtherCallableIface * 844s # org_project_other_callable_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpe6xm9l4_ 844s # /tmp/tmpe6xm9l4_/tmpaij6ykdy.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe6xm9l4_/tmpaij6ykdy.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.CallableIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectCallableIface 844s # * @title: OrgProjectCallableIface 844s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.CallableIface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 844s # { 844s # { 844s # -1, 844s # (gchar *) "MethodWithManyArgs", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-method-with-many-args", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 844s # { 844s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.CallableIface", 844s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-callable-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_callable_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_callable_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_callable_iface_method_marshal_method_with_many_args ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectCallableIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.CallableIface. 844s # */ 844s # 844s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectCallableIface::handle-method-with-many-args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-method-with-many-args", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_callable_iface_method_marshal_method_with_many_args, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_callable_iface_call_method_with_many_args ( 844s # OrgProjectCallableIface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args_finish: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_method_with_many_args_finish ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean *out_an_b, 844s # guchar *out_an_y, 844s # gint16 *out_an_n, 844s # guint16 *out_an_q, 844s # gint *out_an_i, 844s # guint *out_an_u, 844s # gint64 *out_an_x, 844s # guint64 *out_an_t, 844s # gdouble *out_an_d, 844s # gchar **out_an_s, 844s # gchar **out_an_o, 844s # gchar **out_an_g, 844s # GVariant **out_an_h, 844s # gchar **out_an_ay, 844s # gchar ***out_an_as, 844s # gchar ***out_an_ao, 844s # gchar ***out_an_aay, 844s # GVariant **out_an_asv, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # out_an_b, 844s # out_an_y, 844s # out_an_n, 844s # out_an_q, 844s # out_an_i, 844s # out_an_u, 844s # out_an_x, 844s # out_an_t, 844s # out_an_d, 844s # out_an_s, 844s # out_an_o, 844s # out_an_g, 844s # out_an_h, 844s # out_an_ay, 844s # out_an_as, 844s # out_an_ao, 844s # out_an_aay, 844s # out_an_asv); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args_sync: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_method_with_many_args_sync ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean *out_an_b, 844s # guchar *out_an_y, 844s # gint16 *out_an_n, 844s # guint16 *out_an_q, 844s # gint *out_an_i, 844s # guint *out_an_u, 844s # gint64 *out_an_x, 844s # guint64 *out_an_t, 844s # gdouble *out_an_d, 844s # gchar **out_an_s, 844s # gchar **out_an_o, 844s # gchar **out_an_g, 844s # GVariant **out_an_h, 844s # gchar **out_an_ay, 844s # gchar ***out_an_as, 844s # gchar ***out_an_ao, 844s # gchar ***out_an_aay, 844s # GVariant **out_an_asv, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # out_an_b, 844s # out_an_y, 844s # out_an_n, 844s # out_an_q, 844s # out_an_i, 844s # out_an_u, 844s # out_an_x, 844s # out_an_t, 844s # out_an_d, 844s # out_an_s, 844s # out_an_o, 844s # out_an_g, 844s # out_an_h, 844s # out_an_ay, 844s # out_an_as, 844s # out_an_ao, 844s # out_an_aay, 844s # out_an_asv); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_complete_method_with_many_args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @an_b: Parameter to return. 844s # * @an_y: Parameter to return. 844s # * @an_n: Parameter to return. 844s # * @an_q: Parameter to return. 844s # * @an_i: Parameter to return. 844s # * @an_u: Parameter to return. 844s # * @an_x: Parameter to return. 844s # * @an_t: Parameter to return. 844s # * @an_d: Parameter to return. 844s # * @an_s: Parameter to return. 844s # * @an_o: Parameter to return. 844s # * @an_g: Parameter to return. 844s # * @an_h: Parameter to return. 844s # * @an_ay: Parameter to return. 844s # * @an_as: Parameter to return. 844s # * @an_ao: Parameter to return. 844s # * @an_aay: Parameter to return. 844s # * @an_asv: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_callable_iface_complete_method_with_many_args ( 844s # OrgProjectCallableIface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # gboolean an_b, 844s # guchar an_y, 844s # gint16 an_n, 844s # guint16 an_q, 844s # gint an_i, 844s # guint an_u, 844s # gint64 an_x, 844s # guint64 an_t, 844s # gdouble an_d, 844s # const gchar *an_s, 844s # const gchar *an_o, 844s # const gchar *an_g, 844s # GVariant *an_h, 844s # const gchar *an_ay, 844s # const gchar *const *an_as, 844s # const gchar *const *an_ao, 844s # const gchar *const *an_aay, 844s # GVariant *an_asv) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # an_b, 844s # an_y, 844s # an_n, 844s # an_q, 844s # an_i, 844s # an_u, 844s # an_x, 844s # an_t, 844s # an_d, 844s # an_s, 844s # an_o, 844s # an_g, 844s # an_h, 844s # an_ay, 844s # an_as, 844s # an_ao, 844s # an_aay, 844s # an_asv)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceProxy: 844s # * 844s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectCallableIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectCallableIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_callable_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_callable_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_callable_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceSkeleton: 844s # * 844s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectCallableIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectCallableIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_callable_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # 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); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_callable_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_callable_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 844s # { 844s # _org_project_callable_iface_skeleton_handle_method_call, 844s # _org_project_callable_iface_skeleton_handle_get_property, 844s # _org_project_callable_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_callable_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_callable_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpqwz6a07m 844s # /tmp/tmpqwz6a07m/tmpi_raq_qa.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqwz6a07m/tmpi_raq_qa.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # GUnixFDList *arg_fd_list, 844s # const gchar *arg_greeting, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 4); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_object (param_values + 2), 844s # g_marshal_value_peek_string (param_values + 3), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface test.FDPassing 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:TestFDPassing 844s # * @title: TestFDPassing 844s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 844s # * 844s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for test.FDPassing ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 844s # { 844s # { 844s # -1, 844s # (gchar *) "greeting", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 844s # { 844s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 844s # { 844s # { 844s # -1, 844s # (gchar *) "response", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 844s # { 844s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 844s # { 844s # { 844s # -1, 844s # (gchar *) "HelloFD", 844s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 844s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-hello-fd", 844s # TRUE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 844s # { 844s # &_test_fdpassing_method_info_hello_fd.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "test.FDPassing", 844s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "test-fdpassing", 844s # }; 844s # 844s # 844s # /** 844s # * test_fdpassing_interface_info: 844s # * 844s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # test_fdpassing_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * test_fdpassing_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # test_fdpassing_method_marshal_hello_fd ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * TestFDPassing: 844s # * 844s # * Abstract interface type for the D-Bus interface test.FDPassing. 844s # */ 844s # 844s # /** 844s # * TestFDPassingIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 844s # * 844s # * Virtual table for the D-Bus interface test.FDPassing. 844s # */ 844s # 844s # typedef TestFDPassingIface TestFDPassingInterface; 844s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 844s # 844s # static void 844s # test_fdpassing_default_init (TestFDPassingIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * TestFDPassing::handle-hello-fd: 844s # * @object: A #TestFDPassing. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 844s # * @arg_greeting: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-hello-fd", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # test_fdpassing_method_marshal_hello_fd, 844s # G_TYPE_BOOLEAN, 844s # 3, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 844s # 844s # } 844s # 844s # /** 844s # * test_fdpassing_call_hello_fd: 844s # * @proxy: A #TestFDPassingProxy. 844s # * @arg_greeting: Argument to pass with the method invocation. 844s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 844s # * 844s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # test_fdpassing_call_hello_fd ( 844s # TestFDPassing *proxy, 844s # const gchar *arg_greeting, 844s # GUnixFDList *fd_list, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 844s # "HelloFD", 844s # g_variant_new ("(s)", 844s # arg_greeting), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # fd_list, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * test_fdpassing_call_hello_fd_finish: 844s # * @proxy: A #TestFDPassingProxy. 844s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # test_fdpassing_call_hello_fd_finish ( 844s # TestFDPassing *proxy, 844s # gchar **out_response, 844s # GUnixFDList **out_fd_list, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(s)", 844s # out_response); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * test_fdpassing_call_hello_fd_sync: 844s # * @proxy: A #TestFDPassingProxy. 844s # * @arg_greeting: Argument to pass with the method invocation. 844s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 844s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # test_fdpassing_call_hello_fd_sync ( 844s # TestFDPassing *proxy, 844s # const gchar *arg_greeting, 844s # GUnixFDList *fd_list, 844s # gchar **out_response, 844s # GUnixFDList **out_fd_list, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 844s # "HelloFD", 844s # g_variant_new ("(s)", 844s # arg_greeting), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # fd_list, 844s # out_fd_list, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(s)", 844s # out_response); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * test_fdpassing_complete_hello_fd: 844s # * @object: A #TestFDPassing. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 844s # * @response: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # test_fdpassing_complete_hello_fd ( 844s # TestFDPassing *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # GUnixFDList *fd_list, 844s # const gchar *response) 844s # { 844s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 844s # g_variant_new ("(s)", 844s # response), 844s # fd_list); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * TestFDPassingProxy: 844s # * 844s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * TestFDPassingProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #TestFDPassingProxy. 844s # */ 844s # 844s # struct _TestFDPassingProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (TestFDPassingProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # test_fdpassing_proxy_finalize (GObject *object) 844s # { 844s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = test_fdpassing_proxy_finalize; 844s # gobject_class->get_property = test_fdpassing_proxy_get_property; 844s # gobject_class->set_property = test_fdpassing_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 844s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * test_fdpassing_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # test_fdpassing_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * test_fdpassing_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with test_fdpassing_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # TestFDPassing * 844s # test_fdpassing_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return TEST_FDPASSING (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * test_fdpassing_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # TestFDPassing * 844s # test_fdpassing_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return TEST_FDPASSING (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * test_fdpassing_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # test_fdpassing_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * test_fdpassing_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # TestFDPassing * 844s # test_fdpassing_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return TEST_FDPASSING (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * test_fdpassing_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # TestFDPassing * 844s # test_fdpassing_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return TEST_FDPASSING (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * TestFDPassingSkeleton: 844s # * 844s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * TestFDPassingSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #TestFDPassingSkeleton. 844s # */ 844s # 844s # struct _TestFDPassingSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _test_fdpassing_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # 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); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _test_fdpassing_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _test_fdpassing_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 844s # { 844s # _test_fdpassing_skeleton_handle_method_call, 844s # _test_fdpassing_skeleton_handle_get_property, 844s # _test_fdpassing_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return test_fdpassing_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (TestFDPassingSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # test_fdpassing_skeleton_finalize (GObject *object) 844s # { 844s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * test_fdpassing_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 844s # * 844s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 844s # */ 844s # TestFDPassing * 844s # test_fdpassing_skeleton_new (void) 844s # { 844s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 15 __main__.TestCodegen.test_generate_rst 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpbanhewau 844s # /tmp/tmpbanhewau/tmplm2a9ocn.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbanhewau/tmplm2a9ocn.xml', '--generate-rst', 'test'] 844s # Return code: 0 844s # Output: 844s # 844s # Error: 844s ok 16 __main__.TestCodegen.test_generate_rst_method 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpexx2mjat 844s # /tmp/tmpexx2mjat/tmpted7nw8b.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpexx2mjat/tmpted7nw8b.xml', '--generate-rst', 'test'] 844s # Return code: 0 844s # Output: 844s # 844s # Error: 844s ok 17 __main__.TestCodegen.test_generate_rst_property 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpceqx0b68 844s # /tmp/tmpceqx0b68/tmpq7k0h3ko.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpceqx0b68/tmpq7k0h3ko.xml', '--generate-rst', 'test'] 844s # Return code: 0 844s # Output: 844s # 844s # Error: 844s ok 18 __main__.TestCodegen.test_generate_rst_signal 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmp2j42qj3a 844s # /tmp/tmp2j42qj3a/tmp647h6y9h.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2j42qj3a/tmp647h6y9h.xml', '--generate-rst', 'test'] 844s # Return code: 0 844s # Output: 844s # 844s # Error: 845s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmpd08q7zaq 845s # /tmp/tmpd08q7zaq/tmp26mazkaz.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd08q7zaq/tmp26mazkaz.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # static void 845s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 845s # GClosure *closure, 845s # GValue *return_value G_GNUC_UNUSED, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint G_GNUC_UNUSED, 845s # void *marshal_data) 845s # { 845s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 845s # (void *data1, 845s # gboolean arg_an_b, 845s # guchar arg_an_y, 845s # gint16 arg_an_n, 845s # guint16 arg_an_q, 845s # gint arg_an_i, 845s # guint arg_an_u, 845s # gint64 arg_an_x, 845s # guint64 arg_an_t, 845s # gdouble arg_an_d, 845s # const gchar *arg_an_s, 845s # const gchar *arg_an_o, 845s # const gchar *arg_an_g, 845s # GVariant *arg_an_h, 845s # const gchar *arg_an_ay, 845s # const gchar *const *arg_an_as, 845s # const gchar *const *arg_an_ao, 845s # const gchar *const *arg_an_aay, 845s # GVariant *arg_an_asv, 845s # void *data2); 845s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 845s # GCClosure *cc = (GCClosure*) closure; 845s # void *data1, *data2; 845s # 845s # g_return_if_fail (n_param_values == 19); 845s # 845s # if (G_CCLOSURE_SWAP_DATA (closure)) 845s # { 845s # data1 = closure->data; 845s # data2 = g_value_peek_pointer (param_values + 0); 845s # } 845s # else 845s # { 845s # data1 = g_value_peek_pointer (param_values + 0); 845s # data2 = closure->data; 845s # } 845s # 845s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 845s # (marshal_data ? marshal_data : cc->callback); 845s # 845s # callback (data1, 845s # g_marshal_value_peek_boolean (param_values + 1), 845s # g_marshal_value_peek_uchar (param_values + 2), 845s # g_marshal_value_peek_int (param_values + 3), 845s # g_marshal_value_peek_uint (param_values + 4), 845s # g_marshal_value_peek_int (param_values + 5), 845s # g_marshal_value_peek_uint (param_values + 6), 845s # g_marshal_value_peek_int64 (param_values + 7), 845s # g_marshal_value_peek_uint64 (param_values + 8), 845s # g_marshal_value_peek_double (param_values + 9), 845s # g_marshal_value_peek_string (param_values + 10), 845s # g_marshal_value_peek_string (param_values + 11), 845s # g_marshal_value_peek_string (param_values + 12), 845s # g_marshal_value_peek_variant (param_values + 13), 845s # g_marshal_value_peek_string (param_values + 14), 845s # g_marshal_value_peek_boxed (param_values + 15), 845s # g_marshal_value_peek_boxed (param_values + 16), 845s # g_marshal_value_peek_boxed (param_values + 17), 845s # g_marshal_value_peek_variant (param_values + 18), 845s # data2); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_b", 845s # (gchar *) "b", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_y", 845s # (gchar *) "y", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_n", 845s # (gchar *) "n", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_q", 845s # (gchar *) "q", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_i", 845s # (gchar *) "i", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_u", 845s # (gchar *) "u", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_x", 845s # (gchar *) "x", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_t", 845s # (gchar *) "t", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_d", 845s # (gchar *) "d", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_s", 845s # (gchar *) "s", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_o", 845s # (gchar *) "o", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_g", 845s # (gchar *) "g", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_h", 845s # (gchar *) "h", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_ay", 845s # (gchar *) "ay", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_as", 845s # (gchar *) "as", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_ao", 845s # (gchar *) "ao", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_aay", 845s # (gchar *) "aay", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_asv", 845s # (gchar *) "a{sv}", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SignalWithManyArgs", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 845s # NULL 845s # }, 845s # "signal-with-many-args" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::signal-with-many-args: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_b: Argument. 845s # * @arg_an_y: Argument. 845s # * @arg_an_n: Argument. 845s # * @arg_an_q: Argument. 845s # * @arg_an_i: Argument. 845s # * @arg_an_u: Argument. 845s # * @arg_an_x: Argument. 845s # * @arg_an_t: Argument. 845s # * @arg_an_d: Argument. 845s # * @arg_an_s: Argument. 845s # * @arg_an_o: Argument. 845s # * @arg_an_g: Argument. 845s # * @arg_an_h: Argument. 845s # * @arg_an_ay: Argument. 845s # * @arg_an_as: Argument. 845s # * @arg_an_ao: Argument. 845s # * @arg_an_aay: Argument. 845s # * @arg_an_asv: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 845s # g_signal_new ("signal-with-many-args", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 845s # G_TYPE_NONE, 845s # 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); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_signal_with_many_args: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_b: Argument to pass with the signal. 845s # * @arg_an_y: Argument to pass with the signal. 845s # * @arg_an_n: Argument to pass with the signal. 845s # * @arg_an_q: Argument to pass with the signal. 845s # * @arg_an_i: Argument to pass with the signal. 845s # * @arg_an_u: Argument to pass with the signal. 845s # * @arg_an_x: Argument to pass with the signal. 845s # * @arg_an_t: Argument to pass with the signal. 845s # * @arg_an_d: Argument to pass with the signal. 845s # * @arg_an_s: Argument to pass with the signal. 845s # * @arg_an_o: Argument to pass with the signal. 845s # * @arg_an_g: Argument to pass with the signal. 845s # * @arg_an_h: Argument to pass with the signal. 845s # * @arg_an_ay: Argument to pass with the signal. 845s # * @arg_an_as: Argument to pass with the signal. 845s # * @arg_an_ao: Argument to pass with the signal. 845s # * @arg_an_aay: Argument to pass with the signal. 845s # * @arg_an_asv: Argument to pass with the signal. 845s # * 845s # * Emits the "SignalWithManyArgs" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_signal_with_many_args ( 845s # OrgProjectSignalingIface *object, 845s # gboolean arg_an_b, 845s # guchar arg_an_y, 845s # gint16 arg_an_n, 845s # guint16 arg_an_q, 845s # gint arg_an_i, 845s # guint arg_an_u, 845s # gint64 arg_an_x, 845s # guint64 arg_an_t, 845s # gdouble arg_an_d, 845s # const gchar *arg_an_s, 845s # const gchar *arg_an_o, 845s # const gchar *arg_an_g, 845s # GVariant *arg_an_h, 845s # const gchar *arg_an_ay, 845s # const gchar *const *arg_an_as, 845s # const gchar *const *arg_an_ao, 845s # const gchar *const *arg_an_aay, 845s # GVariant *arg_an_asv) 845s # { 845s # 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); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # 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); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 845s # OrgProjectSignalingIface *object, 845s # gboolean arg_an_b, 845s # guchar arg_an_y, 845s # gint16 arg_an_n, 845s # guint16 arg_an_q, 845s # gint arg_an_i, 845s # guint arg_an_u, 845s # gint64 arg_an_x, 845s # guint64 arg_an_t, 845s # gdouble arg_an_d, 845s # const gchar *arg_an_s, 845s # const gchar *arg_an_o, 845s # const gchar *arg_an_g, 845s # GVariant *arg_an_h, 845s # const gchar *arg_an_ay, 845s # const gchar *const *arg_an_as, 845s # const gchar *const *arg_an_ao, 845s # const gchar *const *arg_an_aay, 845s # GVariant *arg_an_asv) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 845s # arg_an_b, 845s # arg_an_y, 845s # arg_an_n, 845s # arg_an_q, 845s # arg_an_i, 845s # arg_an_u, 845s # arg_an_x, 845s # arg_an_t, 845s # arg_an_d, 845s # arg_an_s, 845s # arg_an_o, 845s # arg_an_g, 845s # arg_an_h, 845s # arg_an_ay, 845s # arg_an_as, 845s # arg_an_ao, 845s # arg_an_aay, 845s # arg_an_asv)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmpdgqfg_zf 845s # /tmp/tmpdgqfg_zf/tmpuhbg947y.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdgqfg_zf/tmpuhbg947y.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # static void 845s # _g_dbus_codegen_marshal_VOID__INT64 ( 845s # GClosure *closure, 845s # GValue *return_value G_GNUC_UNUSED, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint G_GNUC_UNUSED, 845s # void *marshal_data) 845s # { 845s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 845s # (void *data1, 845s # gint64 arg_an_x, 845s # void *data2); 845s # _GDbusCodegenMarshalVoid_Int64Func callback; 845s # GCClosure *cc = (GCClosure*) closure; 845s # void *data1, *data2; 845s # 845s # g_return_if_fail (n_param_values == 2); 845s # 845s # if (G_CCLOSURE_SWAP_DATA (closure)) 845s # { 845s # data1 = closure->data; 845s # data2 = g_value_peek_pointer (param_values + 0); 845s # } 845s # else 845s # { 845s # data1 = g_value_peek_pointer (param_values + 0); 845s # data2 = closure->data; 845s # } 845s # 845s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 845s # (marshal_data ? marshal_data : cc->callback); 845s # 845s # callback (data1, 845s # g_marshal_value_peek_int64 (param_values + 1), 845s # data2); 845s # } 845s # 845s # static void 845s # _g_dbus_codegen_marshal_VOID__UINT64 ( 845s # GClosure *closure, 845s # GValue *return_value G_GNUC_UNUSED, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint G_GNUC_UNUSED, 845s # void *marshal_data) 845s # { 845s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 845s # (void *data1, 845s # guint64 arg_an_t, 845s # void *data2); 845s # _GDbusCodegenMarshalVoid_Uint64Func callback; 845s # GCClosure *cc = (GCClosure*) closure; 845s # void *data1, *data2; 845s # 845s # g_return_if_fail (n_param_values == 2); 845s # 845s # if (G_CCLOSURE_SWAP_DATA (closure)) 845s # { 845s # data1 = closure->data; 845s # data2 = g_value_peek_pointer (param_values + 0); 845s # } 845s # else 845s # { 845s # data1 = g_value_peek_pointer (param_values + 0); 845s # data2 = closure->data; 845s # } 845s # 845s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 845s # (marshal_data ? marshal_data : cc->callback); 845s # 845s # callback (data1, 845s # g_marshal_value_peek_uint64 (param_values + 1), 845s # data2); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "NoArgSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "no-arg-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_b", 845s # (gchar *) "b", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalB", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-b" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_y", 845s # (gchar *) "y", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalY", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-y" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_n", 845s # (gchar *) "n", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalN", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-n" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_q", 845s # (gchar *) "q", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalQ", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-q" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_i", 845s # (gchar *) "i", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalI", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-i" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_u", 845s # (gchar *) "u", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalU", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-u" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_x", 845s # (gchar *) "x", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalX", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-x" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_t", 845s # (gchar *) "t", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalT", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-t" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_d", 845s # (gchar *) "d", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalD", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-d" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_s", 845s # (gchar *) "s", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalS", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-s" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_o", 845s # (gchar *) "o", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalO", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-o" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_g", 845s # (gchar *) "g", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalG", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-g" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_h", 845s # (gchar *) "h", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalH", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-h" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_ay", 845s # (gchar *) "ay", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalAY", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-ay" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_as", 845s # (gchar *) "as", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalAS", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-as" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_ao", 845s # (gchar *) "ao", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalAO", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-ao" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_aay", 845s # (gchar *) "aay", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalAAY", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-aay" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_asv", 845s # (gchar *) "a{sv}", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalASV", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-asv" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__BOOLEAN (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__UCHAR (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__INT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__UINT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__INT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__UINT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__DOUBLE (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__STRING (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__STRING (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__STRING (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VARIANT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__STRING (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__BOXED (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__BOXED (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__BOXED (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VARIANT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 845s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 845s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 845s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 845s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 845s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 845s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 845s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 845s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 845s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 845s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 845s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 845s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 845s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 845s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 845s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 845s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 845s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 845s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::no-arg-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 845s # g_signal_new ("no-arg-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_no_arg_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-b: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_b: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 845s # g_signal_new ("single-arg-signal-b", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_BOOLEAN); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-y: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_y: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 845s # g_signal_new ("single-arg-signal-y", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_UCHAR); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-n: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_n: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 845s # g_signal_new ("single-arg-signal-n", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_INT); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-q: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_q: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 845s # g_signal_new ("single-arg-signal-q", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_UINT); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-i: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_i: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 845s # g_signal_new ("single-arg-signal-i", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_INT); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-u: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_u: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 845s # g_signal_new ("single-arg-signal-u", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_UINT); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-x: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_x: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 845s # g_signal_new ("single-arg-signal-x", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_INT64); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-t: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_t: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 845s # g_signal_new ("single-arg-signal-t", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_UINT64); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-d: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_d: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 845s # g_signal_new ("single-arg-signal-d", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_DOUBLE); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-s: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_s: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 845s # g_signal_new ("single-arg-signal-s", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRING); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-o: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_o: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 845s # g_signal_new ("single-arg-signal-o", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRING); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-g: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_g: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 845s # g_signal_new ("single-arg-signal-g", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRING); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-h: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_h: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 845s # g_signal_new ("single-arg-signal-h", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_VARIANT); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-ay: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_ay: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 845s # g_signal_new ("single-arg-signal-ay", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRING); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-as: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_as: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 845s # g_signal_new ("single-arg-signal-as", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRV); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-ao: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_ao: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 845s # g_signal_new ("single-arg-signal-ao", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRV); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-aay: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_aay: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 845s # g_signal_new ("single-arg-signal-aay", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRV); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-asv: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_asv: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 845s # g_signal_new ("single-arg-signal-asv", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_VARIANT); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_no_arg_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "NoArgSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_no_arg_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_b: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_b: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalB" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_b ( 845s # OrgProjectSignalingIface *object, 845s # gboolean arg_an_b) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_y: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_y: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalY" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_y ( 845s # OrgProjectSignalingIface *object, 845s # guchar arg_an_y) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_n: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_n: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalN" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_n ( 845s # OrgProjectSignalingIface *object, 845s # gint16 arg_an_n) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_q: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_q: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalQ" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_q ( 845s # OrgProjectSignalingIface *object, 845s # guint16 arg_an_q) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_i: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_i: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalI" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_i ( 845s # OrgProjectSignalingIface *object, 845s # gint arg_an_i) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_u: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_u: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalU" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_u ( 845s # OrgProjectSignalingIface *object, 845s # guint arg_an_u) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_x: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_x: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalX" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_x ( 845s # OrgProjectSignalingIface *object, 845s # gint64 arg_an_x) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_t: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_t: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalT" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_t ( 845s # OrgProjectSignalingIface *object, 845s # guint64 arg_an_t) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_d: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_d: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalD" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_d ( 845s # OrgProjectSignalingIface *object, 845s # gdouble arg_an_d) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_s: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_s: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalS" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_s ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_an_s) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_o: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_o: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalO" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_o ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_an_o) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_g: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_g: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalG" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_g ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_an_g) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_h: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_h: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalH" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_h ( 845s # OrgProjectSignalingIface *object, 845s # GVariant *arg_an_h) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_ay: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_ay: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalAY" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_ay ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_an_ay) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_as: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_as: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalAS" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_as ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_an_as) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_ao: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_ao: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalAO" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_ao ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_an_ao) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_aay: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_aay: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalAAY" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_aay ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_an_aay) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_asv: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_asv: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalASV" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_asv ( 845s # OrgProjectSignalingIface *object, 845s # GVariant *arg_an_asv) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # 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); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_no_arg_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 845s # OrgProjectSignalingIface *object, 845s # gboolean arg_an_b) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 845s # arg_an_b)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 845s # OrgProjectSignalingIface *object, 845s # guchar arg_an_y) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 845s # arg_an_y)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 845s # OrgProjectSignalingIface *object, 845s # gint16 arg_an_n) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 845s # arg_an_n)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 845s # OrgProjectSignalingIface *object, 845s # guint16 arg_an_q) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 845s # arg_an_q)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 845s # OrgProjectSignalingIface *object, 845s # gint arg_an_i) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 845s # arg_an_i)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 845s # OrgProjectSignalingIface *object, 845s # guint arg_an_u) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 845s # arg_an_u)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 845s # OrgProjectSignalingIface *object, 845s # gint64 arg_an_x) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 845s # arg_an_x)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 845s # OrgProjectSignalingIface *object, 845s # guint64 arg_an_t) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 845s # arg_an_t)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 845s # OrgProjectSignalingIface *object, 845s # gdouble arg_an_d) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 845s # arg_an_d)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_an_s) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 845s # arg_an_s)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_an_o) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 845s # arg_an_o)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_an_g) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 845s # arg_an_g)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 845s # OrgProjectSignalingIface *object, 845s # GVariant *arg_an_h) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 845s # arg_an_h)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_an_ay) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 845s # arg_an_ay)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_an_as) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 845s # arg_an_as)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_an_ao) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 845s # arg_an_ao)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_an_aay) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 845s # arg_an_aay)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 845s # OrgProjectSignalingIface *object, 845s # GVariant *arg_an_asv) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 845s # arg_an_asv)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 845s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 845s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 845s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 845s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 845s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 845s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 845s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 845s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 845s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 845s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 845s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 845s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 845s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 845s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 845s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 845s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 845s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 845s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmp0jkw1h72 845s # /tmp/tmp0jkw1h72/tmp6tbs29cy.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0jkw1h72/tmp6tbs29cy.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.UsefulInterface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectUsefulInterface 845s # * @title: OrgProjectUsefulInterface 845s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 845s # { 845s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.UsefulInterface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-useful-interface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_useful_interface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_useful_interface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_useful_interface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_useful_interface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectUsefulInterface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 845s # */ 845s # 845s # /** 845s # * OrgProjectUsefulInterfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 845s # */ 845s # 845s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectUsefulInterface::simple-signal: 845s # * @object: A #OrgProjectUsefulInterface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_useful_interface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # } 845s # 845s # /** 845s # * org_project_useful_interface_emit_simple_signal: 845s # * @object: A #OrgProjectUsefulInterface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_useful_interface_emit_simple_signal ( 845s # OrgProjectUsefulInterface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectUsefulInterfaceProxy: 845s # * 845s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectUsefulInterfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectUsefulInterfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectUsefulInterfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_useful_interface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 845s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 845s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_useful_interface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_useful_interface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_useful_interface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectUsefulInterface * 845s # org_project_useful_interface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_useful_interface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectUsefulInterface * 845s # org_project_useful_interface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_useful_interface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_useful_interface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_useful_interface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectUsefulInterface * 845s # org_project_useful_interface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_useful_interface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectUsefulInterface * 845s # org_project_useful_interface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectUsefulInterfaceSkeleton: 845s # * 845s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectUsefulInterfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_useful_interface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # 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); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_useful_interface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_useful_interface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 845s # { 845s # _org_project_useful_interface_skeleton_handle_method_call, 845s # _org_project_useful_interface_skeleton_handle_get_property, 845s # _org_project_useful_interface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_useful_interface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_useful_interface_on_signal_simple_signal ( 845s # OrgProjectUsefulInterface *object) 845s # { 845s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_useful_interface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 845s # } 845s # 845s # /** 845s # * org_project_useful_interface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectUsefulInterface * 845s # org_project_useful_interface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.OtherIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectOtherIface 845s # * @title: OrgProjectOtherIface 845s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.OtherIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.OtherIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-other-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_other_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_other_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_other_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_other_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectOtherIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectOtherIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.OtherIface. 845s # */ 845s # 845s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectOtherIface::simple-signal: 845s # * @object: A #OrgProjectOtherIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_other_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # } 845s # 845s # /** 845s # * org_project_other_iface_emit_simple_signal: 845s # * @object: A #OrgProjectOtherIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_other_iface_emit_simple_signal ( 845s # OrgProjectOtherIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectOtherIfaceProxy: 845s # * 845s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectOtherIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectOtherIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectOtherIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_other_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_other_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_other_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_other_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_other_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectOtherIface * 845s # org_project_other_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_OTHER_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_other_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectOtherIface * 845s # org_project_other_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_OTHER_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_other_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_other_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_other_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectOtherIface * 845s # org_project_other_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_OTHER_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_other_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectOtherIface * 845s # org_project_other_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_OTHER_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectOtherIfaceSkeleton: 845s # * 845s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectOtherIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectOtherIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectOtherIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_other_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # 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); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_other_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_other_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 845s # { 845s # _org_project_other_iface_skeleton_handle_method_call, 845s # _org_project_other_iface_skeleton_handle_get_property, 845s # _org_project_other_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_other_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_other_iface_on_signal_simple_signal ( 845s # OrgProjectOtherIface *object) 845s # { 845s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_other_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 845s # } 845s # 845s # /** 845s # * org_project_other_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectOtherIface * 845s # org_project_other_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmp8rxxjl08 845s # /tmp/tmp8rxxjl08/tmp6s6vwblz.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8rxxjl08/tmp6s6vwblz.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # 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); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.OtherSignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectOtherSignalingIface 845s # * @title: OrgProjectOtherSignalingIface 845s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.OtherSignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-other-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_other_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_other_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_other_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectOtherSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectOtherSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 845s # */ 845s # 845s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectOtherSignalingIface::simple-signal: 845s # * @object: A #OrgProjectOtherSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * 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. 845s # */ 845s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_other_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # } 845s # 845s # /** 845s # * org_project_other_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectOtherSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_other_signaling_iface_emit_simple_signal ( 845s # OrgProjectOtherSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectOtherSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectOtherSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_other_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_other_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_other_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectOtherSignalingIface * 845s # org_project_other_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_other_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectOtherSignalingIface * 845s # org_project_other_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_other_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_other_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectOtherSignalingIface * 845s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectOtherSignalingIface * 845s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectOtherSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectOtherSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # 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); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_other_signaling_iface_skeleton_handle_method_call, 845s # _org_project_other_signaling_iface_skeleton_handle_get_property, 845s # _org_project_other_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_other_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_other_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectOtherSignalingIface *object) 845s # { 845s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 845s # } 845s # 845s # /** 845s # * org_project_other_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectOtherSignalingIface * 845s # org_project_other_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 847s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmpzf66p_pq 847s # /tmp/tmpzf66p_pq/tmp59jpaspe.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmp59jpaspe.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_b", 847s # (gchar *) "b", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalB", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-b" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__BOOLEAN (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-b: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_b: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 847s # g_signal_new ("single-arg-signal-b", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_BOOLEAN); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_b: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_b: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalB" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_b ( 847s # OrgProjectSignalingIface *object, 847s # gboolean arg_arg_b) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 847s # OrgProjectSignalingIface *object, 847s # gboolean arg_arg_b) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 847s # arg_arg_b)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpmvtg_7ob.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpmvtg_7ob.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_y", 847s # (gchar *) "y", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalY", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-y" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__UCHAR (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-y: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_y: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 847s # g_signal_new ("single-arg-signal-y", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_UCHAR); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_y: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_y: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalY" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_y ( 847s # OrgProjectSignalingIface *object, 847s # guchar arg_arg_y) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 847s # OrgProjectSignalingIface *object, 847s # guchar arg_arg_y) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 847s # arg_arg_y)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmp4g8zdun3.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmp4g8zdun3.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_n", 847s # (gchar *) "n", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalN", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-n" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__INT (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-n: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_n: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 847s # g_signal_new ("single-arg-signal-n", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_INT); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_n: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_n: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalN" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_n ( 847s # OrgProjectSignalingIface *object, 847s # gint16 arg_arg_n) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 847s # OrgProjectSignalingIface *object, 847s # gint16 arg_arg_n) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 847s # arg_arg_n)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpzbjqelwc.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpzbjqelwc.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_q", 847s # (gchar *) "q", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalQ", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-q" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__UINT (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-q: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_q: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 847s # g_signal_new ("single-arg-signal-q", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_UINT); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_q: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_q: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalQ" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_q ( 847s # OrgProjectSignalingIface *object, 847s # guint16 arg_arg_q) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 847s # OrgProjectSignalingIface *object, 847s # guint16 arg_arg_q) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 847s # arg_arg_q)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmp7_p8ymxv.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmp7_p8ymxv.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_i", 847s # (gchar *) "i", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalI", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-i" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__INT (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-i: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_i: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 847s # g_signal_new ("single-arg-signal-i", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_INT); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_i: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_i: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalI" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_i ( 847s # OrgProjectSignalingIface *object, 847s # gint arg_arg_i) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 847s # OrgProjectSignalingIface *object, 847s # gint arg_arg_i) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 847s # arg_arg_i)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpq8_s3bo_.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpq8_s3bo_.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_u", 847s # (gchar *) "u", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalU", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-u" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__UINT (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-u: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_u: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 847s # g_signal_new ("single-arg-signal-u", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_UINT); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_u: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_u: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalU" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_u ( 847s # OrgProjectSignalingIface *object, 847s # guint arg_arg_u) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 847s # OrgProjectSignalingIface *object, 847s # guint arg_arg_u) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 847s # arg_arg_u)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpdvz5qu11.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpdvz5qu11.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # static void 847s # _g_dbus_codegen_marshal_VOID__INT64 ( 847s # GClosure *closure, 847s # GValue *return_value G_GNUC_UNUSED, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint G_GNUC_UNUSED, 847s # void *marshal_data) 847s # { 847s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 847s # (void *data1, 847s # gint64 arg_arg_x, 847s # void *data2); 847s # _GDbusCodegenMarshalVoid_Int64Func callback; 847s # GCClosure *cc = (GCClosure*) closure; 847s # void *data1, *data2; 847s # 847s # g_return_if_fail (n_param_values == 2); 847s # 847s # if (G_CCLOSURE_SWAP_DATA (closure)) 847s # { 847s # data1 = closure->data; 847s # data2 = g_value_peek_pointer (param_values + 0); 847s # } 847s # else 847s # { 847s # data1 = g_value_peek_pointer (param_values + 0); 847s # data2 = closure->data; 847s # } 847s # 847s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 847s # (marshal_data ? marshal_data : cc->callback); 847s # 847s # callback (data1, 847s # g_marshal_value_peek_int64 (param_values + 1), 847s # data2); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_x", 847s # (gchar *) "x", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalX", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-x" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-x: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_x: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 847s # g_signal_new ("single-arg-signal-x", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_INT64); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_x: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_x: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalX" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_x ( 847s # OrgProjectSignalingIface *object, 847s # gint64 arg_arg_x) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 847s # OrgProjectSignalingIface *object, 847s # gint64 arg_arg_x) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 847s # arg_arg_x)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpf9pnes2z.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpf9pnes2z.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # static void 847s # _g_dbus_codegen_marshal_VOID__UINT64 ( 847s # GClosure *closure, 847s # GValue *return_value G_GNUC_UNUSED, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint G_GNUC_UNUSED, 847s # void *marshal_data) 847s # { 847s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 847s # (void *data1, 847s # guint64 arg_arg_t, 847s # void *data2); 847s # _GDbusCodegenMarshalVoid_Uint64Func callback; 847s # GCClosure *cc = (GCClosure*) closure; 847s # void *data1, *data2; 847s # 847s # g_return_if_fail (n_param_values == 2); 847s # 847s # if (G_CCLOSURE_SWAP_DATA (closure)) 847s # { 847s # data1 = closure->data; 847s # data2 = g_value_peek_pointer (param_values + 0); 847s # } 847s # else 847s # { 847s # data1 = g_value_peek_pointer (param_values + 0); 847s # data2 = closure->data; 847s # } 847s # 847s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 847s # (marshal_data ? marshal_data : cc->callback); 847s # 847s # callback (data1, 847s # g_marshal_value_peek_uint64 (param_values + 1), 847s # data2); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_t", 847s # (gchar *) "t", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalT", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-t" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-t: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_t: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 847s # g_signal_new ("single-arg-signal-t", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_UINT64); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_t: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_t: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalT" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_t ( 847s # OrgProjectSignalingIface *object, 847s # guint64 arg_arg_t) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 847s # OrgProjectSignalingIface *object, 847s # guint64 arg_arg_t) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 847s # arg_arg_t)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpmtine_n4.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpmtine_n4.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_d", 847s # (gchar *) "d", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalD", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-d" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__DOUBLE (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-d: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_d: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 847s # g_signal_new ("single-arg-signal-d", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_DOUBLE); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_d: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_d: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalD" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_d ( 847s # OrgProjectSignalingIface *object, 847s # gdouble arg_arg_d) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 847s # OrgProjectSignalingIface *object, 847s # gdouble arg_arg_d) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 847s # arg_arg_d)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpcxljossj.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpcxljossj.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_s", 847s # (gchar *) "s", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalS", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-s" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__STRING (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-s: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_s: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 847s # g_signal_new ("single-arg-signal-s", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_STRING); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_s: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_s: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalS" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_s ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *arg_arg_s) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *arg_arg_s) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 847s # arg_arg_s)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpl5r2jp4g.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpl5r2jp4g.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_o", 847s # (gchar *) "o", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalO", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-o" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__STRING (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-o: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_o: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 847s # g_signal_new ("single-arg-signal-o", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_STRING); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_o: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_o: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalO" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_o ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *arg_arg_o) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *arg_arg_o) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 847s # arg_arg_o)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmphzbr4lk7.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmphzbr4lk7.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_g", 847s # (gchar *) "g", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalG", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-g" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__STRING (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-g: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_g: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 847s # g_signal_new ("single-arg-signal-g", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_STRING); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_g: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_g: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalG" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_g ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *arg_arg_g) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *arg_arg_g) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 847s # arg_arg_g)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmp40d3vauo.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmp40d3vauo.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_h", 847s # (gchar *) "h", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalH", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-h" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VARIANT (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-h: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_h: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 847s # g_signal_new ("single-arg-signal-h", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_VARIANT); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_h: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_h: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalH" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_h ( 847s # OrgProjectSignalingIface *object, 847s # GVariant *arg_arg_h) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 847s # OrgProjectSignalingIface *object, 847s # GVariant *arg_arg_h) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 847s # arg_arg_h)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpirgh_cs5.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpirgh_cs5.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_ay", 847s # (gchar *) "ay", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalAy", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-ay" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__STRING (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-ay: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_ay: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 847s # g_signal_new ("single-arg-signal-ay", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_STRING); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_ay: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_ay: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalAy" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_ay ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *arg_arg_ay) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *arg_arg_ay) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 847s # arg_arg_ay)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmp1ahzf2d8.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmp1ahzf2d8.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_as", 847s # (gchar *) "as", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalAs", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-as" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__BOXED (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-as: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_as: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 847s # g_signal_new ("single-arg-signal-as", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_STRV); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_as: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_as: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalAs" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_as ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *const *arg_arg_as) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *const *arg_arg_as) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 847s # arg_arg_as)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpbdnbf46m.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpbdnbf46m.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_ao", 847s # (gchar *) "ao", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalAo", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-ao" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__BOXED (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-ao: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_ao: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 847s # g_signal_new ("single-arg-signal-ao", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_STRV); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_ao: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_ao: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalAo" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_ao ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *const *arg_arg_ao) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *const *arg_arg_ao) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 847s # arg_arg_ao)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpx1c4oh2e.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpx1c4oh2e.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_aay", 847s # (gchar *) "aay", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalAay", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-aay" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__BOXED (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-aay: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_aay: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 847s # g_signal_new ("single-arg-signal-aay", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_STRV); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_aay: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_aay: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalAay" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_aay ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *const *arg_arg_aay) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 847s # OrgProjectSignalingIface *object, 847s # const gchar *const *arg_arg_aay) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 847s # arg_arg_aay)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s # 847s # /tmp/tmpzf66p_pq/tmpnvnudbwp.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzf66p_pq/tmpnvnudbwp.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 847s # { 847s # { 847s # -1, 847s # (gchar *) "arg_asv", 847s # (gchar *) "a{sv}", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SingleArgSignalAsv", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 847s # NULL 847s # }, 847s # "single-arg-signal-asv" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VARIANT (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::single-arg-signal-asv: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_asv: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 847s # g_signal_new ("single-arg-signal-asv", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 847s # G_TYPE_NONE, 847s # 1, G_TYPE_VARIANT); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_single_arg_signal_asv: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_arg_asv: Argument to pass with the signal. 847s # * 847s # * Emits the "SingleArgSignalAsv" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_single_arg_signal_asv ( 847s # OrgProjectSignalingIface *object, 847s # GVariant *arg_arg_asv) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 847s # OrgProjectSignalingIface *object, 847s # GVariant *arg_arg_asv) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 847s # arg_arg_asv)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmp496mf9nh 847s # /tmp/tmp496mf9nh/tmpw3l4omxn.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp496mf9nh/tmpw3l4omxn.xml', '--output', '-', '--body'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifdef HAVE_CONFIG_H 847s # # include "config.h" 847s # #endif 847s # 847s # #include 847s # #ifdef G_OS_UNIX 847s # # include 847s # #endif 847s # 847s # #ifdef G_ENABLE_DEBUG 847s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 847s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 847s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 847s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 847s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 847s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 847s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 847s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 847s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 847s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 847s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 847s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 847s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 847s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 847s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 847s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 847s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 847s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 847s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 847s # #else /* !G_ENABLE_DEBUG */ 847s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 847s # * Do not access GValues directly in your code. Instead, use the 847s # * g_value_get_*() functions 847s # */ 847s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 847s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 847s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 847s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 847s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 847s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 847s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 847s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 847s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 847s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 847s # #endif /* !G_ENABLE_DEBUG */ 847s # 847s # typedef struct 847s # { 847s # GDBusArgInfo parent_struct; 847s # gboolean use_gvariant; 847s # } _ExtendedGDBusArgInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusMethodInfo parent_struct; 847s # const gchar *signal_name; 847s # gboolean pass_fdlist; 847s # } _ExtendedGDBusMethodInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusSignalInfo parent_struct; 847s # const gchar *signal_name; 847s # } _ExtendedGDBusSignalInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusPropertyInfo parent_struct; 847s # const gchar *hyphen_name; 847s # guint use_gvariant : 1; 847s # guint emits_changed_signal : 1; 847s # } _ExtendedGDBusPropertyInfo; 847s # 847s # typedef struct 847s # { 847s # GDBusInterfaceInfo parent_struct; 847s # const gchar *hyphen_name; 847s # } _ExtendedGDBusInterfaceInfo; 847s # 847s # typedef struct 847s # { 847s # const _ExtendedGDBusPropertyInfo *info; 847s # guint prop_id; 847s # GValue orig_value; /* the value before the change */ 847s # } ChangedProperty; 847s # 847s # static void 847s # _changed_property_free (ChangedProperty *data) 847s # { 847s # g_value_unset (&data->orig_value); 847s # g_free (data); 847s # } 847s # 847s # static gboolean 847s # _g_strv_equal0 (gchar **a, gchar **b) 847s # { 847s # gboolean ret = FALSE; 847s # guint n; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # if (g_strv_length (a) != g_strv_length (b)) 847s # goto out; 847s # for (n = 0; a[n] != NULL; n++) 847s # if (g_strcmp0 (a[n], b[n]) != 0) 847s # goto out; 847s # ret = TRUE; 847s # out: 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _g_variant_equal0 (GVariant *a, GVariant *b) 847s # { 847s # gboolean ret = FALSE; 847s # if (a == NULL && b == NULL) 847s # { 847s # ret = TRUE; 847s # goto out; 847s # } 847s # if (a == NULL || b == NULL) 847s # goto out; 847s # ret = g_variant_equal (a, b); 847s # out: 847s # return ret; 847s # } 847s # 847s # G_GNUC_UNUSED static gboolean 847s # _g_value_equal (const GValue *a, const GValue *b) 847s # { 847s # gboolean ret = FALSE; 847s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 847s # switch (G_VALUE_TYPE (a)) 847s # { 847s # case G_TYPE_BOOLEAN: 847s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 847s # break; 847s # case G_TYPE_UCHAR: 847s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 847s # break; 847s # case G_TYPE_INT: 847s # ret = (g_value_get_int (a) == g_value_get_int (b)); 847s # break; 847s # case G_TYPE_UINT: 847s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 847s # break; 847s # case G_TYPE_INT64: 847s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 847s # break; 847s # case G_TYPE_UINT64: 847s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 847s # break; 847s # case G_TYPE_DOUBLE: 847s # { 847s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 847s # gdouble da = g_value_get_double (a); 847s # gdouble db = g_value_get_double (b); 847s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 847s # } 847s # break; 847s # case G_TYPE_STRING: 847s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 847s # break; 847s # case G_TYPE_VARIANT: 847s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 847s # break; 847s # default: 847s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 847s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 847s # else 847s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 847s # break; 847s # } 847s # return ret; 847s # } 847s # 847s # static void 847s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 847s # GClosure *closure, 847s # GValue *return_value G_GNUC_UNUSED, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint G_GNUC_UNUSED, 847s # void *marshal_data) 847s # { 847s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 847s # (void *data1, 847s # gboolean arg_an_b, 847s # guchar arg_an_y, 847s # gint16 arg_an_n, 847s # guint16 arg_an_q, 847s # gint arg_an_i, 847s # guint arg_an_u, 847s # gint64 arg_an_x, 847s # guint64 arg_an_t, 847s # gdouble arg_an_d, 847s # const gchar *arg_an_s, 847s # const gchar *arg_an_o, 847s # const gchar *arg_an_g, 847s # GVariant *arg_an_h, 847s # const gchar *arg_an_ay, 847s # const gchar *const *arg_an_as, 847s # const gchar *const *arg_an_ao, 847s # const gchar *const *arg_an_aay, 847s # GVariant *arg_an_asv, 847s # void *data2); 847s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 847s # GCClosure *cc = (GCClosure*) closure; 847s # void *data1, *data2; 847s # 847s # g_return_if_fail (n_param_values == 19); 847s # 847s # if (G_CCLOSURE_SWAP_DATA (closure)) 847s # { 847s # data1 = closure->data; 847s # data2 = g_value_peek_pointer (param_values + 0); 847s # } 847s # else 847s # { 847s # data1 = g_value_peek_pointer (param_values + 0); 847s # data2 = closure->data; 847s # } 847s # 847s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 847s # (marshal_data ? marshal_data : cc->callback); 847s # 847s # callback (data1, 847s # g_marshal_value_peek_boolean (param_values + 1), 847s # g_marshal_value_peek_uchar (param_values + 2), 847s # g_marshal_value_peek_int (param_values + 3), 847s # g_marshal_value_peek_uint (param_values + 4), 847s # g_marshal_value_peek_int (param_values + 5), 847s # g_marshal_value_peek_uint (param_values + 6), 847s # g_marshal_value_peek_int64 (param_values + 7), 847s # g_marshal_value_peek_uint64 (param_values + 8), 847s # g_marshal_value_peek_double (param_values + 9), 847s # g_marshal_value_peek_string (param_values + 10), 847s # g_marshal_value_peek_string (param_values + 11), 847s # g_marshal_value_peek_string (param_values + 12), 847s # g_marshal_value_peek_variant (param_values + 13), 847s # g_marshal_value_peek_string (param_values + 14), 847s # g_marshal_value_peek_boxed (param_values + 15), 847s # g_marshal_value_peek_boxed (param_values + 16), 847s # g_marshal_value_peek_boxed (param_values + 17), 847s # g_marshal_value_peek_variant (param_values + 18), 847s # data2); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ 847s # * Code for interface org.project.SignalingIface 847s # * ------------------------------------------------------------------------ 847s # */ 847s # 847s # /** 847s # * SECTION:OrgProjectSignalingIface 847s # * @title: OrgProjectSignalingIface 847s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 847s # * 847s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 847s # */ 847s # 847s # enum 847s # { 847s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 847s # }; 847s # 847s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 847s # 847s # /* ---- Introspection data for org.project.SignalingIface ---- */ 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SimpleSignal", 847s # NULL, 847s # NULL 847s # }, 847s # "simple-signal" 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_b", 847s # (gchar *) "b", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_y", 847s # (gchar *) "y", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_n", 847s # (gchar *) "n", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_q", 847s # (gchar *) "q", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_i", 847s # (gchar *) "i", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_u", 847s # (gchar *) "u", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_x", 847s # (gchar *) "x", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_t", 847s # (gchar *) "t", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_d", 847s # (gchar *) "d", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_s", 847s # (gchar *) "s", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_o", 847s # (gchar *) "o", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_g", 847s # (gchar *) "g", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_h", 847s # (gchar *) "h", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_ay", 847s # (gchar *) "ay", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_as", 847s # (gchar *) "as", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_ao", 847s # (gchar *) "ao", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_aay", 847s # (gchar *) "aay", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 847s # { 847s # { 847s # -1, 847s # (gchar *) "an_asv", 847s # (gchar *) "a{sv}", 847s # NULL 847s # }, 847s # FALSE 847s # }; 847s # 847s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 847s # { 847s # { 847s # -1, 847s # (gchar *) "SignalWithManyArgs", 847s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 847s # NULL 847s # }, 847s # "signal-with-many-args" 847s # }; 847s # 847s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 847s # { 847s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 847s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 847s # NULL 847s # }; 847s # 847s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 847s # { 847s # { 847s # -1, 847s # (gchar *) "org.project.SignalingIface", 847s # NULL, 847s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 847s # NULL, 847s # NULL 847s # }, 847s # "org-project-signaling-iface", 847s # }; 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_interface_info: 847s # * 847s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 847s # * 847s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 847s # */ 847s # GDBusInterfaceInfo * 847s # org_project_signaling_iface_interface_info (void) 847s # { 847s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_override_properties: 847s # * @klass: The class structure for a #GObject derived class. 847s # * @property_id_begin: The property id to assign to the first overridden property. 847s # * 847s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 847s # * The properties are overridden in the order they are defined. 847s # * 847s # * Returns: The last property id. 847s # */ 847s # guint 847s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 847s # { 847s # return property_id_begin - 1; 847s # } 847s # 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_simple_signal ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # g_cclosure_marshal_VOID__VOID (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # inline static void 847s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 847s # GClosure *closure, 847s # GValue *return_value, 847s # unsigned int n_param_values, 847s # const GValue *param_values, 847s # void *invocation_hint, 847s # void *marshal_data) 847s # { 847s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 847s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 847s # } 847s # 847s # 847s # /** 847s # * OrgProjectSignalingIface: 847s # * 847s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceIface: 847s # * @parent_iface: The parent interface. 847s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 847s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 847s # * 847s # * Virtual table for the D-Bus interface org.project.SignalingIface. 847s # */ 847s # 847s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 847s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 847s # 847s # static void 847s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # /* GObject signals for received D-Bus signals: */ 847s # /** 847s # * OrgProjectSignalingIface::simple-signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 847s # g_signal_new ("simple-signal", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_simple_signal, 847s # G_TYPE_NONE, 847s # 0); 847s # 847s # /** 847s # * OrgProjectSignalingIface::signal-with-many-args: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_an_b: Argument. 847s # * @arg_an_y: Argument. 847s # * @arg_an_n: Argument. 847s # * @arg_an_q: Argument. 847s # * @arg_an_i: Argument. 847s # * @arg_an_u: Argument. 847s # * @arg_an_x: Argument. 847s # * @arg_an_t: Argument. 847s # * @arg_an_d: Argument. 847s # * @arg_an_s: Argument. 847s # * @arg_an_o: Argument. 847s # * @arg_an_g: Argument. 847s # * @arg_an_h: Argument. 847s # * @arg_an_ay: Argument. 847s # * @arg_an_as: Argument. 847s # * @arg_an_ao: Argument. 847s # * @arg_an_aay: Argument. 847s # * @arg_an_asv: Argument. 847s # * 847s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 847s # * 847s # * 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. 847s # */ 847s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 847s # g_signal_new ("signal-with-many-args", 847s # G_TYPE_FROM_INTERFACE (iface), 847s # G_SIGNAL_RUN_LAST, 847s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 847s # NULL, 847s # NULL, 847s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 847s # G_TYPE_NONE, 847s # 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); 847s # 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_simple_signal: 847s # * @object: A #OrgProjectSignalingIface. 847s # * 847s # * Emits the "SimpleSignal" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_emit_signal_with_many_args: 847s # * @object: A #OrgProjectSignalingIface. 847s # * @arg_an_b: Argument to pass with the signal. 847s # * @arg_an_y: Argument to pass with the signal. 847s # * @arg_an_n: Argument to pass with the signal. 847s # * @arg_an_q: Argument to pass with the signal. 847s # * @arg_an_i: Argument to pass with the signal. 847s # * @arg_an_u: Argument to pass with the signal. 847s # * @arg_an_x: Argument to pass with the signal. 847s # * @arg_an_t: Argument to pass with the signal. 847s # * @arg_an_d: Argument to pass with the signal. 847s # * @arg_an_s: Argument to pass with the signal. 847s # * @arg_an_o: Argument to pass with the signal. 847s # * @arg_an_g: Argument to pass with the signal. 847s # * @arg_an_h: Argument to pass with the signal. 847s # * @arg_an_ay: Argument to pass with the signal. 847s # * @arg_an_as: Argument to pass with the signal. 847s # * @arg_an_ao: Argument to pass with the signal. 847s # * @arg_an_aay: Argument to pass with the signal. 847s # * @arg_an_asv: Argument to pass with the signal. 847s # * 847s # * Emits the "SignalWithManyArgs" D-Bus signal. 847s # */ 847s # void 847s # org_project_signaling_iface_emit_signal_with_many_args ( 847s # OrgProjectSignalingIface *object, 847s # gboolean arg_an_b, 847s # guchar arg_an_y, 847s # gint16 arg_an_n, 847s # guint16 arg_an_q, 847s # gint arg_an_i, 847s # guint arg_an_u, 847s # gint64 arg_an_x, 847s # guint64 arg_an_t, 847s # gdouble arg_an_d, 847s # const gchar *arg_an_s, 847s # const gchar *arg_an_o, 847s # const gchar *arg_an_g, 847s # GVariant *arg_an_h, 847s # const gchar *arg_an_ay, 847s # const gchar *const *arg_an_as, 847s # const gchar *const *arg_an_ao, 847s # const gchar *const *arg_an_aay, 847s # GVariant *arg_an_asv) 847s # { 847s # 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); 847s # } 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxy: 847s # * 847s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceProxyClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceProxy. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceProxyPrivate 847s # { 847s # GData *qdata; 847s # }; 847s # 847s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_proxy_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 847s # g_datalist_clear (&proxy->priv->qdata); 847s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 847s # guint prop_id G_GNUC_UNUSED, 847s # const GValue *value G_GNUC_UNUSED, 847s # GParamSpec *pspec G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 847s # const gchar *sender_name G_GNUC_UNUSED, 847s # const gchar *signal_name, 847s # GVariant *parameters) 847s # { 847s # _ExtendedGDBusSignalInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # gsize n; 847s # guint signal_id; 847s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 847s # if (info == NULL) 847s # return; 847s # num_params = g_variant_n_children (parameters); 847s # paramv = g_new0 (GValue, num_params + 1); 847s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[0], proxy); 847s # g_variant_iter_init (&iter, parameters); 847s # n = 1; 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_signal_emitv (paramv, signal_id, 0, NULL); 847s # for (n = 0; n < num_params + 1; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 847s # GVariant *changed_properties, 847s # const gchar *const *invalidated_properties) 847s # { 847s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 847s # guint n; 847s # const gchar *key; 847s # GVariantIter *iter; 847s # _ExtendedGDBusPropertyInfo *info; 847s # g_variant_get (changed_properties, "a{sv}", &iter); 847s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 847s # g_datalist_remove_data (&proxy->priv->qdata, key); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # g_variant_iter_free (iter); 847s # for (n = 0; invalidated_properties[n] != NULL; n++) 847s # { 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 847s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 847s # if (info != NULL) 847s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 847s # } 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 847s # #else 847s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 847s # #endif 847s # 847s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusProxyClass *proxy_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 847s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 847s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 847s # 847s # proxy_class = G_DBUS_PROXY_CLASS (klass); 847s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 847s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_sync: 847s # * @connection: A #GDBusConnection. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_sync ( 847s # GDBusConnection *connection, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 847s # * @user_data: User data to pass to @callback. 847s # * 847s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 847s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 847s # */ 847s # void 847s # org_project_signaling_iface_proxy_new_for_bus ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GAsyncReadyCallback callback, 847s # gpointer user_data) 847s # { 847s # 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); 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_finish: 847s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 847s # * @error: Return location for error or %NULL 847s # * 847s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_finish ( 847s # GAsyncResult *res, 847s # GError **error) 847s # { 847s # GObject *ret; 847s # GObject *source_object; 847s # source_object = g_async_result_get_source_object (res); 847s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 847s # g_object_unref (source_object); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_proxy_new_for_bus_sync: 847s # * @bus_type: A #GBusType. 847s # * @flags: Flags from the #GDBusProxyFlags enumeration. 847s # * @name: A bus name (well-known or unique). 847s # * @object_path: An object path. 847s # * @cancellable: (nullable): A #GCancellable or %NULL. 847s # * @error: Return location for error or %NULL 847s # * 847s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 847s # * 847s # * The calling thread is blocked until a reply is received. 847s # * 847s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_proxy_new_for_bus_sync ( 847s # GBusType bus_type, 847s # GDBusProxyFlags flags, 847s # const gchar *name, 847s # const gchar *object_path, 847s # GCancellable *cancellable, 847s # GError **error) 847s # { 847s # GInitable *ret; 847s # 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); 847s # if (ret != NULL) 847s # return ORG_PROJECT_SIGNALING_IFACE (ret); 847s # else 847s # return NULL; 847s # } 847s # 847s # 847s # /* ------------------------------------------------------------------------ */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeleton: 847s # * 847s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 847s # */ 847s # 847s # /** 847s # * OrgProjectSignalingIfaceSkeletonClass: 847s # * @parent_class: The parent class. 847s # * 847s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 847s # */ 847s # 847s # struct _OrgProjectSignalingIfaceSkeletonPrivate 847s # { 847s # GValue *properties; 847s # GList *changed_properties; 847s # GSource *changed_properties_idle_source; 847s # GMainContext *context; 847s # GMutex lock; 847s # }; 847s # 847s # static void 847s # _org_project_signaling_iface_skeleton_handle_method_call ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name, 847s # const gchar *method_name, 847s # GVariant *parameters, 847s # GDBusMethodInvocation *invocation, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # _ExtendedGDBusMethodInfo *info; 847s # GVariantIter iter; 847s # GVariant *child; 847s # GValue *paramv; 847s # gsize num_params; 847s # guint num_extra; 847s # gsize n; 847s # guint signal_id; 847s # GValue return_value = G_VALUE_INIT; 847s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 847s # g_assert (info != NULL); 847s # num_params = g_variant_n_children (parameters); 847s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 847s # n = 0; 847s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_set_object (¶mv[n++], skeleton); 847s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 847s # g_value_set_object (¶mv[n++], invocation); 847s # if (info->pass_fdlist) 847s # { 847s # #ifdef G_OS_UNIX 847s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 847s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 847s # #else 847s # g_assert_not_reached (); 847s # #endif 847s # } 847s # g_variant_iter_init (&iter, parameters); 847s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 847s # { 847s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 847s # if (arg_info->use_gvariant) 847s # { 847s # g_value_init (¶mv[n], G_TYPE_VARIANT); 847s # g_value_set_variant (¶mv[n], child); 847s # n++; 847s # } 847s # else 847s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 847s # g_variant_unref (child); 847s # } 847s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 847s # g_value_init (&return_value, G_TYPE_BOOLEAN); 847s # g_signal_emitv (paramv, signal_id, 0, &return_value); 847s # if (!g_value_get_boolean (&return_value)) 847s # 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); 847s # g_value_unset (&return_value); 847s # for (n = 0; n < num_params + num_extra; n++) 847s # g_value_unset (¶mv[n]); 847s # g_free (paramv); 847s # } 847s # 847s # static GVariant * 847s # _org_project_signaling_iface_skeleton_handle_get_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # GVariant *ret; 847s # ret = NULL; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # g_value_init (&value, pspec->value_type); 847s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 847s # g_value_unset (&value); 847s # } 847s # return ret; 847s # } 847s # 847s # static gboolean 847s # _org_project_signaling_iface_skeleton_handle_set_property ( 847s # GDBusConnection *connection G_GNUC_UNUSED, 847s # const gchar *sender G_GNUC_UNUSED, 847s # const gchar *object_path G_GNUC_UNUSED, 847s # const gchar *interface_name G_GNUC_UNUSED, 847s # const gchar *property_name, 847s # GVariant *variant, 847s # GError **error, 847s # gpointer user_data) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 847s # GValue value = G_VALUE_INIT; 847s # GParamSpec *pspec; 847s # _ExtendedGDBusPropertyInfo *info; 847s # gboolean ret; 847s # ret = FALSE; 847s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 847s # g_assert (info != NULL); 847s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 847s # if (pspec == NULL) 847s # { 847s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 847s # } 847s # else 847s # { 847s # if (info->use_gvariant) 847s # g_value_set_variant (&value, variant); 847s # else 847s # g_dbus_gvariant_to_gvalue (variant, &value); 847s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 847s # g_value_unset (&value); 847s # ret = TRUE; 847s # } 847s # return ret; 847s # } 847s # 847s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 847s # { 847s # _org_project_signaling_iface_skeleton_handle_method_call, 847s # _org_project_signaling_iface_skeleton_handle_get_property, 847s # _org_project_signaling_iface_skeleton_handle_set_property, 847s # {NULL} 847s # }; 847s # 847s # static GDBusInterfaceInfo * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return org_project_signaling_iface_interface_info (); 847s # } 847s # 847s # static GDBusInterfaceVTable * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 847s # { 847s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 847s # } 847s # 847s # static GVariant * 847s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 847s # 847s # GVariantBuilder builder; 847s # guint n; 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 847s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #else 847s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 847s # #endif 847s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 847s # goto out; 847s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 847s # { 847s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 847s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 847s # { 847s # GVariant *value; 847s # 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); 847s # if (value != NULL) 847s # { 847s # g_variant_take_ref (value); 847s # g_variant_builder_add (&builder, "{sv}", info->name, value); 847s # g_variant_unref (value); 847s # } 847s # } 847s # } 847s # out: 847s # return g_variant_builder_end (&builder); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 847s # { 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_simple_signal ( 847s # OrgProjectSignalingIface *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void 847s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 847s # OrgProjectSignalingIface *object, 847s # gboolean arg_an_b, 847s # guchar arg_an_y, 847s # gint16 arg_an_n, 847s # guint16 arg_an_q, 847s # gint arg_an_i, 847s # guint arg_an_u, 847s # gint64 arg_an_x, 847s # guint64 arg_an_t, 847s # gdouble arg_an_d, 847s # const gchar *arg_an_s, 847s # const gchar *arg_an_o, 847s # const gchar *arg_an_g, 847s # GVariant *arg_an_h, 847s # const gchar *arg_an_ay, 847s # const gchar *const *arg_an_as, 847s # const gchar *const *arg_an_ao, 847s # const gchar *const *arg_an_aay, 847s # GVariant *arg_an_asv) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # 847s # GList *connections, *l; 847s # GVariant *signal_variant; 847s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 847s # 847s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 847s # arg_an_b, 847s # arg_an_y, 847s # arg_an_n, 847s # arg_an_q, 847s # arg_an_i, 847s # arg_an_u, 847s # arg_an_x, 847s # arg_an_t, 847s # arg_an_d, 847s # arg_an_s, 847s # arg_an_o, 847s # arg_an_g, 847s # arg_an_h, 847s # arg_an_ay, 847s # arg_an_as, 847s # arg_an_ao, 847s # arg_an_aay, 847s # arg_an_asv)); 847s # for (l = connections; l != NULL; l = l->next) 847s # { 847s # GDBusConnection *connection = l->data; 847s # g_dbus_connection_emit_signal (connection, 847s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 847s # signal_variant, NULL); 847s # } 847s # g_variant_unref (signal_variant); 847s # g_list_free_full (connections, g_object_unref); 847s # } 847s # 847s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #else 847s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 847s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 847s # 847s # #endif 847s # static void 847s # org_project_signaling_iface_skeleton_finalize (GObject *object) 847s # { 847s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 847s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 847s # if (skeleton->priv->changed_properties_idle_source != NULL) 847s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 847s # g_main_context_unref (skeleton->priv->context); 847s # g_mutex_clear (&skeleton->priv->lock); 847s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 847s # { 847s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 847s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 847s # #else 847s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 847s # #endif 847s # 847s # g_mutex_init (&skeleton->priv->lock); 847s # skeleton->priv->context = g_main_context_ref_thread_default (); 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 847s # { 847s # GObjectClass *gobject_class; 847s # GDBusInterfaceSkeletonClass *skeleton_class; 847s # 847s # gobject_class = G_OBJECT_CLASS (klass); 847s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 847s # 847s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 847s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 847s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 847s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 847s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 847s # 847s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 847s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 847s # #endif 847s # } 847s # 847s # static void 847s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 847s # { 847s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 847s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 847s # } 847s # 847s # /** 847s # * org_project_signaling_iface_skeleton_new: 847s # * 847s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 847s # * 847s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 847s # */ 847s # OrgProjectSignalingIface * 847s # org_project_signaling_iface_skeleton_new (void) 847s # { 847s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 847s # } 847s # Error: 847s ok 25 __main__.TestCodegen.test_generate_valid_docbook 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmpdgu62uq7 847s # /tmp/tmpdgu62uq7/tmpwn65se6r.xml: 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdgu62uq7/tmpwn65se6r.xml', '--generate-docbook', 'test'] 847s # Return code: 0 847s # Output: 847s # 847s # Error: 847s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmpamak4y58 847s # /tmp/tmpamak4y58/tmp54iiwrxo.xml: 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpamak4y58/tmp54iiwrxo.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 847s # Return code: 1 847s # Output: 847s # 847s # Error: 847s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 847s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmpk9jo9w0b 847s # /tmp/tmpk9jo9w0b/tmps9bdlodp.xml: 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk9jo9w0b/tmps9bdlodp.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifndef __STDOUT__ 847s # #define __STDOUT__ 847s # 847s # #include 847s # 847s # G_BEGIN_DECLS 847s # 847s # 847s # G_END_DECLS 847s # 847s # #endif /* __STDOUT__ */ 847s # Error: 847s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmpl6lbwdkp 847s # /tmp/tmpl6lbwdkp/tmpn08e5syw.xml: 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl6lbwdkp/tmpn08e5syw.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 847s # Return code: 1 847s # Output: 847s # 847s # Error: 847s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 847s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmpcad2ze3k 847s # /tmp/tmpcad2ze3k/tmpoilxr7xd.xml: 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcad2ze3k/tmpoilxr7xd.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifndef __STDOUT__ 847s # #define __STDOUT__ 847s # 847s # #include 847s # 847s # G_BEGIN_DECLS 847s # 847s # 847s # G_END_DECLS 847s # 847s # #endif /* __STDOUT__ */ 847s # Error: 847s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmpkyl2sgef 847s # /tmp/tmpkyl2sgef/tmpjtfu2gc6.xml: 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkyl2sgef/tmpjtfu2gc6.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifndef __STDOUT__ 847s # #define __STDOUT__ 847s # 847s # #include 847s # 847s # G_BEGIN_DECLS 847s # 847s # 847s # G_END_DECLS 847s # 847s # #endif /* __STDOUT__ */ 847s # Error: 847s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmpz4j90asi 847s # /tmp/tmpz4j90asi/tmp5hlzz2q0.xml: 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz4j90asi/tmp5hlzz2q0.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 847s # Return code: 1 847s # Output: 847s # 847s # Error: 847s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 847s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmps6e9qzrt 847s # /tmp/tmps6e9qzrt/tmphqyy1t74.xml: 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps6e9qzrt/tmphqyy1t74.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifndef __STDOUT__ 847s # #define __STDOUT__ 847s # 847s # #include 847s # 847s # G_BEGIN_DECLS 847s # 847s # 847s # G_END_DECLS 847s # 847s # #endif /* __STDOUT__ */ 847s # Error: 847s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmpxhg54f57 847s # /tmp/tmpxhg54f57/tmp_ddaotnv.xml: 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxhg54f57/tmp_ddaotnv.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 847s # Return code: 1 847s # Output: 847s # 847s # Error: 847s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 847s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmpqetk_5c2 847s # /tmp/tmpqetk_5c2/tmpe9_pvrw4.xml: 847s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqetk_5c2/tmpe9_pvrw4.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 847s # Return code: 0 847s # Output: 847s # /* 847s # * This file is generated by gdbus-codegen, do not modify it. 847s # * 847s # * The license of this code is the same as for the D-Bus interface description 847s # * it was derived from. Note that it links to GLib, so must comply with the 847s # * LGPL linking clauses. 847s # */ 847s # 847s # #ifndef __STDOUT__ 847s # #define __STDOUT__ 847s # 847s # #include 847s # 847s # G_BEGIN_DECLS 847s # 847s # 847s # G_END_DECLS 847s # 847s # #endif /* __STDOUT__ */ 847s # Error: 847s ok 35 __main__.TestCodegen.test_help 847s # gdbus-codegen: /usr/bin/gdbus-codegen 847s # tmpdir: /tmp/tmp3dooumb2 847s # Running: ['/usr/bin/gdbus-codegen', '--help'] 847s # Return code: 0 847s # Output: 847s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 847s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 847s # [--c-generate-autocleanup {none,objects,all}] 847s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 847s # [--generate-rst OUTFILES] [--pragma-once] 847s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 847s # [--glib-min-required VERSION] 847s # [--glib-max-allowed VERSION] 847s # [--symbol-decorator SYMBOL_DECORATOR] 847s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 847s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 847s # [--generate-c-code OUTFILES | --header | --body | 847s # --interface-info-header | --interface-info-body] 847s # [--output FILE | --output-directory OUTDIR] 847s # FILE [FILE ...] 847s # 847s # D-Bus code and documentation generator 847s # 847s # positional arguments: 847s # FILE D-Bus introspection XML file 847s # 847s # options: 847s # -h, --help show this help message and exit 847s # --interface-prefix PREFIX 847s # String to strip from D-Bus interface names for code 847s # and docs 847s # --c-namespace NAMESPACE 847s # The namespace to use for generated C code 847s # --c-generate-object-manager 847s # Generate a GDBusObjectManagerClient subclass when 847s # generating C code 847s # --c-generate-autocleanup {none,objects,all} 847s # Generate autocleanup support 847s # --generate-docbook OUTFILES 847s # Generate Docbook in OUTFILES-org.Project.IFace.xml 847s # --generate-md OUTFILES 847s # Generate Markdown in OUTFILES-org.Project.IFace.md 847s # --generate-rst OUTFILES 847s # Generate reStructuredText in OUTFILES- 847s # org.Project.IFace.rst 847s # --pragma-once Use "pragma once" as the inclusion guard 847s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 847s # Add annotation (may be used several times) 847s # --glib-min-required VERSION 847s # Minimum version of GLib to be supported by the 847s # outputted code (default: 2.30) 847s # --glib-max-allowed VERSION 847s # Maximum version of GLib to be used by the outputted 847s # code (default: current GLib version) 847s # --symbol-decorator SYMBOL_DECORATOR 847s # Macro used to decorate a symbol in the outputted 847s # header, possibly to export symbols 847s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 847s # Additional header required for decorator specified by 847s # --symbol-decorator 847s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 847s # Additional define required for decorator specified by 847s # --symbol-decorator 847s # --generate-c-code OUTFILES 847s # Generate C code in OUTFILES.[ch] 847s # --header Generate C headers 847s # --body Generate C code 847s # --interface-info-header 847s # Generate GDBusInterfaceInfo C header 847s # --interface-info-body 847s # Generate GDBusInterfaceInfo C code 847s # --output FILE Write output into the specified file 847s # --output-directory OUTDIR 847s # Location to output generated files 847s # Error: 847s # Executing: glib/codegen.py.test 848s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 848s # gdbus-codegen: /usr/bin/gdbus-codegen 848s # tmpdir: /tmp/tmp5glp0_bw 848s # /tmp/tmp5glp0_bw/tmpco2dsgrb.xml: 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5glp0_bw/tmpco2dsgrb.xml', '--generate-rst', 'test'] 848s # Return code: 0 848s # Output: 848s # 848s # Error: 848s # 848s # /tmp/tmp5glp0_bw/tmpq4lqogg5.xml: 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5glp0_bw/tmpq4lqogg5.xml', '--generate-md', 'test'] 848s # Return code: 0 848s # Output: 848s # 848s # Error: 848s # 848s # /tmp/tmp5glp0_bw/tmpotjnakr6.xml: 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # 848s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5glp0_bw/tmpotjnakr6.xml', '--generate-docbook', 'test'] 848s # Return code: 0 848s # Output: 848s # 848s # Error: 848s ok 37 __main__.TestCodegen.test_no_args 848s # gdbus-codegen: /usr/bin/gdbus-codegen 848s # tmpdir: /tmp/tmpdfwd5i04 848s # Running: ['/usr/bin/gdbus-codegen'] 848s # Return code: 2 848s # Output: 848s # 848s # Error: 848s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 848s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 848s # [--c-generate-autocleanup {none,objects,all}] 848s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 848s # [--generate-rst OUTFILES] [--pragma-once] 848s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 848s # [--glib-min-required VERSION] 848s # [--glib-max-allowed VERSION] 848s # [--symbol-decorator SYMBOL_DECORATOR] 848s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 848s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 848s # [--generate-c-code OUTFILES | --header | --body | 848s # --interface-info-header | --interface-info-body] 848s # [--output FILE | --output-directory OUTDIR] 848s # FILE [FILE ...] 848s # gdbus-codegen: error: the following arguments are required: FILE 850s ok 38 __main__.TestCodegen.test_reproducible 850s # gdbus-codegen: /usr/bin/gdbus-codegen 850s # tmpdir: /tmp/tmp261ze4l0 850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp261ze4l0/tmp85nxwok11.xml', '/tmp/tmp261ze4l0/tmp3am0wt1t2.xml', '--output', '-', '--header'] 850s # Return code: 0 850s # Output: 850s # /* 850s # * This file is generated by gdbus-codegen, do not modify it. 850s # * 850s # * The license of this code is the same as for the D-Bus interface description 850s # * it was derived from. Note that it links to GLib, so must comply with the 850s # * LGPL linking clauses. 850s # */ 850s # 850s # #ifndef __STDOUT__ 850s # #define __STDOUT__ 850s # 850s # #include 850s # 850s # G_BEGIN_DECLS 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # /* Declarations for org.project.Bar.Frobnicator */ 850s # 850s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 850s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 850s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 850s # 850s # struct _OrgProjectBarFrobnicator; 850s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 850s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 850s # 850s # struct _OrgProjectBarFrobnicatorIface 850s # { 850s # GTypeInterface parent_iface; 850s # 850s # gboolean (*handle_random_method) ( 850s # OrgProjectBarFrobnicator *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # }; 850s # 850s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 850s # 850s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 850s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 850s # 850s # 850s # /* D-Bus method call completion functions: */ 850s # void org_project_bar_frobnicator_complete_random_method ( 850s # OrgProjectBarFrobnicator *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # 850s # 850s # /* D-Bus method calls: */ 850s # void org_project_bar_frobnicator_call_random_method ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 850s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 850s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 850s # 850s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 850s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 850s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 850s # 850s # struct _OrgProjectBarFrobnicatorProxy 850s # { 850s # /*< private >*/ 850s # GDBusProxy parent_instance; 850s # OrgProjectBarFrobnicatorProxyPrivate *priv; 850s # }; 850s # 850s # struct _OrgProjectBarFrobnicatorProxyClass 850s # { 850s # GDBusProxyClass parent_class; 850s # }; 850s # 850s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 850s # #endif 850s # 850s # void org_project_bar_frobnicator_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void org_project_bar_frobnicator_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 850s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 850s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 850s # 850s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 850s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 850s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 850s # 850s # struct _OrgProjectBarFrobnicatorSkeleton 850s # { 850s # /*< private >*/ 850s # GDBusInterfaceSkeleton parent_instance; 850s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 850s # }; 850s # 850s # struct _OrgProjectBarFrobnicatorSkeletonClass 850s # { 850s # GDBusInterfaceSkeletonClass parent_class; 850s # }; 850s # 850s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 850s # #endif 850s # 850s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # /* Declarations for com.acme.Coyote */ 850s # 850s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 850s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 850s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 850s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 850s # 850s # struct _ComAcmeCoyote; 850s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 850s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 850s # 850s # struct _ComAcmeCoyoteIface 850s # { 850s # GTypeInterface parent_iface; 850s # 850s # 850s # 850s # gboolean (*handle_attack) ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # gboolean (*handle_run) ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # gboolean (*handle_sleep) ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # const gchar * (*get_mood) (ComAcmeCoyote *object); 850s # 850s # void (*surprised) ( 850s # ComAcmeCoyote *object); 850s # 850s # }; 850s # 850s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 850s # 850s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 850s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 850s # 850s # 850s # /* D-Bus method call completion functions: */ 850s # void com_acme_coyote_complete_run ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # void com_acme_coyote_complete_sleep ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # void com_acme_coyote_complete_attack ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # 850s # 850s # /* D-Bus signal emissions functions: */ 850s # void com_acme_coyote_emit_surprised ( 850s # ComAcmeCoyote *object); 850s # 850s # 850s # 850s # /* D-Bus method calls: */ 850s # void com_acme_coyote_call_run ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean com_acme_coyote_call_run_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean com_acme_coyote_call_run_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void com_acme_coyote_call_sleep ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean com_acme_coyote_call_sleep_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean com_acme_coyote_call_sleep_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void com_acme_coyote_call_attack ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean com_acme_coyote_call_attack_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean com_acme_coyote_call_attack_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # 850s # /* D-Bus property accessors: */ 850s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 850s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 850s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 850s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 850s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 850s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 850s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 850s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 850s # 850s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 850s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 850s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 850s # 850s # struct _ComAcmeCoyoteProxy 850s # { 850s # /*< private >*/ 850s # GDBusProxy parent_instance; 850s # ComAcmeCoyoteProxyPrivate *priv; 850s # }; 850s # 850s # struct _ComAcmeCoyoteProxyClass 850s # { 850s # GDBusProxyClass parent_class; 850s # }; 850s # 850s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 850s # #endif 850s # 850s # void com_acme_coyote_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void com_acme_coyote_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 850s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 850s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 850s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 850s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 850s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 850s # 850s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 850s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 850s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 850s # 850s # struct _ComAcmeCoyoteSkeleton 850s # { 850s # /*< private >*/ 850s # GDBusInterfaceSkeleton parent_instance; 850s # ComAcmeCoyoteSkeletonPrivate *priv; 850s # }; 850s # 850s # struct _ComAcmeCoyoteSkeletonClass 850s # { 850s # GDBusInterfaceSkeletonClass parent_class; 850s # }; 850s # 850s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 850s # #endif 850s # 850s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 850s # 850s # 850s # G_END_DECLS 850s # 850s # #endif /* __STDOUT__ */ 850s # Error: 850s # 850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp261ze4l0/tmp3am0wt1t2.xml', '/tmp/tmp261ze4l0/tmp85nxwok11.xml', '--output', '-', '--header'] 850s # Return code: 0 850s # Output: 850s # /* 850s # * This file is generated by gdbus-codegen, do not modify it. 850s # * 850s # * The license of this code is the same as for the D-Bus interface description 850s # * it was derived from. Note that it links to GLib, so must comply with the 850s # * LGPL linking clauses. 850s # */ 850s # 850s # #ifndef __STDOUT__ 850s # #define __STDOUT__ 850s # 850s # #include 850s # 850s # G_BEGIN_DECLS 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # /* Declarations for org.project.Bar.Frobnicator */ 850s # 850s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 850s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 850s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 850s # 850s # struct _OrgProjectBarFrobnicator; 850s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 850s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 850s # 850s # struct _OrgProjectBarFrobnicatorIface 850s # { 850s # GTypeInterface parent_iface; 850s # 850s # gboolean (*handle_random_method) ( 850s # OrgProjectBarFrobnicator *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # }; 850s # 850s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 850s # 850s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 850s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 850s # 850s # 850s # /* D-Bus method call completion functions: */ 850s # void org_project_bar_frobnicator_complete_random_method ( 850s # OrgProjectBarFrobnicator *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # 850s # 850s # /* D-Bus method calls: */ 850s # void org_project_bar_frobnicator_call_random_method ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 850s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 850s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 850s # 850s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 850s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 850s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 850s # 850s # struct _OrgProjectBarFrobnicatorProxy 850s # { 850s # /*< private >*/ 850s # GDBusProxy parent_instance; 850s # OrgProjectBarFrobnicatorProxyPrivate *priv; 850s # }; 850s # 850s # struct _OrgProjectBarFrobnicatorProxyClass 850s # { 850s # GDBusProxyClass parent_class; 850s # }; 850s # 850s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 850s # #endif 850s # 850s # void org_project_bar_frobnicator_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void org_project_bar_frobnicator_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 850s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 850s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 850s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 850s # 850s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 850s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 850s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 850s # 850s # struct _OrgProjectBarFrobnicatorSkeleton 850s # { 850s # /*< private >*/ 850s # GDBusInterfaceSkeleton parent_instance; 850s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 850s # }; 850s # 850s # struct _OrgProjectBarFrobnicatorSkeletonClass 850s # { 850s # GDBusInterfaceSkeletonClass parent_class; 850s # }; 850s # 850s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 850s # #endif 850s # 850s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # /* Declarations for com.acme.Coyote */ 850s # 850s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 850s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 850s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 850s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 850s # 850s # struct _ComAcmeCoyote; 850s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 850s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 850s # 850s # struct _ComAcmeCoyoteIface 850s # { 850s # GTypeInterface parent_iface; 850s # 850s # 850s # 850s # gboolean (*handle_attack) ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # gboolean (*handle_run) ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # gboolean (*handle_sleep) ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # const gchar * (*get_mood) (ComAcmeCoyote *object); 850s # 850s # void (*surprised) ( 850s # ComAcmeCoyote *object); 850s # 850s # }; 850s # 850s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 850s # 850s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 850s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 850s # 850s # 850s # /* D-Bus method call completion functions: */ 850s # void com_acme_coyote_complete_run ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # void com_acme_coyote_complete_sleep ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # void com_acme_coyote_complete_attack ( 850s # ComAcmeCoyote *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # 850s # 850s # /* D-Bus signal emissions functions: */ 850s # void com_acme_coyote_emit_surprised ( 850s # ComAcmeCoyote *object); 850s # 850s # 850s # 850s # /* D-Bus method calls: */ 850s # void com_acme_coyote_call_run ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean com_acme_coyote_call_run_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean com_acme_coyote_call_run_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void com_acme_coyote_call_sleep ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean com_acme_coyote_call_sleep_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean com_acme_coyote_call_sleep_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void com_acme_coyote_call_attack ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean com_acme_coyote_call_attack_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean com_acme_coyote_call_attack_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # 850s # /* D-Bus property accessors: */ 850s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 850s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 850s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 850s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 850s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 850s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 850s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 850s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 850s # 850s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 850s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 850s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 850s # 850s # struct _ComAcmeCoyoteProxy 850s # { 850s # /*< private >*/ 850s # GDBusProxy parent_instance; 850s # ComAcmeCoyoteProxyPrivate *priv; 850s # }; 850s # 850s # struct _ComAcmeCoyoteProxyClass 850s # { 850s # GDBusProxyClass parent_class; 850s # }; 850s # 850s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 850s # #endif 850s # 850s # void com_acme_coyote_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void com_acme_coyote_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 850s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 850s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 850s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 850s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 850s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 850s # 850s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 850s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 850s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 850s # 850s # struct _ComAcmeCoyoteSkeleton 850s # { 850s # /*< private >*/ 850s # GDBusInterfaceSkeleton parent_instance; 850s # ComAcmeCoyoteSkeletonPrivate *priv; 850s # }; 850s # 850s # struct _ComAcmeCoyoteSkeletonClass 850s # { 850s # GDBusInterfaceSkeletonClass parent_class; 850s # }; 850s # 850s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 850s # #endif 850s # 850s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 850s # 850s # 850s # G_END_DECLS 850s # 850s # #endif /* __STDOUT__ */ 850s # Error: 850s # 850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp261ze4l0/tmp85nxwok11.xml', '/tmp/tmp261ze4l0/tmp3am0wt1t2.xml', '--output', '-', '--body'] 850s # Return code: 0 850s # Output: 850s # /* 850s # * This file is generated by gdbus-codegen, do not modify it. 850s # * 850s # * The license of this code is the same as for the D-Bus interface description 850s # * it was derived from. Note that it links to GLib, so must comply with the 850s # * LGPL linking clauses. 850s # */ 850s # 850s # #ifdef HAVE_CONFIG_H 850s # # include "config.h" 850s # #endif 850s # 850s # #include 850s # #ifdef G_OS_UNIX 850s # # include 850s # #endif 850s # 850s # #ifdef G_ENABLE_DEBUG 850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 850s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 850s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 850s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 850s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 850s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 850s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 850s # #else /* !G_ENABLE_DEBUG */ 850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 850s # * Do not access GValues directly in your code. Instead, use the 850s # * g_value_get_*() functions 850s # */ 850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 850s # #endif /* !G_ENABLE_DEBUG */ 850s # 850s # typedef struct 850s # { 850s # GDBusArgInfo parent_struct; 850s # gboolean use_gvariant; 850s # } _ExtendedGDBusArgInfo; 850s # 850s # typedef struct 850s # { 850s # GDBusMethodInfo parent_struct; 850s # const gchar *signal_name; 850s # gboolean pass_fdlist; 850s # } _ExtendedGDBusMethodInfo; 850s # 850s # typedef struct 850s # { 850s # GDBusSignalInfo parent_struct; 850s # const gchar *signal_name; 850s # } _ExtendedGDBusSignalInfo; 850s # 850s # typedef struct 850s # { 850s # GDBusPropertyInfo parent_struct; 850s # const gchar *hyphen_name; 850s # guint use_gvariant : 1; 850s # guint emits_changed_signal : 1; 850s # } _ExtendedGDBusPropertyInfo; 850s # 850s # typedef struct 850s # { 850s # GDBusInterfaceInfo parent_struct; 850s # const gchar *hyphen_name; 850s # } _ExtendedGDBusInterfaceInfo; 850s # 850s # typedef struct 850s # { 850s # const _ExtendedGDBusPropertyInfo *info; 850s # guint prop_id; 850s # GValue orig_value; /* the value before the change */ 850s # } ChangedProperty; 850s # 850s # static void 850s # _changed_property_free (ChangedProperty *data) 850s # { 850s # g_value_unset (&data->orig_value); 850s # g_free (data); 850s # } 850s # 850s # static gboolean 850s # _g_strv_equal0 (gchar **a, gchar **b) 850s # { 850s # gboolean ret = FALSE; 850s # guint n; 850s # if (a == NULL && b == NULL) 850s # { 850s # ret = TRUE; 850s # goto out; 850s # } 850s # if (a == NULL || b == NULL) 850s # goto out; 850s # if (g_strv_length (a) != g_strv_length (b)) 850s # goto out; 850s # for (n = 0; a[n] != NULL; n++) 850s # if (g_strcmp0 (a[n], b[n]) != 0) 850s # goto out; 850s # ret = TRUE; 850s # out: 850s # return ret; 850s # } 850s # 850s # static gboolean 850s # _g_variant_equal0 (GVariant *a, GVariant *b) 850s # { 850s # gboolean ret = FALSE; 850s # if (a == NULL && b == NULL) 850s # { 850s # ret = TRUE; 850s # goto out; 850s # } 850s # if (a == NULL || b == NULL) 850s # goto out; 850s # ret = g_variant_equal (a, b); 850s # out: 850s # return ret; 850s # } 850s # 850s # G_GNUC_UNUSED static gboolean 850s # _g_value_equal (const GValue *a, const GValue *b) 850s # { 850s # gboolean ret = FALSE; 850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 850s # switch (G_VALUE_TYPE (a)) 850s # { 850s # case G_TYPE_BOOLEAN: 850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 850s # break; 850s # case G_TYPE_UCHAR: 850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 850s # break; 850s # case G_TYPE_INT: 850s # ret = (g_value_get_int (a) == g_value_get_int (b)); 850s # break; 850s # case G_TYPE_UINT: 850s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 850s # break; 850s # case G_TYPE_INT64: 850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 850s # break; 850s # case G_TYPE_UINT64: 850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 850s # break; 850s # case G_TYPE_DOUBLE: 850s # { 850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 850s # gdouble da = g_value_get_double (a); 850s # gdouble db = g_value_get_double (b); 850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 850s # } 850s # break; 850s # case G_TYPE_STRING: 850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 850s # break; 850s # case G_TYPE_VARIANT: 850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 850s # break; 850s # default: 850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 850s # else 850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 850s # break; 850s # } 850s # return ret; 850s # } 850s # 850s # static void 850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint G_GNUC_UNUSED, 850s # void *marshal_data) 850s # { 850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 850s # (void *data1, 850s # GDBusMethodInvocation *arg_method_invocation, 850s # void *data2); 850s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 850s # GCClosure *cc = (GCClosure*) closure; 850s # void *data1, *data2; 850s # gboolean v_return; 850s # 850s # g_return_if_fail (return_value != NULL); 850s # g_return_if_fail (n_param_values == 2); 850s # 850s # if (G_CCLOSURE_SWAP_DATA (closure)) 850s # { 850s # data1 = closure->data; 850s # data2 = g_value_peek_pointer (param_values + 0); 850s # } 850s # else 850s # { 850s # data1 = g_value_peek_pointer (param_values + 0); 850s # data2 = closure->data; 850s # } 850s # 850s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 850s # (marshal_data ? marshal_data : cc->callback); 850s # 850s # v_return = 850s # callback (data1, 850s # g_marshal_value_peek_object (param_values + 1), 850s # data2); 850s # 850s # g_value_set_boolean (return_value, v_return); 850s # } 850s # 850s # /* ------------------------------------------------------------------------ 850s # * Code for interface org.project.Bar.Frobnicator 850s # * ------------------------------------------------------------------------ 850s # */ 850s # 850s # /** 850s # * SECTION:OrgProjectBarFrobnicator 850s # * @title: OrgProjectBarFrobnicator 850s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 850s # * 850s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 850s # */ 850s # 850s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 850s # 850s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 850s # { 850s # { 850s # -1, 850s # (gchar *) "RandomMethod", 850s # NULL, 850s # NULL, 850s # NULL 850s # }, 850s # "handle-random-method", 850s # FALSE 850s # }; 850s # 850s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 850s # { 850s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 850s # NULL 850s # }; 850s # 850s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 850s # { 850s # { 850s # -1, 850s # (gchar *) "org.project.Bar.Frobnicator", 850s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 850s # NULL, 850s # NULL, 850s # NULL 850s # }, 850s # "org-project-bar-frobnicator", 850s # }; 850s # 850s # 850s # /** 850s # * org_project_bar_frobnicator_interface_info: 850s # * 850s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 850s # * 850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 850s # */ 850s # GDBusInterfaceInfo * 850s # org_project_bar_frobnicator_interface_info (void) 850s # { 850s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_override_properties: 850s # * @klass: The class structure for a #GObject derived class. 850s # * @property_id_begin: The property id to assign to the first overridden property. 850s # * 850s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 850s # * The properties are overridden in the order they are defined. 850s # * 850s # * Returns: The last property id. 850s # */ 850s # guint 850s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 850s # { 850s # return property_id_begin - 1; 850s # } 850s # 850s # 850s # inline static void 850s # org_project_bar_frobnicator_method_marshal_random_method ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint, 850s # void *marshal_data) 850s # { 850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 850s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 850s # } 850s # 850s # 850s # /** 850s # * OrgProjectBarFrobnicator: 850s # * 850s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 850s # */ 850s # 850s # /** 850s # * OrgProjectBarFrobnicatorIface: 850s # * @parent_iface: The parent interface. 850s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 850s # * 850s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 850s # */ 850s # 850s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 850s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 850s # 850s # static void 850s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 850s # { 850s # /* GObject signals for incoming D-Bus method calls: */ 850s # /** 850s # * OrgProjectBarFrobnicator::handle-random-method: 850s # * @object: A #OrgProjectBarFrobnicator. 850s # * @invocation: A #GDBusMethodInvocation. 850s # * 850s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 850s # * 850s # * 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. 850s # * 850s # * 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. 850s # */ 850s # g_signal_new ("handle-random-method", 850s # G_TYPE_FROM_INTERFACE (iface), 850s # G_SIGNAL_RUN_LAST, 850s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 850s # g_signal_accumulator_true_handled, 850s # NULL, 850s # org_project_bar_frobnicator_method_marshal_random_method, 850s # G_TYPE_BOOLEAN, 850s # 1, 850s # G_TYPE_DBUS_METHOD_INVOCATION); 850s # 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_call_random_method: 850s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 850s # * 850s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 850s # */ 850s # void 850s # org_project_bar_frobnicator_call_random_method ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 850s # "RandomMethod", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # callback, 850s # user_data); 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_call_random_method_finish: 850s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # org_project_bar_frobnicator_call_random_method_finish ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_call_random_method_sync: 850s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 850s # * 850s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # org_project_bar_frobnicator_call_random_method_sync ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 850s # "RandomMethod", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_complete_random_method: 850s # * @object: A #OrgProjectBarFrobnicator. 850s # * @invocation: (transfer full): A #GDBusMethodInvocation. 850s # * 850s # * 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. 850s # * 850s # * This method will free @invocation, you cannot use it afterwards. 850s # */ 850s # void 850s # org_project_bar_frobnicator_complete_random_method ( 850s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 850s # GDBusMethodInvocation *invocation) 850s # { 850s # g_dbus_method_invocation_return_value (invocation, 850s # g_variant_new ("()")); 850s # } 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # 850s # /** 850s # * OrgProjectBarFrobnicatorProxy: 850s # * 850s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 850s # */ 850s # 850s # /** 850s # * OrgProjectBarFrobnicatorProxyClass: 850s # * @parent_class: The parent class. 850s # * 850s # * Class structure for #OrgProjectBarFrobnicatorProxy. 850s # */ 850s # 850s # struct _OrgProjectBarFrobnicatorProxyPrivate 850s # { 850s # GData *qdata; 850s # }; 850s # 850s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 850s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 850s # 850s # #else 850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 850s # 850s # #endif 850s # static void 850s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 850s # { 850s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 850s # g_datalist_clear (&proxy->priv->qdata); 850s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 850s # guint prop_id G_GNUC_UNUSED, 850s # GValue *value G_GNUC_UNUSED, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 850s # guint prop_id G_GNUC_UNUSED, 850s # const GValue *value G_GNUC_UNUSED, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 850s # const gchar *sender_name G_GNUC_UNUSED, 850s # const gchar *signal_name, 850s # GVariant *parameters) 850s # { 850s # _ExtendedGDBusSignalInfo *info; 850s # GVariantIter iter; 850s # GVariant *child; 850s # GValue *paramv; 850s # gsize num_params; 850s # gsize n; 850s # guint signal_id; 850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 850s # if (info == NULL) 850s # return; 850s # num_params = g_variant_n_children (parameters); 850s # paramv = g_new0 (GValue, num_params + 1); 850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 850s # g_value_set_object (¶mv[0], proxy); 850s # g_variant_iter_init (&iter, parameters); 850s # n = 1; 850s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 850s # { 850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 850s # if (arg_info->use_gvariant) 850s # { 850s # g_value_init (¶mv[n], G_TYPE_VARIANT); 850s # g_value_set_variant (¶mv[n], child); 850s # n++; 850s # } 850s # else 850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 850s # g_variant_unref (child); 850s # } 850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 850s # g_signal_emitv (paramv, signal_id, 0, NULL); 850s # for (n = 0; n < num_params + 1; n++) 850s # g_value_unset (¶mv[n]); 850s # g_free (paramv); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 850s # GVariant *changed_properties, 850s # const gchar *const *invalidated_properties) 850s # { 850s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 850s # guint n; 850s # const gchar *key; 850s # GVariantIter *iter; 850s # _ExtendedGDBusPropertyInfo *info; 850s # g_variant_get (changed_properties, "a{sv}", &iter); 850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 850s # { 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 850s # g_datalist_remove_data (&proxy->priv->qdata, key); 850s # if (info != NULL) 850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 850s # } 850s # g_variant_iter_free (iter); 850s # for (n = 0; invalidated_properties[n] != NULL; n++) 850s # { 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 850s # if (info != NULL) 850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 850s # } 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 850s # { 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 850s # #else 850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 850s # #endif 850s # 850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 850s # { 850s # GObjectClass *gobject_class; 850s # GDBusProxyClass *proxy_class; 850s # 850s # gobject_class = G_OBJECT_CLASS (klass); 850s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 850s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 850s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 850s # 850s # proxy_class = G_DBUS_PROXY_CLASS (klass); 850s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 850s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 850s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 850s # #endif 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 850s # { 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new: 850s # * @connection: A #GDBusConnection. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 850s # * 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 850s # * 850s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 850s # */ 850s # void 850s # org_project_bar_frobnicator_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # 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); 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new_finish: 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 850s # * @error: Return location for error or %NULL 850s # * 850s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 850s # * 850s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # OrgProjectBarFrobnicator * 850s # org_project_bar_frobnicator_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GObject *ret; 850s # GObject *source_object; 850s # source_object = g_async_result_get_source_object (res); 850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 850s # g_object_unref (source_object); 850s # if (ret != NULL) 850s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new_sync: 850s # * @connection: A #GDBusConnection. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL 850s # * 850s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 850s # * 850s # * The calling thread is blocked until a reply is received. 850s # * 850s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 850s # * 850s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # OrgProjectBarFrobnicator * 850s # org_project_bar_frobnicator_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GInitable *ret; 850s # 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); 850s # if (ret != NULL) 850s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new_for_bus: 850s # * @bus_type: A #GBusType. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: A bus name (well-known or unique). 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 850s # * 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 850s # * 850s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 850s # */ 850s # void 850s # org_project_bar_frobnicator_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # 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); 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 850s # * @error: Return location for error or %NULL 850s # * 850s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 850s # * 850s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # OrgProjectBarFrobnicator * 850s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GObject *ret; 850s # GObject *source_object; 850s # source_object = g_async_result_get_source_object (res); 850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 850s # g_object_unref (source_object); 850s # if (ret != NULL) 850s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 850s # * @bus_type: A #GBusType. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: A bus name (well-known or unique). 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL 850s # * 850s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 850s # * 850s # * The calling thread is blocked until a reply is received. 850s # * 850s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 850s # * 850s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # OrgProjectBarFrobnicator * 850s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GInitable *ret; 850s # 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); 850s # if (ret != NULL) 850s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # 850s # /** 850s # * OrgProjectBarFrobnicatorSkeleton: 850s # * 850s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 850s # */ 850s # 850s # /** 850s # * OrgProjectBarFrobnicatorSkeletonClass: 850s # * @parent_class: The parent class. 850s # * 850s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 850s # */ 850s # 850s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 850s # { 850s # GValue *properties; 850s # GList *changed_properties; 850s # GSource *changed_properties_idle_source; 850s # GMainContext *context; 850s # GMutex lock; 850s # }; 850s # 850s # static void 850s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name, 850s # const gchar *method_name, 850s # GVariant *parameters, 850s # GDBusMethodInvocation *invocation, 850s # gpointer user_data) 850s # { 850s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 850s # _ExtendedGDBusMethodInfo *info; 850s # GVariantIter iter; 850s # GVariant *child; 850s # GValue *paramv; 850s # gsize num_params; 850s # guint num_extra; 850s # gsize n; 850s # guint signal_id; 850s # GValue return_value = G_VALUE_INIT; 850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 850s # g_assert (info != NULL); 850s # num_params = g_variant_n_children (parameters); 850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 850s # n = 0; 850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 850s # g_value_set_object (¶mv[n++], skeleton); 850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 850s # g_value_set_object (¶mv[n++], invocation); 850s # if (info->pass_fdlist) 850s # { 850s # #ifdef G_OS_UNIX 850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 850s # #else 850s # g_assert_not_reached (); 850s # #endif 850s # } 850s # g_variant_iter_init (&iter, parameters); 850s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 850s # { 850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 850s # if (arg_info->use_gvariant) 850s # { 850s # g_value_init (¶mv[n], G_TYPE_VARIANT); 850s # g_value_set_variant (¶mv[n], child); 850s # n++; 850s # } 850s # else 850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 850s # g_variant_unref (child); 850s # } 850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 850s # g_value_init (&return_value, G_TYPE_BOOLEAN); 850s # g_signal_emitv (paramv, signal_id, 0, &return_value); 850s # if (!g_value_get_boolean (&return_value)) 850s # 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); 850s # g_value_unset (&return_value); 850s # for (n = 0; n < num_params + num_extra; n++) 850s # g_value_unset (¶mv[n]); 850s # g_free (paramv); 850s # } 850s # 850s # static GVariant * 850s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name G_GNUC_UNUSED, 850s # const gchar *property_name, 850s # GError **error, 850s # gpointer user_data) 850s # { 850s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 850s # GValue value = G_VALUE_INIT; 850s # GParamSpec *pspec; 850s # _ExtendedGDBusPropertyInfo *info; 850s # GVariant *ret; 850s # ret = NULL; 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 850s # g_assert (info != NULL); 850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 850s # if (pspec == NULL) 850s # { 850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 850s # } 850s # else 850s # { 850s # g_value_init (&value, pspec->value_type); 850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 850s # g_value_unset (&value); 850s # } 850s # return ret; 850s # } 850s # 850s # static gboolean 850s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name G_GNUC_UNUSED, 850s # const gchar *property_name, 850s # GVariant *variant, 850s # GError **error, 850s # gpointer user_data) 850s # { 850s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 850s # GValue value = G_VALUE_INIT; 850s # GParamSpec *pspec; 850s # _ExtendedGDBusPropertyInfo *info; 850s # gboolean ret; 850s # ret = FALSE; 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 850s # g_assert (info != NULL); 850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 850s # if (pspec == NULL) 850s # { 850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 850s # } 850s # else 850s # { 850s # if (info->use_gvariant) 850s # g_value_set_variant (&value, variant); 850s # else 850s # g_dbus_gvariant_to_gvalue (variant, &value); 850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 850s # g_value_unset (&value); 850s # ret = TRUE; 850s # } 850s # return ret; 850s # } 850s # 850s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 850s # { 850s # _org_project_bar_frobnicator_skeleton_handle_method_call, 850s # _org_project_bar_frobnicator_skeleton_handle_get_property, 850s # _org_project_bar_frobnicator_skeleton_handle_set_property, 850s # {NULL} 850s # }; 850s # 850s # static GDBusInterfaceInfo * 850s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 850s # { 850s # return org_project_bar_frobnicator_interface_info (); 850s # } 850s # 850s # static GDBusInterfaceVTable * 850s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 850s # { 850s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 850s # } 850s # 850s # static GVariant * 850s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 850s # { 850s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 850s # 850s # GVariantBuilder builder; 850s # guint n; 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 850s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 850s # #else 850s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 850s # #endif 850s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 850s # goto out; 850s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 850s # { 850s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 850s # { 850s # GVariant *value; 850s # 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); 850s # if (value != NULL) 850s # { 850s # g_variant_take_ref (value); 850s # g_variant_builder_add (&builder, "{sv}", info->name, value); 850s # g_variant_unref (value); 850s # } 850s # } 850s # } 850s # out: 850s # return g_variant_builder_end (&builder); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 850s # { 850s # } 850s # 850s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 850s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 850s # 850s # #else 850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 850s # 850s # #endif 850s # static void 850s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 850s # { 850s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 850s # if (skeleton->priv->changed_properties_idle_source != NULL) 850s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 850s # g_main_context_unref (skeleton->priv->context); 850s # g_mutex_clear (&skeleton->priv->lock); 850s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 850s # { 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 850s # #else 850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 850s # #endif 850s # 850s # g_mutex_init (&skeleton->priv->lock); 850s # skeleton->priv->context = g_main_context_ref_thread_default (); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 850s # { 850s # GObjectClass *gobject_class; 850s # GDBusInterfaceSkeletonClass *skeleton_class; 850s # 850s # gobject_class = G_OBJECT_CLASS (klass); 850s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 850s # 850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 850s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 850s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 850s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 850s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 850s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 850s # #endif 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 850s # { 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_skeleton_new: 850s # * 850s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 850s # * 850s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 850s # */ 850s # OrgProjectBarFrobnicator * 850s # org_project_bar_frobnicator_skeleton_new (void) 850s # { 850s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 850s # } 850s # 850s # /* ------------------------------------------------------------------------ 850s # * Code for interface com.acme.Coyote 850s # * ------------------------------------------------------------------------ 850s # */ 850s # 850s # /** 850s # * SECTION:ComAcmeCoyote 850s # * @title: ComAcmeCoyote 850s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 850s # * 850s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 850s # */ 850s # 850s # enum 850s # { 850s # _COM_ACME_COYOTE_SURPRISED, 850s # }; 850s # 850s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 850s # 850s # /* ---- Introspection data for com.acme.Coyote ---- */ 850s # 850s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 850s # { 850s # { 850s # -1, 850s # (gchar *) "Run", 850s # NULL, 850s # NULL, 850s # NULL 850s # }, 850s # "handle-run", 850s # FALSE 850s # }; 850s # 850s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 850s # { 850s # { 850s # -1, 850s # (gchar *) "Sleep", 850s # NULL, 850s # NULL, 850s # NULL 850s # }, 850s # "handle-sleep", 850s # FALSE 850s # }; 850s # 850s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 850s # { 850s # { 850s # -1, 850s # (gchar *) "Attack", 850s # NULL, 850s # NULL, 850s # NULL 850s # }, 850s # "handle-attack", 850s # FALSE 850s # }; 850s # 850s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 850s # { 850s # &_com_acme_coyote_method_info_run.parent_struct, 850s # &_com_acme_coyote_method_info_sleep.parent_struct, 850s # &_com_acme_coyote_method_info_attack.parent_struct, 850s # NULL 850s # }; 850s # 850s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 850s # { 850s # { 850s # -1, 850s # (gchar *) "Surprised", 850s # NULL, 850s # NULL 850s # }, 850s # "surprised" 850s # }; 850s # 850s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 850s # { 850s # &_com_acme_coyote_signal_info_surprised.parent_struct, 850s # NULL 850s # }; 850s # 850s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 850s # { 850s # { 850s # -1, 850s # (gchar *) "Mood", 850s # (gchar *) "s", 850s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 850s # NULL 850s # }, 850s # "mood", 850s # FALSE, 850s # TRUE 850s # }; 850s # 850s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 850s # { 850s # &_com_acme_coyote_property_info_mood.parent_struct, 850s # NULL 850s # }; 850s # 850s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 850s # { 850s # { 850s # -1, 850s # (gchar *) "com.acme.Coyote", 850s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 850s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 850s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 850s # NULL 850s # }, 850s # "com-acme-coyote", 850s # }; 850s # 850s # 850s # /** 850s # * com_acme_coyote_interface_info: 850s # * 850s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 850s # * 850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 850s # */ 850s # GDBusInterfaceInfo * 850s # com_acme_coyote_interface_info (void) 850s # { 850s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_override_properties: 850s # * @klass: The class structure for a #GObject derived class. 850s # * @property_id_begin: The property id to assign to the first overridden property. 850s # * 850s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 850s # * The properties are overridden in the order they are defined. 850s # * 850s # * Returns: The last property id. 850s # */ 850s # guint 850s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 850s # { 850s # g_object_class_override_property (klass, property_id_begin++, "mood"); 850s # return property_id_begin - 1; 850s # } 850s # 850s # 850s # inline static void 850s # com_acme_coyote_signal_marshal_surprised ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint, 850s # void *marshal_data) 850s # { 850s # g_cclosure_marshal_VOID__VOID (closure, 850s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 850s # } 850s # 850s # inline static void 850s # com_acme_coyote_method_marshal_run ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint, 850s # void *marshal_data) 850s # { 850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 850s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 850s # } 850s # 850s # inline static void 850s # com_acme_coyote_method_marshal_sleep ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint, 850s # void *marshal_data) 850s # { 850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 850s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 850s # } 850s # 850s # inline static void 850s # com_acme_coyote_method_marshal_attack ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint, 850s # void *marshal_data) 850s # { 850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 850s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 850s # } 850s # 850s # 850s # /** 850s # * ComAcmeCoyote: 850s # * 850s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 850s # */ 850s # 850s # /** 850s # * ComAcmeCoyoteIface: 850s # * @parent_iface: The parent interface. 850s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 850s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 850s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 850s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 850s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 850s # * 850s # * Virtual table for the D-Bus interface com.acme.Coyote. 850s # */ 850s # 850s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 850s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 850s # 850s # static void 850s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 850s # { 850s # /* GObject signals for incoming D-Bus method calls: */ 850s # /** 850s # * ComAcmeCoyote::handle-run: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: A #GDBusMethodInvocation. 850s # * 850s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 850s # * 850s # * 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. 850s # * 850s # * 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. 850s # */ 850s # g_signal_new ("handle-run", 850s # G_TYPE_FROM_INTERFACE (iface), 850s # G_SIGNAL_RUN_LAST, 850s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 850s # g_signal_accumulator_true_handled, 850s # NULL, 850s # com_acme_coyote_method_marshal_run, 850s # G_TYPE_BOOLEAN, 850s # 1, 850s # G_TYPE_DBUS_METHOD_INVOCATION); 850s # 850s # /** 850s # * ComAcmeCoyote::handle-sleep: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: A #GDBusMethodInvocation. 850s # * 850s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 850s # * 850s # * 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. 850s # * 850s # * 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. 850s # */ 850s # g_signal_new ("handle-sleep", 850s # G_TYPE_FROM_INTERFACE (iface), 850s # G_SIGNAL_RUN_LAST, 850s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 850s # g_signal_accumulator_true_handled, 850s # NULL, 850s # com_acme_coyote_method_marshal_sleep, 850s # G_TYPE_BOOLEAN, 850s # 1, 850s # G_TYPE_DBUS_METHOD_INVOCATION); 850s # 850s # /** 850s # * ComAcmeCoyote::handle-attack: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: A #GDBusMethodInvocation. 850s # * 850s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 850s # * 850s # * 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. 850s # * 850s # * 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. 850s # */ 850s # g_signal_new ("handle-attack", 850s # G_TYPE_FROM_INTERFACE (iface), 850s # G_SIGNAL_RUN_LAST, 850s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 850s # g_signal_accumulator_true_handled, 850s # NULL, 850s # com_acme_coyote_method_marshal_attack, 850s # G_TYPE_BOOLEAN, 850s # 1, 850s # G_TYPE_DBUS_METHOD_INVOCATION); 850s # 850s # /* GObject signals for received D-Bus signals: */ 850s # /** 850s # * ComAcmeCoyote::surprised: 850s # * @object: A #ComAcmeCoyote. 850s # * 850s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 850s # * 850s # * 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. 850s # */ 850s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 850s # g_signal_new ("surprised", 850s # G_TYPE_FROM_INTERFACE (iface), 850s # G_SIGNAL_RUN_LAST, 850s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 850s # NULL, 850s # NULL, 850s # com_acme_coyote_signal_marshal_surprised, 850s # G_TYPE_NONE, 850s # 0); 850s # 850s # /* GObject properties for D-Bus properties: */ 850s # /** 850s # * ComAcmeCoyote:mood: 850s # * 850s # * Represents the D-Bus property "Mood". 850s # * 850s # * 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. 850s # */ 850s # g_object_interface_install_property (iface, 850s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_get_mood: (skip) 850s # * @object: A #ComAcmeCoyote. 850s # * 850s # * Gets the value of the "Mood" D-Bus property. 850s # * 850s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 850s # * 850s # * 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. 850s # * 850s # * 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. 850s # */ 850s # const gchar * 850s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 850s # { 850s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 850s # 850s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_dup_mood: (skip) 850s # * @object: A #ComAcmeCoyote. 850s # * 850s # * Gets a copy of the "Mood" D-Bus property. 850s # * 850s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 850s # * 850s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 850s # */ 850s # gchar * 850s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 850s # { 850s # gchar *value; 850s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 850s # return value; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_set_mood: (skip) 850s # * @object: A #ComAcmeCoyote. 850s # * @value: The value to set. 850s # * 850s # * Sets the "Mood" D-Bus property to @value. 850s # * 850s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 850s # */ 850s # void 850s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 850s # { 850s # g_object_set (G_OBJECT (object), "mood", value, NULL); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_emit_surprised: 850s # * @object: A #ComAcmeCoyote. 850s # * 850s # * Emits the "Surprised" D-Bus signal. 850s # */ 850s # void 850s # com_acme_coyote_emit_surprised ( 850s # ComAcmeCoyote *object) 850s # { 850s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_run: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously invokes the Run() D-Bus method on @proxy. 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 850s # * 850s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 850s # */ 850s # void 850s # com_acme_coyote_call_run ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 850s # "Run", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # callback, 850s # user_data); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_run_finish: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Finishes an operation started with com_acme_coyote_call_run(). 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_run_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_run_sync: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 850s # * 850s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_run_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 850s # "Run", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_sleep: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 850s # * 850s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 850s # */ 850s # void 850s # com_acme_coyote_call_sleep ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 850s # "Sleep", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # callback, 850s # user_data); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_sleep_finish: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Finishes an operation started with com_acme_coyote_call_sleep(). 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_sleep_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_sleep_sync: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 850s # * 850s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_sleep_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 850s # "Sleep", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_attack: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 850s # * 850s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 850s # */ 850s # void 850s # com_acme_coyote_call_attack ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 850s # "Attack", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # callback, 850s # user_data); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_attack_finish: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Finishes an operation started with com_acme_coyote_call_attack(). 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_attack_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_attack_sync: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 850s # * 850s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_attack_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 850s # "Attack", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_complete_run: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: (transfer full): A #GDBusMethodInvocation. 850s # * 850s # * 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. 850s # * 850s # * This method will free @invocation, you cannot use it afterwards. 850s # */ 850s # void 850s # com_acme_coyote_complete_run ( 850s # ComAcmeCoyote *object G_GNUC_UNUSED, 850s # GDBusMethodInvocation *invocation) 850s # { 850s # g_dbus_method_invocation_return_value (invocation, 850s # g_variant_new ("()")); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_complete_sleep: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: (transfer full): A #GDBusMethodInvocation. 850s # * 850s # * 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. 850s # * 850s # * This method will free @invocation, you cannot use it afterwards. 850s # */ 850s # void 850s # com_acme_coyote_complete_sleep ( 850s # ComAcmeCoyote *object G_GNUC_UNUSED, 850s # GDBusMethodInvocation *invocation) 850s # { 850s # g_dbus_method_invocation_return_value (invocation, 850s # g_variant_new ("()")); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_complete_attack: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: (transfer full): A #GDBusMethodInvocation. 850s # * 850s # * 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. 850s # * 850s # * This method will free @invocation, you cannot use it afterwards. 850s # */ 850s # void 850s # com_acme_coyote_complete_attack ( 850s # ComAcmeCoyote *object G_GNUC_UNUSED, 850s # GDBusMethodInvocation *invocation) 850s # { 850s # g_dbus_method_invocation_return_value (invocation, 850s # g_variant_new ("()")); 850s # } 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # 850s # /** 850s # * ComAcmeCoyoteProxy: 850s # * 850s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 850s # */ 850s # 850s # /** 850s # * ComAcmeCoyoteProxyClass: 850s # * @parent_class: The parent class. 850s # * 850s # * Class structure for #ComAcmeCoyoteProxy. 850s # */ 850s # 850s # struct _ComAcmeCoyoteProxyPrivate 850s # { 850s # GData *qdata; 850s # }; 850s # 850s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 850s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 850s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 850s # 850s # #else 850s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 850s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 850s # 850s # #endif 850s # static void 850s # com_acme_coyote_proxy_finalize (GObject *object) 850s # { 850s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 850s # g_datalist_clear (&proxy->priv->qdata); 850s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_get_property (GObject *object, 850s # guint prop_id, 850s # GValue *value, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # const _ExtendedGDBusPropertyInfo *info; 850s # GVariant *variant; 850s # g_assert (prop_id != 0 && prop_id - 1 < 1); 850s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 850s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 850s # if (info->use_gvariant) 850s # { 850s # g_value_set_variant (value, variant); 850s # } 850s # else 850s # { 850s # if (variant != NULL) 850s # g_dbus_gvariant_to_gvalue (variant, value); 850s # } 850s # if (variant != NULL) 850s # g_variant_unref (variant); 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 850s # GAsyncResult *res, 850s # gpointer user_data) 850s # { 850s # const _ExtendedGDBusPropertyInfo *info = user_data; 850s # GError *error; 850s # GVariant *_ret; 850s # error = NULL; 850s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 850s # if (!_ret) 850s # { 850s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 850s # info->parent_struct.name, 850s # error->message, g_quark_to_string (error->domain), error->code); 850s # g_error_free (error); 850s # } 850s # else 850s # { 850s # g_variant_unref (_ret); 850s # } 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_set_property (GObject *object, 850s # guint prop_id, 850s # const GValue *value, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # const _ExtendedGDBusPropertyInfo *info; 850s # GVariant *variant; 850s # g_assert (prop_id != 0 && prop_id - 1 < 1); 850s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 850s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 850s # g_dbus_proxy_call (G_DBUS_PROXY (object), 850s # "org.freedesktop.DBus.Properties.Set", 850s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 850s # g_variant_unref (variant); 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 850s # const gchar *sender_name G_GNUC_UNUSED, 850s # const gchar *signal_name, 850s # GVariant *parameters) 850s # { 850s # _ExtendedGDBusSignalInfo *info; 850s # GVariantIter iter; 850s # GVariant *child; 850s # GValue *paramv; 850s # gsize num_params; 850s # gsize n; 850s # guint signal_id; 850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 850s # if (info == NULL) 850s # return; 850s # num_params = g_variant_n_children (parameters); 850s # paramv = g_new0 (GValue, num_params + 1); 850s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 850s # g_value_set_object (¶mv[0], proxy); 850s # g_variant_iter_init (&iter, parameters); 850s # n = 1; 850s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 850s # { 850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 850s # if (arg_info->use_gvariant) 850s # { 850s # g_value_init (¶mv[n], G_TYPE_VARIANT); 850s # g_value_set_variant (¶mv[n], child); 850s # n++; 850s # } 850s # else 850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 850s # g_variant_unref (child); 850s # } 850s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 850s # g_signal_emitv (paramv, signal_id, 0, NULL); 850s # for (n = 0; n < num_params + 1; n++) 850s # g_value_unset (¶mv[n]); 850s # g_free (paramv); 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 850s # GVariant *changed_properties, 850s # const gchar *const *invalidated_properties) 850s # { 850s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 850s # guint n; 850s # const gchar *key; 850s # GVariantIter *iter; 850s # _ExtendedGDBusPropertyInfo *info; 850s # g_variant_get (changed_properties, "a{sv}", &iter); 850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 850s # { 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 850s # g_datalist_remove_data (&proxy->priv->qdata, key); 850s # if (info != NULL) 850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 850s # } 850s # g_variant_iter_free (iter); 850s # for (n = 0; invalidated_properties[n] != NULL; n++) 850s # { 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 850s # if (info != NULL) 850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 850s # } 850s # } 850s # 850s # static const gchar * 850s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 850s # { 850s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 850s # GVariant *variant; 850s # const gchar *value = NULL; 850s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 850s # if (variant != NULL) 850s # { 850s # value = g_variant_get_string (variant, NULL); 850s # g_variant_unref (variant); 850s # } 850s # return value; 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 850s # { 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 850s # #else 850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 850s # #endif 850s # 850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 850s # { 850s # GObjectClass *gobject_class; 850s # GDBusProxyClass *proxy_class; 850s # 850s # gobject_class = G_OBJECT_CLASS (klass); 850s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 850s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 850s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 850s # 850s # proxy_class = G_DBUS_PROXY_CLASS (klass); 850s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 850s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 850s # 850s # com_acme_coyote_override_properties (gobject_class, 1); 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 850s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 850s # #endif 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 850s # { 850s # iface->get_mood = com_acme_coyote_proxy_get_mood; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_proxy_new: 850s # * @connection: A #GDBusConnection. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 850s # * 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 850s # * 850s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 850s # */ 850s # void 850s # com_acme_coyote_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # 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); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_proxy_new_finish: 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 850s # * @error: Return location for error or %NULL 850s # * 850s # * Finishes an operation started with com_acme_coyote_proxy_new(). 850s # * 850s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # ComAcmeCoyote * 850s # com_acme_coyote_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GObject *ret; 850s # GObject *source_object; 850s # source_object = g_async_result_get_source_object (res); 850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 850s # g_object_unref (source_object); 850s # if (ret != NULL) 850s # return COM_ACME_COYOTE (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_proxy_new_sync: 850s # * @connection: A #GDBusConnection. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL 850s # * 850s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 850s # * 850s # * The calling thread is blocked until a reply is received. 850s # * 850s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 850s # * 850s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # ComAcmeCoyote * 850s # com_acme_coyote_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GInitable *ret; 850s # 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); 850s # if (ret != NULL) 850s # return COM_ACME_COYOTE (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # 850s # /** 850s # * com_acme_coyote_proxy_new_for_bus: 850s # * @bus_type: A #GBusType. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: A bus name (well-known or unique). 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 850s # * 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 850s # * 850s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 850s # */ 850s # void 850s # com_acme_coyote_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # 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); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_proxy_new_for_bus_finish: 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 850s # * @error: Return location for error or %NULL 850s # * 850s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 850s # * 850s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # ComAcmeCoyote * 850s # com_acme_coyote_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GObject *ret; 850s # GObject *source_object; 850s # source_object = g_async_result_get_source_object (res); 850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 850s # g_object_unref (source_object); 850s # if (ret != NULL) 850s # return COM_ACME_COYOTE (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_proxy_new_for_bus_sync: 850s # * @bus_type: A #GBusType. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: A bus name (well-known or unique). 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL 850s # * 850s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 850s # * 850s # * The calling thread is blocked until a reply is received. 850s # * 850s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 850s # * 850s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # ComAcmeCoyote * 850s # com_acme_coyote_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GInitable *ret; 850s # 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); 850s # if (ret != NULL) 850s # return COM_ACME_COYOTE (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # 850s # /** 850s # * ComAcmeCoyoteSkeleton: 850s # * 850s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 850s # */ 850s # 850s # /** 850s # * ComAcmeCoyoteSkeletonClass: 850s # * @parent_class: The parent class. 850s # * 850s # * Class structure for #ComAcmeCoyoteSkeleton. 850s # */ 850s # 850s # struct _ComAcmeCoyoteSkeletonPrivate 850s # { 850s # GValue *properties; 850s # GList *changed_properties; 850s # GSource *changed_properties_idle_source; 850s # GMainContext *context; 850s # GMutex lock; 850s # }; 850s # 850s # static void 850s # _com_acme_coyote_skeleton_handle_method_call ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name, 850s # const gchar *method_name, 850s # GVariant *parameters, 850s # GDBusMethodInvocation *invocation, 850s # gpointer user_data) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 850s # _ExtendedGDBusMethodInfo *info; 850s # GVariantIter iter; 850s # GVariant *child; 850s # GValue *paramv; 850s # gsize num_params; 850s # guint num_extra; 850s # gsize n; 850s # guint signal_id; 850s # GValue return_value = G_VALUE_INIT; 850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 850s # g_assert (info != NULL); 850s # num_params = g_variant_n_children (parameters); 850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 850s # n = 0; 850s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 850s # g_value_set_object (¶mv[n++], skeleton); 850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 850s # g_value_set_object (¶mv[n++], invocation); 850s # if (info->pass_fdlist) 850s # { 850s # #ifdef G_OS_UNIX 850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 850s # #else 850s # g_assert_not_reached (); 850s # #endif 850s # } 850s # g_variant_iter_init (&iter, parameters); 850s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 850s # { 850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 850s # if (arg_info->use_gvariant) 850s # { 850s # g_value_init (¶mv[n], G_TYPE_VARIANT); 850s # g_value_set_variant (¶mv[n], child); 850s # n++; 850s # } 850s # else 850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 850s # g_variant_unref (child); 850s # } 850s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 850s # g_value_init (&return_value, G_TYPE_BOOLEAN); 850s # g_signal_emitv (paramv, signal_id, 0, &return_value); 850s # if (!g_value_get_boolean (&return_value)) 850s # 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); 850s # g_value_unset (&return_value); 850s # for (n = 0; n < num_params + num_extra; n++) 850s # g_value_unset (¶mv[n]); 850s # g_free (paramv); 850s # } 850s # 850s # static GVariant * 850s # _com_acme_coyote_skeleton_handle_get_property ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name G_GNUC_UNUSED, 850s # const gchar *property_name, 850s # GError **error, 850s # gpointer user_data) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 850s # GValue value = G_VALUE_INIT; 850s # GParamSpec *pspec; 850s # _ExtendedGDBusPropertyInfo *info; 850s # GVariant *ret; 850s # ret = NULL; 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 850s # g_assert (info != NULL); 850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 850s # if (pspec == NULL) 850s # { 850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 850s # } 850s # else 850s # { 850s # g_value_init (&value, pspec->value_type); 850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 850s # g_value_unset (&value); 850s # } 850s # return ret; 850s # } 850s # 850s # static gboolean 850s # _com_acme_coyote_skeleton_handle_set_property ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name G_GNUC_UNUSED, 850s # const gchar *property_name, 850s # GVariant *variant, 850s # GError **error, 850s # gpointer user_data) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 850s # GValue value = G_VALUE_INIT; 850s # GParamSpec *pspec; 850s # _ExtendedGDBusPropertyInfo *info; 850s # gboolean ret; 850s # ret = FALSE; 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 850s # g_assert (info != NULL); 850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 850s # if (pspec == NULL) 850s # { 850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 850s # } 850s # else 850s # { 850s # if (info->use_gvariant) 850s # g_value_set_variant (&value, variant); 850s # else 850s # g_dbus_gvariant_to_gvalue (variant, &value); 850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 850s # g_value_unset (&value); 850s # ret = TRUE; 850s # } 850s # return ret; 850s # } 850s # 850s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 850s # { 850s # _com_acme_coyote_skeleton_handle_method_call, 850s # _com_acme_coyote_skeleton_handle_get_property, 850s # _com_acme_coyote_skeleton_handle_set_property, 850s # {NULL} 850s # }; 850s # 850s # static GDBusInterfaceInfo * 850s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 850s # { 850s # return com_acme_coyote_interface_info (); 850s # } 850s # 850s # static GDBusInterfaceVTable * 850s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 850s # { 850s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 850s # } 850s # 850s # static GVariant * 850s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 850s # 850s # GVariantBuilder builder; 850s # guint n; 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 850s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 850s # #else 850s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 850s # #endif 850s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 850s # goto out; 850s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 850s # { 850s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 850s # { 850s # GVariant *value; 850s # 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); 850s # if (value != NULL) 850s # { 850s # g_variant_take_ref (value); 850s # g_variant_builder_add (&builder, "{sv}", info->name, value); 850s # g_variant_unref (value); 850s # } 850s # } 850s # } 850s # out: 850s # return g_variant_builder_end (&builder); 850s # } 850s # 850s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 850s # 850s # static void 850s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 850s # gboolean emit_changed = FALSE; 850s # 850s # g_mutex_lock (&skeleton->priv->lock); 850s # if (skeleton->priv->changed_properties_idle_source != NULL) 850s # { 850s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 850s # skeleton->priv->changed_properties_idle_source = NULL; 850s # emit_changed = TRUE; 850s # } 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # 850s # if (emit_changed) 850s # _com_acme_coyote_emit_changed (skeleton); 850s # } 850s # 850s # static void 850s # _com_acme_coyote_on_signal_surprised ( 850s # ComAcmeCoyote *object) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # 850s # GList *connections, *l; 850s # GVariant *signal_variant; 850s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 850s # 850s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 850s # for (l = connections; l != NULL; l = l->next) 850s # { 850s # GDBusConnection *connection = l->data; 850s # g_dbus_connection_emit_signal (connection, 850s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 850s # signal_variant, NULL); 850s # } 850s # g_variant_unref (signal_variant); 850s # g_list_free_full (connections, g_object_unref); 850s # } 850s # 850s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 850s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 850s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 850s # 850s # #else 850s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 850s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 850s # 850s # #endif 850s # static void 850s # com_acme_coyote_skeleton_finalize (GObject *object) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # guint n; 850s # for (n = 0; n < 1; n++) 850s # g_value_unset (&skeleton->priv->properties[n]); 850s # g_free (skeleton->priv->properties); 850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 850s # if (skeleton->priv->changed_properties_idle_source != NULL) 850s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 850s # g_main_context_unref (skeleton->priv->context); 850s # g_mutex_clear (&skeleton->priv->lock); 850s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_get_property (GObject *object, 850s # guint prop_id, 850s # GValue *value, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # g_assert (prop_id != 0 && prop_id - 1 < 1); 850s # g_mutex_lock (&skeleton->priv->lock); 850s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # } 850s # 850s # static gboolean 850s # _com_acme_coyote_emit_changed (gpointer user_data) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 850s # GList *l; 850s # GVariantBuilder builder; 850s # GVariantBuilder invalidated_builder; 850s # guint num_changes; 850s # 850s # g_mutex_lock (&skeleton->priv->lock); 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 850s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 850s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 850s # #else 850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 850s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 850s # #endif 850s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 850s # { 850s # ChangedProperty *cp = l->data; 850s # GVariant *variant; 850s # const GValue *cur_value; 850s # 850s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 850s # if (!_g_value_equal (cur_value, &cp->orig_value)) 850s # { 850s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 850s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 850s # g_variant_unref (variant); 850s # num_changes++; 850s # } 850s # } 850s # if (num_changes > 0) 850s # { 850s # GList *connections, *ll; 850s # GVariant *signal_variant; 850s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 850s # &builder, &invalidated_builder)); 850s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 850s # for (ll = connections; ll != NULL; ll = ll->next) 850s # { 850s # GDBusConnection *connection = ll->data; 850s # 850s # g_dbus_connection_emit_signal (connection, 850s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 850s # "org.freedesktop.DBus.Properties", 850s # "PropertiesChanged", 850s # signal_variant, 850s # NULL); 850s # } 850s # g_variant_unref (signal_variant); 850s # g_list_free_full (connections, g_object_unref); 850s # } 850s # else 850s # { 850s # g_variant_builder_clear (&builder); 850s # g_variant_builder_clear (&invalidated_builder); 850s # } 850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 850s # skeleton->priv->changed_properties = NULL; 850s # skeleton->priv->changed_properties_idle_source = NULL; 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # return FALSE; 850s # } 850s # 850s # static void 850s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 850s # { 850s # ChangedProperty *cp; 850s # GList *l; 850s # cp = NULL; 850s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 850s # { 850s # ChangedProperty *i_cp = l->data; 850s # if (i_cp->info == info) 850s # { 850s # cp = i_cp; 850s # break; 850s # } 850s # } 850s # if (cp == NULL) 850s # { 850s # cp = g_new0 (ChangedProperty, 1); 850s # cp->prop_id = prop_id; 850s # cp->info = info; 850s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 850s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 850s # g_value_copy (orig_value, &cp->orig_value); 850s # } 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_notify (GObject *object, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # g_mutex_lock (&skeleton->priv->lock); 850s # if (skeleton->priv->changed_properties != NULL && 850s # skeleton->priv->changed_properties_idle_source == NULL) 850s # { 850s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 850s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 850s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 850s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 850s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 850s # g_source_unref (skeleton->priv->changed_properties_idle_source); 850s # } 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_set_property (GObject *object, 850s # guint prop_id, 850s # const GValue *value, 850s # GParamSpec *pspec) 850s # { 850s # const _ExtendedGDBusPropertyInfo *info; 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # g_assert (prop_id != 0 && prop_id - 1 < 1); 850s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 850s # g_mutex_lock (&skeleton->priv->lock); 850s # g_object_freeze_notify (object); 850s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 850s # { 850s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 850s # info->emits_changed_signal) 850s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 850s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 850s # g_object_notify_by_pspec (object, pspec); 850s # } 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # g_object_thaw_notify (object); 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 850s # { 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 850s # #else 850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 850s # #endif 850s # 850s # g_mutex_init (&skeleton->priv->lock); 850s # skeleton->priv->context = g_main_context_ref_thread_default (); 850s # skeleton->priv->properties = g_new0 (GValue, 1); 850s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 850s # } 850s # 850s # static const gchar * 850s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # const gchar *value; 850s # g_mutex_lock (&skeleton->priv->lock); 850s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # return value; 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 850s # { 850s # GObjectClass *gobject_class; 850s # GDBusInterfaceSkeletonClass *skeleton_class; 850s # 850s # gobject_class = G_OBJECT_CLASS (klass); 850s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 850s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 850s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 850s # gobject_class->notify = com_acme_coyote_skeleton_notify; 850s # 850s # 850s # com_acme_coyote_override_properties (gobject_class, 1); 850s # 850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 850s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 850s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 850s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 850s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 850s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 850s # #endif 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 850s # { 850s # iface->surprised = _com_acme_coyote_on_signal_surprised; 850s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_skeleton_new: 850s # * 850s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 850s # * 850s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 850s # */ 850s # ComAcmeCoyote * 850s # com_acme_coyote_skeleton_new (void) 850s # { 850s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 850s # } 850s # Error: 850s # 850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp261ze4l0/tmp3am0wt1t2.xml', '/tmp/tmp261ze4l0/tmp85nxwok11.xml', '--output', '-', '--body'] 850s # Return code: 0 850s # Output: 850s # /* 850s # * This file is generated by gdbus-codegen, do not modify it. 850s # * 850s # * The license of this code is the same as for the D-Bus interface description 850s # * it was derived from. Note that it links to GLib, so must comply with the 850s # * LGPL linking clauses. 850s # */ 850s # 850s # #ifdef HAVE_CONFIG_H 850s # # include "config.h" 850s # #endif 850s # 850s # #include 850s # #ifdef G_OS_UNIX 850s # # include 850s # #endif 850s # 850s # #ifdef G_ENABLE_DEBUG 850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 850s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 850s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 850s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 850s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 850s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 850s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 850s # #else /* !G_ENABLE_DEBUG */ 850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 850s # * Do not access GValues directly in your code. Instead, use the 850s # * g_value_get_*() functions 850s # */ 850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 850s # #endif /* !G_ENABLE_DEBUG */ 850s # 850s # typedef struct 850s # { 850s # GDBusArgInfo parent_struct; 850s # gboolean use_gvariant; 850s # } _ExtendedGDBusArgInfo; 850s # 850s # typedef struct 850s # { 850s # GDBusMethodInfo parent_struct; 850s # const gchar *signal_name; 850s # gboolean pass_fdlist; 850s # } _ExtendedGDBusMethodInfo; 850s # 850s # typedef struct 850s # { 850s # GDBusSignalInfo parent_struct; 850s # const gchar *signal_name; 850s # } _ExtendedGDBusSignalInfo; 850s # 850s # typedef struct 850s # { 850s # GDBusPropertyInfo parent_struct; 850s # const gchar *hyphen_name; 850s # guint use_gvariant : 1; 850s # guint emits_changed_signal : 1; 850s # } _ExtendedGDBusPropertyInfo; 850s # 850s # typedef struct 850s # { 850s # GDBusInterfaceInfo parent_struct; 850s # const gchar *hyphen_name; 850s # } _ExtendedGDBusInterfaceInfo; 850s # 850s # typedef struct 850s # { 850s # const _ExtendedGDBusPropertyInfo *info; 850s # guint prop_id; 850s # GValue orig_value; /* the value before the change */ 850s # } ChangedProperty; 850s # 850s # static void 850s # _changed_property_free (ChangedProperty *data) 850s # { 850s # g_value_unset (&data->orig_value); 850s # g_free (data); 850s # } 850s # 850s # static gboolean 850s # _g_strv_equal0 (gchar **a, gchar **b) 850s # { 850s # gboolean ret = FALSE; 850s # guint n; 850s # if (a == NULL && b == NULL) 850s # { 850s # ret = TRUE; 850s # goto out; 850s # } 850s # if (a == NULL || b == NULL) 850s # goto out; 850s # if (g_strv_length (a) != g_strv_length (b)) 850s # goto out; 850s # for (n = 0; a[n] != NULL; n++) 850s # if (g_strcmp0 (a[n], b[n]) != 0) 850s # goto out; 850s # ret = TRUE; 850s # out: 850s # return ret; 850s # } 850s # 850s # static gboolean 850s # _g_variant_equal0 (GVariant *a, GVariant *b) 850s # { 850s # gboolean ret = FALSE; 850s # if (a == NULL && b == NULL) 850s # { 850s # ret = TRUE; 850s # goto out; 850s # } 850s # if (a == NULL || b == NULL) 850s # goto out; 850s # ret = g_variant_equal (a, b); 850s # out: 850s # return ret; 850s # } 850s # 850s # G_GNUC_UNUSED static gboolean 850s # _g_value_equal (const GValue *a, const GValue *b) 850s # { 850s # gboolean ret = FALSE; 850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 850s # switch (G_VALUE_TYPE (a)) 850s # { 850s # case G_TYPE_BOOLEAN: 850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 850s # break; 850s # case G_TYPE_UCHAR: 850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 850s # break; 850s # case G_TYPE_INT: 850s # ret = (g_value_get_int (a) == g_value_get_int (b)); 850s # break; 850s # case G_TYPE_UINT: 850s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 850s # break; 850s # case G_TYPE_INT64: 850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 850s # break; 850s # case G_TYPE_UINT64: 850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 850s # break; 850s # case G_TYPE_DOUBLE: 850s # { 850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 850s # gdouble da = g_value_get_double (a); 850s # gdouble db = g_value_get_double (b); 850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 850s # } 850s # break; 850s # case G_TYPE_STRING: 850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 850s # break; 850s # case G_TYPE_VARIANT: 850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 850s # break; 850s # default: 850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 850s # else 850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 850s # break; 850s # } 850s # return ret; 850s # } 850s # 850s # static void 850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint G_GNUC_UNUSED, 850s # void *marshal_data) 850s # { 850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 850s # (void *data1, 850s # GDBusMethodInvocation *arg_method_invocation, 850s # void *data2); 850s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 850s # GCClosure *cc = (GCClosure*) closure; 850s # void *data1, *data2; 850s # gboolean v_return; 850s # 850s # g_return_if_fail (return_value != NULL); 850s # g_return_if_fail (n_param_values == 2); 850s # 850s # if (G_CCLOSURE_SWAP_DATA (closure)) 850s # { 850s # data1 = closure->data; 850s # data2 = g_value_peek_pointer (param_values + 0); 850s # } 850s # else 850s # { 850s # data1 = g_value_peek_pointer (param_values + 0); 850s # data2 = closure->data; 850s # } 850s # 850s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 850s # (marshal_data ? marshal_data : cc->callback); 850s # 850s # v_return = 850s # callback (data1, 850s # g_marshal_value_peek_object (param_values + 1), 850s # data2); 850s # 850s # g_value_set_boolean (return_value, v_return); 850s # } 850s # 850s # /* ------------------------------------------------------------------------ 850s # * Code for interface org.project.Bar.Frobnicator 850s # * ------------------------------------------------------------------------ 850s # */ 850s # 850s # /** 850s # * SECTION:OrgProjectBarFrobnicator 850s # * @title: OrgProjectBarFrobnicator 850s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 850s # * 850s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 850s # */ 850s # 850s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 850s # 850s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 850s # { 850s # { 850s # -1, 850s # (gchar *) "RandomMethod", 850s # NULL, 850s # NULL, 850s # NULL 850s # }, 850s # "handle-random-method", 850s # FALSE 850s # }; 850s # 850s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 850s # { 850s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 850s # NULL 850s # }; 850s # 850s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 850s # { 850s # { 850s # -1, 850s # (gchar *) "org.project.Bar.Frobnicator", 850s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 850s # NULL, 850s # NULL, 850s # NULL 850s # }, 850s # "org-project-bar-frobnicator", 850s # }; 850s # 850s # 850s # /** 850s # * org_project_bar_frobnicator_interface_info: 850s # * 850s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 850s # * 850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 850s # */ 850s # GDBusInterfaceInfo * 850s # org_project_bar_frobnicator_interface_info (void) 850s # { 850s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_override_properties: 850s # * @klass: The class structure for a #GObject derived class. 850s # * @property_id_begin: The property id to assign to the first overridden property. 850s # * 850s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 850s # * The properties are overridden in the order they are defined. 850s # * 850s # * Returns: The last property id. 850s # */ 850s # guint 850s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 850s # { 850s # return property_id_begin - 1; 850s # } 850s # 850s # 850s # inline static void 850s # org_project_bar_frobnicator_method_marshal_random_method ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint, 850s # void *marshal_data) 850s # { 850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 850s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 850s # } 850s # 850s # 850s # /** 850s # * OrgProjectBarFrobnicator: 850s # * 850s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 850s # */ 850s # 850s # /** 850s # * OrgProjectBarFrobnicatorIface: 850s # * @parent_iface: The parent interface. 850s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 850s # * 850s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 850s # */ 850s # 850s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 850s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 850s # 850s # static void 850s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 850s # { 850s # /* GObject signals for incoming D-Bus method calls: */ 850s # /** 850s # * OrgProjectBarFrobnicator::handle-random-method: 850s # * @object: A #OrgProjectBarFrobnicator. 850s # * @invocation: A #GDBusMethodInvocation. 850s # * 850s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 850s # * 850s # * 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. 850s # * 850s # * 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. 850s # */ 850s # g_signal_new ("handle-random-method", 850s # G_TYPE_FROM_INTERFACE (iface), 850s # G_SIGNAL_RUN_LAST, 850s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 850s # g_signal_accumulator_true_handled, 850s # NULL, 850s # org_project_bar_frobnicator_method_marshal_random_method, 850s # G_TYPE_BOOLEAN, 850s # 1, 850s # G_TYPE_DBUS_METHOD_INVOCATION); 850s # 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_call_random_method: 850s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 850s # * 850s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 850s # */ 850s # void 850s # org_project_bar_frobnicator_call_random_method ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 850s # "RandomMethod", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # callback, 850s # user_data); 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_call_random_method_finish: 850s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # org_project_bar_frobnicator_call_random_method_finish ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_call_random_method_sync: 850s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 850s # * 850s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # org_project_bar_frobnicator_call_random_method_sync ( 850s # OrgProjectBarFrobnicator *proxy, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 850s # "RandomMethod", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_complete_random_method: 850s # * @object: A #OrgProjectBarFrobnicator. 850s # * @invocation: (transfer full): A #GDBusMethodInvocation. 850s # * 850s # * 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. 850s # * 850s # * This method will free @invocation, you cannot use it afterwards. 850s # */ 850s # void 850s # org_project_bar_frobnicator_complete_random_method ( 850s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 850s # GDBusMethodInvocation *invocation) 850s # { 850s # g_dbus_method_invocation_return_value (invocation, 850s # g_variant_new ("()")); 850s # } 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # 850s # /** 850s # * OrgProjectBarFrobnicatorProxy: 850s # * 850s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 850s # */ 850s # 850s # /** 850s # * OrgProjectBarFrobnicatorProxyClass: 850s # * @parent_class: The parent class. 850s # * 850s # * Class structure for #OrgProjectBarFrobnicatorProxy. 850s # */ 850s # 850s # struct _OrgProjectBarFrobnicatorProxyPrivate 850s # { 850s # GData *qdata; 850s # }; 850s # 850s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 850s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 850s # 850s # #else 850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 850s # 850s # #endif 850s # static void 850s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 850s # { 850s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 850s # g_datalist_clear (&proxy->priv->qdata); 850s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 850s # guint prop_id G_GNUC_UNUSED, 850s # GValue *value G_GNUC_UNUSED, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 850s # guint prop_id G_GNUC_UNUSED, 850s # const GValue *value G_GNUC_UNUSED, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 850s # const gchar *sender_name G_GNUC_UNUSED, 850s # const gchar *signal_name, 850s # GVariant *parameters) 850s # { 850s # _ExtendedGDBusSignalInfo *info; 850s # GVariantIter iter; 850s # GVariant *child; 850s # GValue *paramv; 850s # gsize num_params; 850s # gsize n; 850s # guint signal_id; 850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 850s # if (info == NULL) 850s # return; 850s # num_params = g_variant_n_children (parameters); 850s # paramv = g_new0 (GValue, num_params + 1); 850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 850s # g_value_set_object (¶mv[0], proxy); 850s # g_variant_iter_init (&iter, parameters); 850s # n = 1; 850s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 850s # { 850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 850s # if (arg_info->use_gvariant) 850s # { 850s # g_value_init (¶mv[n], G_TYPE_VARIANT); 850s # g_value_set_variant (¶mv[n], child); 850s # n++; 850s # } 850s # else 850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 850s # g_variant_unref (child); 850s # } 850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 850s # g_signal_emitv (paramv, signal_id, 0, NULL); 850s # for (n = 0; n < num_params + 1; n++) 850s # g_value_unset (¶mv[n]); 850s # g_free (paramv); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 850s # GVariant *changed_properties, 850s # const gchar *const *invalidated_properties) 850s # { 850s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 850s # guint n; 850s # const gchar *key; 850s # GVariantIter *iter; 850s # _ExtendedGDBusPropertyInfo *info; 850s # g_variant_get (changed_properties, "a{sv}", &iter); 850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 850s # { 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 850s # g_datalist_remove_data (&proxy->priv->qdata, key); 850s # if (info != NULL) 850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 850s # } 850s # g_variant_iter_free (iter); 850s # for (n = 0; invalidated_properties[n] != NULL; n++) 850s # { 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 850s # if (info != NULL) 850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 850s # } 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 850s # { 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 850s # #else 850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 850s # #endif 850s # 850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 850s # { 850s # GObjectClass *gobject_class; 850s # GDBusProxyClass *proxy_class; 850s # 850s # gobject_class = G_OBJECT_CLASS (klass); 850s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 850s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 850s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 850s # 850s # proxy_class = G_DBUS_PROXY_CLASS (klass); 850s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 850s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 850s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 850s # #endif 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 850s # { 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new: 850s # * @connection: A #GDBusConnection. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 850s # * 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 850s # * 850s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 850s # */ 850s # void 850s # org_project_bar_frobnicator_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # 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); 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new_finish: 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 850s # * @error: Return location for error or %NULL 850s # * 850s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 850s # * 850s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # OrgProjectBarFrobnicator * 850s # org_project_bar_frobnicator_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GObject *ret; 850s # GObject *source_object; 850s # source_object = g_async_result_get_source_object (res); 850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 850s # g_object_unref (source_object); 850s # if (ret != NULL) 850s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new_sync: 850s # * @connection: A #GDBusConnection. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL 850s # * 850s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 850s # * 850s # * The calling thread is blocked until a reply is received. 850s # * 850s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 850s # * 850s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # OrgProjectBarFrobnicator * 850s # org_project_bar_frobnicator_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GInitable *ret; 850s # 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); 850s # if (ret != NULL) 850s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new_for_bus: 850s # * @bus_type: A #GBusType. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: A bus name (well-known or unique). 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 850s # * 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 850s # * 850s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 850s # */ 850s # void 850s # org_project_bar_frobnicator_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # 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); 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 850s # * @error: Return location for error or %NULL 850s # * 850s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 850s # * 850s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # OrgProjectBarFrobnicator * 850s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GObject *ret; 850s # GObject *source_object; 850s # source_object = g_async_result_get_source_object (res); 850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 850s # g_object_unref (source_object); 850s # if (ret != NULL) 850s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 850s # * @bus_type: A #GBusType. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: A bus name (well-known or unique). 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL 850s # * 850s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 850s # * 850s # * The calling thread is blocked until a reply is received. 850s # * 850s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 850s # * 850s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # OrgProjectBarFrobnicator * 850s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GInitable *ret; 850s # 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); 850s # if (ret != NULL) 850s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # 850s # /** 850s # * OrgProjectBarFrobnicatorSkeleton: 850s # * 850s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 850s # */ 850s # 850s # /** 850s # * OrgProjectBarFrobnicatorSkeletonClass: 850s # * @parent_class: The parent class. 850s # * 850s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 850s # */ 850s # 850s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 850s # { 850s # GValue *properties; 850s # GList *changed_properties; 850s # GSource *changed_properties_idle_source; 850s # GMainContext *context; 850s # GMutex lock; 850s # }; 850s # 850s # static void 850s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name, 850s # const gchar *method_name, 850s # GVariant *parameters, 850s # GDBusMethodInvocation *invocation, 850s # gpointer user_data) 850s # { 850s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 850s # _ExtendedGDBusMethodInfo *info; 850s # GVariantIter iter; 850s # GVariant *child; 850s # GValue *paramv; 850s # gsize num_params; 850s # guint num_extra; 850s # gsize n; 850s # guint signal_id; 850s # GValue return_value = G_VALUE_INIT; 850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 850s # g_assert (info != NULL); 850s # num_params = g_variant_n_children (parameters); 850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 850s # n = 0; 850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 850s # g_value_set_object (¶mv[n++], skeleton); 850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 850s # g_value_set_object (¶mv[n++], invocation); 850s # if (info->pass_fdlist) 850s # { 850s # #ifdef G_OS_UNIX 850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 850s # #else 850s # g_assert_not_reached (); 850s # #endif 850s # } 850s # g_variant_iter_init (&iter, parameters); 850s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 850s # { 850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 850s # if (arg_info->use_gvariant) 850s # { 850s # g_value_init (¶mv[n], G_TYPE_VARIANT); 850s # g_value_set_variant (¶mv[n], child); 850s # n++; 850s # } 850s # else 850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 850s # g_variant_unref (child); 850s # } 850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 850s # g_value_init (&return_value, G_TYPE_BOOLEAN); 850s # g_signal_emitv (paramv, signal_id, 0, &return_value); 850s # if (!g_value_get_boolean (&return_value)) 850s # 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); 850s # g_value_unset (&return_value); 850s # for (n = 0; n < num_params + num_extra; n++) 850s # g_value_unset (¶mv[n]); 850s # g_free (paramv); 850s # } 850s # 850s # static GVariant * 850s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name G_GNUC_UNUSED, 850s # const gchar *property_name, 850s # GError **error, 850s # gpointer user_data) 850s # { 850s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 850s # GValue value = G_VALUE_INIT; 850s # GParamSpec *pspec; 850s # _ExtendedGDBusPropertyInfo *info; 850s # GVariant *ret; 850s # ret = NULL; 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 850s # g_assert (info != NULL); 850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 850s # if (pspec == NULL) 850s # { 850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 850s # } 850s # else 850s # { 850s # g_value_init (&value, pspec->value_type); 850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 850s # g_value_unset (&value); 850s # } 850s # return ret; 850s # } 850s # 850s # static gboolean 850s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name G_GNUC_UNUSED, 850s # const gchar *property_name, 850s # GVariant *variant, 850s # GError **error, 850s # gpointer user_data) 850s # { 850s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 850s # GValue value = G_VALUE_INIT; 850s # GParamSpec *pspec; 850s # _ExtendedGDBusPropertyInfo *info; 850s # gboolean ret; 850s # ret = FALSE; 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 850s # g_assert (info != NULL); 850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 850s # if (pspec == NULL) 850s # { 850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 850s # } 850s # else 850s # { 850s # if (info->use_gvariant) 850s # g_value_set_variant (&value, variant); 850s # else 850s # g_dbus_gvariant_to_gvalue (variant, &value); 850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 850s # g_value_unset (&value); 850s # ret = TRUE; 850s # } 850s # return ret; 850s # } 850s # 850s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 850s # { 850s # _org_project_bar_frobnicator_skeleton_handle_method_call, 850s # _org_project_bar_frobnicator_skeleton_handle_get_property, 850s # _org_project_bar_frobnicator_skeleton_handle_set_property, 850s # {NULL} 850s # }; 850s # 850s # static GDBusInterfaceInfo * 850s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 850s # { 850s # return org_project_bar_frobnicator_interface_info (); 850s # } 850s # 850s # static GDBusInterfaceVTable * 850s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 850s # { 850s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 850s # } 850s # 850s # static GVariant * 850s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 850s # { 850s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 850s # 850s # GVariantBuilder builder; 850s # guint n; 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 850s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 850s # #else 850s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 850s # #endif 850s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 850s # goto out; 850s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 850s # { 850s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 850s # { 850s # GVariant *value; 850s # 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); 850s # if (value != NULL) 850s # { 850s # g_variant_take_ref (value); 850s # g_variant_builder_add (&builder, "{sv}", info->name, value); 850s # g_variant_unref (value); 850s # } 850s # } 850s # } 850s # out: 850s # return g_variant_builder_end (&builder); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 850s # { 850s # } 850s # 850s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 850s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 850s # 850s # #else 850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 850s # 850s # #endif 850s # static void 850s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 850s # { 850s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 850s # if (skeleton->priv->changed_properties_idle_source != NULL) 850s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 850s # g_main_context_unref (skeleton->priv->context); 850s # g_mutex_clear (&skeleton->priv->lock); 850s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 850s # { 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 850s # #else 850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 850s # #endif 850s # 850s # g_mutex_init (&skeleton->priv->lock); 850s # skeleton->priv->context = g_main_context_ref_thread_default (); 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 850s # { 850s # GObjectClass *gobject_class; 850s # GDBusInterfaceSkeletonClass *skeleton_class; 850s # 850s # gobject_class = G_OBJECT_CLASS (klass); 850s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 850s # 850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 850s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 850s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 850s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 850s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 850s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 850s # #endif 850s # } 850s # 850s # static void 850s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 850s # { 850s # } 850s # 850s # /** 850s # * org_project_bar_frobnicator_skeleton_new: 850s # * 850s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 850s # * 850s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 850s # */ 850s # OrgProjectBarFrobnicator * 850s # org_project_bar_frobnicator_skeleton_new (void) 850s # { 850s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 850s # } 850s # 850s # /* ------------------------------------------------------------------------ 850s # * Code for interface com.acme.Coyote 850s # * ------------------------------------------------------------------------ 850s # */ 850s # 850s # /** 850s # * SECTION:ComAcmeCoyote 850s # * @title: ComAcmeCoyote 850s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 850s # * 850s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 850s # */ 850s # 850s # enum 850s # { 850s # _COM_ACME_COYOTE_SURPRISED, 850s # }; 850s # 850s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 850s # 850s # /* ---- Introspection data for com.acme.Coyote ---- */ 850s # 850s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 850s # { 850s # { 850s # -1, 850s # (gchar *) "Run", 850s # NULL, 850s # NULL, 850s # NULL 850s # }, 850s # "handle-run", 850s # FALSE 850s # }; 850s # 850s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 850s # { 850s # { 850s # -1, 850s # (gchar *) "Sleep", 850s # NULL, 850s # NULL, 850s # NULL 850s # }, 850s # "handle-sleep", 850s # FALSE 850s # }; 850s # 850s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 850s # { 850s # { 850s # -1, 850s # (gchar *) "Attack", 850s # NULL, 850s # NULL, 850s # NULL 850s # }, 850s # "handle-attack", 850s # FALSE 850s # }; 850s # 850s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 850s # { 850s # &_com_acme_coyote_method_info_run.parent_struct, 850s # &_com_acme_coyote_method_info_sleep.parent_struct, 850s # &_com_acme_coyote_method_info_attack.parent_struct, 850s # NULL 850s # }; 850s # 850s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 850s # { 850s # { 850s # -1, 850s # (gchar *) "Surprised", 850s # NULL, 850s # NULL 850s # }, 850s # "surprised" 850s # }; 850s # 850s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 850s # { 850s # &_com_acme_coyote_signal_info_surprised.parent_struct, 850s # NULL 850s # }; 850s # 850s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 850s # { 850s # { 850s # -1, 850s # (gchar *) "Mood", 850s # (gchar *) "s", 850s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 850s # NULL 850s # }, 850s # "mood", 850s # FALSE, 850s # TRUE 850s # }; 850s # 850s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 850s # { 850s # &_com_acme_coyote_property_info_mood.parent_struct, 850s # NULL 850s # }; 850s # 850s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 850s # { 850s # { 850s # -1, 850s # (gchar *) "com.acme.Coyote", 850s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 850s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 850s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 850s # NULL 850s # }, 850s # "com-acme-coyote", 850s # }; 850s # 850s # 850s # /** 850s # * com_acme_coyote_interface_info: 850s # * 850s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 850s # * 850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 850s # */ 850s # GDBusInterfaceInfo * 850s # com_acme_coyote_interface_info (void) 850s # { 850s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_override_properties: 850s # * @klass: The class structure for a #GObject derived class. 850s # * @property_id_begin: The property id to assign to the first overridden property. 850s # * 850s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 850s # * The properties are overridden in the order they are defined. 850s # * 850s # * Returns: The last property id. 850s # */ 850s # guint 850s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 850s # { 850s # g_object_class_override_property (klass, property_id_begin++, "mood"); 850s # return property_id_begin - 1; 850s # } 850s # 850s # 850s # inline static void 850s # com_acme_coyote_signal_marshal_surprised ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint, 850s # void *marshal_data) 850s # { 850s # g_cclosure_marshal_VOID__VOID (closure, 850s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 850s # } 850s # 850s # inline static void 850s # com_acme_coyote_method_marshal_run ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint, 850s # void *marshal_data) 850s # { 850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 850s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 850s # } 850s # 850s # inline static void 850s # com_acme_coyote_method_marshal_sleep ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint, 850s # void *marshal_data) 850s # { 850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 850s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 850s # } 850s # 850s # inline static void 850s # com_acme_coyote_method_marshal_attack ( 850s # GClosure *closure, 850s # GValue *return_value, 850s # unsigned int n_param_values, 850s # const GValue *param_values, 850s # void *invocation_hint, 850s # void *marshal_data) 850s # { 850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 850s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 850s # } 850s # 850s # 850s # /** 850s # * ComAcmeCoyote: 850s # * 850s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 850s # */ 850s # 850s # /** 850s # * ComAcmeCoyoteIface: 850s # * @parent_iface: The parent interface. 850s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 850s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 850s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 850s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 850s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 850s # * 850s # * Virtual table for the D-Bus interface com.acme.Coyote. 850s # */ 850s # 850s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 850s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 850s # 850s # static void 850s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 850s # { 850s # /* GObject signals for incoming D-Bus method calls: */ 850s # /** 850s # * ComAcmeCoyote::handle-run: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: A #GDBusMethodInvocation. 850s # * 850s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 850s # * 850s # * 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. 850s # * 850s # * 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. 850s # */ 850s # g_signal_new ("handle-run", 850s # G_TYPE_FROM_INTERFACE (iface), 850s # G_SIGNAL_RUN_LAST, 850s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 850s # g_signal_accumulator_true_handled, 850s # NULL, 850s # com_acme_coyote_method_marshal_run, 850s # G_TYPE_BOOLEAN, 850s # 1, 850s # G_TYPE_DBUS_METHOD_INVOCATION); 850s # 850s # /** 850s # * ComAcmeCoyote::handle-sleep: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: A #GDBusMethodInvocation. 850s # * 850s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 850s # * 850s # * 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. 850s # * 850s # * 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. 850s # */ 850s # g_signal_new ("handle-sleep", 850s # G_TYPE_FROM_INTERFACE (iface), 850s # G_SIGNAL_RUN_LAST, 850s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 850s # g_signal_accumulator_true_handled, 850s # NULL, 850s # com_acme_coyote_method_marshal_sleep, 850s # G_TYPE_BOOLEAN, 850s # 1, 850s # G_TYPE_DBUS_METHOD_INVOCATION); 850s # 850s # /** 850s # * ComAcmeCoyote::handle-attack: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: A #GDBusMethodInvocation. 850s # * 850s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 850s # * 850s # * 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. 850s # * 850s # * 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. 850s # */ 850s # g_signal_new ("handle-attack", 850s # G_TYPE_FROM_INTERFACE (iface), 850s # G_SIGNAL_RUN_LAST, 850s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 850s # g_signal_accumulator_true_handled, 850s # NULL, 850s # com_acme_coyote_method_marshal_attack, 850s # G_TYPE_BOOLEAN, 850s # 1, 850s # G_TYPE_DBUS_METHOD_INVOCATION); 850s # 850s # /* GObject signals for received D-Bus signals: */ 850s # /** 850s # * ComAcmeCoyote::surprised: 850s # * @object: A #ComAcmeCoyote. 850s # * 850s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 850s # * 850s # * 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. 850s # */ 850s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 850s # g_signal_new ("surprised", 850s # G_TYPE_FROM_INTERFACE (iface), 850s # G_SIGNAL_RUN_LAST, 850s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 850s # NULL, 850s # NULL, 850s # com_acme_coyote_signal_marshal_surprised, 850s # G_TYPE_NONE, 850s # 0); 850s # 850s # /* GObject properties for D-Bus properties: */ 850s # /** 850s # * ComAcmeCoyote:mood: 850s # * 850s # * Represents the D-Bus property "Mood". 850s # * 850s # * 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. 850s # */ 850s # g_object_interface_install_property (iface, 850s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_get_mood: (skip) 850s # * @object: A #ComAcmeCoyote. 850s # * 850s # * Gets the value of the "Mood" D-Bus property. 850s # * 850s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 850s # * 850s # * 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. 850s # * 850s # * 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. 850s # */ 850s # const gchar * 850s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 850s # { 850s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 850s # 850s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_dup_mood: (skip) 850s # * @object: A #ComAcmeCoyote. 850s # * 850s # * Gets a copy of the "Mood" D-Bus property. 850s # * 850s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 850s # * 850s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 850s # */ 850s # gchar * 850s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 850s # { 850s # gchar *value; 850s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 850s # return value; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_set_mood: (skip) 850s # * @object: A #ComAcmeCoyote. 850s # * @value: The value to set. 850s # * 850s # * Sets the "Mood" D-Bus property to @value. 850s # * 850s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 850s # */ 850s # void 850s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 850s # { 850s # g_object_set (G_OBJECT (object), "mood", value, NULL); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_emit_surprised: 850s # * @object: A #ComAcmeCoyote. 850s # * 850s # * Emits the "Surprised" D-Bus signal. 850s # */ 850s # void 850s # com_acme_coyote_emit_surprised ( 850s # ComAcmeCoyote *object) 850s # { 850s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_run: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously invokes the Run() D-Bus method on @proxy. 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 850s # * 850s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 850s # */ 850s # void 850s # com_acme_coyote_call_run ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 850s # "Run", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # callback, 850s # user_data); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_run_finish: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Finishes an operation started with com_acme_coyote_call_run(). 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_run_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_run_sync: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 850s # * 850s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_run_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 850s # "Run", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_sleep: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 850s # * 850s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 850s # */ 850s # void 850s # com_acme_coyote_call_sleep ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 850s # "Sleep", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # callback, 850s # user_data); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_sleep_finish: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Finishes an operation started with com_acme_coyote_call_sleep(). 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_sleep_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_sleep_sync: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 850s # * 850s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_sleep_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 850s # "Sleep", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_attack: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 850s # * 850s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 850s # */ 850s # void 850s # com_acme_coyote_call_attack ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 850s # "Attack", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # callback, 850s # user_data); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_attack_finish: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Finishes an operation started with com_acme_coyote_call_attack(). 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_attack_finish ( 850s # ComAcmeCoyote *proxy, 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_call_attack_sync: 850s # * @proxy: A #ComAcmeCoyoteProxy. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL. 850s # * 850s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 850s # * 850s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 850s # * 850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 850s # */ 850s # gboolean 850s # com_acme_coyote_call_attack_sync ( 850s # ComAcmeCoyote *proxy, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GVariant *_ret; 850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 850s # "Attack", 850s # g_variant_new ("()"), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # cancellable, 850s # error); 850s # if (_ret == NULL) 850s # goto _out; 850s # g_variant_get (_ret, 850s # "()"); 850s # g_variant_unref (_ret); 850s # _out: 850s # return _ret != NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_complete_run: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: (transfer full): A #GDBusMethodInvocation. 850s # * 850s # * 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. 850s # * 850s # * This method will free @invocation, you cannot use it afterwards. 850s # */ 850s # void 850s # com_acme_coyote_complete_run ( 850s # ComAcmeCoyote *object G_GNUC_UNUSED, 850s # GDBusMethodInvocation *invocation) 850s # { 850s # g_dbus_method_invocation_return_value (invocation, 850s # g_variant_new ("()")); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_complete_sleep: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: (transfer full): A #GDBusMethodInvocation. 850s # * 850s # * 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. 850s # * 850s # * This method will free @invocation, you cannot use it afterwards. 850s # */ 850s # void 850s # com_acme_coyote_complete_sleep ( 850s # ComAcmeCoyote *object G_GNUC_UNUSED, 850s # GDBusMethodInvocation *invocation) 850s # { 850s # g_dbus_method_invocation_return_value (invocation, 850s # g_variant_new ("()")); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_complete_attack: 850s # * @object: A #ComAcmeCoyote. 850s # * @invocation: (transfer full): A #GDBusMethodInvocation. 850s # * 850s # * 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. 850s # * 850s # * This method will free @invocation, you cannot use it afterwards. 850s # */ 850s # void 850s # com_acme_coyote_complete_attack ( 850s # ComAcmeCoyote *object G_GNUC_UNUSED, 850s # GDBusMethodInvocation *invocation) 850s # { 850s # g_dbus_method_invocation_return_value (invocation, 850s # g_variant_new ("()")); 850s # } 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # 850s # /** 850s # * ComAcmeCoyoteProxy: 850s # * 850s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 850s # */ 850s # 850s # /** 850s # * ComAcmeCoyoteProxyClass: 850s # * @parent_class: The parent class. 850s # * 850s # * Class structure for #ComAcmeCoyoteProxy. 850s # */ 850s # 850s # struct _ComAcmeCoyoteProxyPrivate 850s # { 850s # GData *qdata; 850s # }; 850s # 850s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 850s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 850s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 850s # 850s # #else 850s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 850s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 850s # 850s # #endif 850s # static void 850s # com_acme_coyote_proxy_finalize (GObject *object) 850s # { 850s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 850s # g_datalist_clear (&proxy->priv->qdata); 850s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_get_property (GObject *object, 850s # guint prop_id, 850s # GValue *value, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # const _ExtendedGDBusPropertyInfo *info; 850s # GVariant *variant; 850s # g_assert (prop_id != 0 && prop_id - 1 < 1); 850s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 850s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 850s # if (info->use_gvariant) 850s # { 850s # g_value_set_variant (value, variant); 850s # } 850s # else 850s # { 850s # if (variant != NULL) 850s # g_dbus_gvariant_to_gvalue (variant, value); 850s # } 850s # if (variant != NULL) 850s # g_variant_unref (variant); 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 850s # GAsyncResult *res, 850s # gpointer user_data) 850s # { 850s # const _ExtendedGDBusPropertyInfo *info = user_data; 850s # GError *error; 850s # GVariant *_ret; 850s # error = NULL; 850s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 850s # if (!_ret) 850s # { 850s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 850s # info->parent_struct.name, 850s # error->message, g_quark_to_string (error->domain), error->code); 850s # g_error_free (error); 850s # } 850s # else 850s # { 850s # g_variant_unref (_ret); 850s # } 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_set_property (GObject *object, 850s # guint prop_id, 850s # const GValue *value, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # const _ExtendedGDBusPropertyInfo *info; 850s # GVariant *variant; 850s # g_assert (prop_id != 0 && prop_id - 1 < 1); 850s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 850s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 850s # g_dbus_proxy_call (G_DBUS_PROXY (object), 850s # "org.freedesktop.DBus.Properties.Set", 850s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 850s # G_DBUS_CALL_FLAGS_NONE, 850s # -1, 850s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 850s # g_variant_unref (variant); 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 850s # const gchar *sender_name G_GNUC_UNUSED, 850s # const gchar *signal_name, 850s # GVariant *parameters) 850s # { 850s # _ExtendedGDBusSignalInfo *info; 850s # GVariantIter iter; 850s # GVariant *child; 850s # GValue *paramv; 850s # gsize num_params; 850s # gsize n; 850s # guint signal_id; 850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 850s # if (info == NULL) 850s # return; 850s # num_params = g_variant_n_children (parameters); 850s # paramv = g_new0 (GValue, num_params + 1); 850s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 850s # g_value_set_object (¶mv[0], proxy); 850s # g_variant_iter_init (&iter, parameters); 850s # n = 1; 850s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 850s # { 850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 850s # if (arg_info->use_gvariant) 850s # { 850s # g_value_init (¶mv[n], G_TYPE_VARIANT); 850s # g_value_set_variant (¶mv[n], child); 850s # n++; 850s # } 850s # else 850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 850s # g_variant_unref (child); 850s # } 850s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 850s # g_signal_emitv (paramv, signal_id, 0, NULL); 850s # for (n = 0; n < num_params + 1; n++) 850s # g_value_unset (¶mv[n]); 850s # g_free (paramv); 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 850s # GVariant *changed_properties, 850s # const gchar *const *invalidated_properties) 850s # { 850s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 850s # guint n; 850s # const gchar *key; 850s # GVariantIter *iter; 850s # _ExtendedGDBusPropertyInfo *info; 850s # g_variant_get (changed_properties, "a{sv}", &iter); 850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 850s # { 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 850s # g_datalist_remove_data (&proxy->priv->qdata, key); 850s # if (info != NULL) 850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 850s # } 850s # g_variant_iter_free (iter); 850s # for (n = 0; invalidated_properties[n] != NULL; n++) 850s # { 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 850s # if (info != NULL) 850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 850s # } 850s # } 850s # 850s # static const gchar * 850s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 850s # { 850s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 850s # GVariant *variant; 850s # const gchar *value = NULL; 850s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 850s # if (variant != NULL) 850s # { 850s # value = g_variant_get_string (variant, NULL); 850s # g_variant_unref (variant); 850s # } 850s # return value; 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 850s # { 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 850s # #else 850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 850s # #endif 850s # 850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 850s # { 850s # GObjectClass *gobject_class; 850s # GDBusProxyClass *proxy_class; 850s # 850s # gobject_class = G_OBJECT_CLASS (klass); 850s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 850s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 850s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 850s # 850s # proxy_class = G_DBUS_PROXY_CLASS (klass); 850s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 850s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 850s # 850s # com_acme_coyote_override_properties (gobject_class, 1); 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 850s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 850s # #endif 850s # } 850s # 850s # static void 850s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 850s # { 850s # iface->get_mood = com_acme_coyote_proxy_get_mood; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_proxy_new: 850s # * @connection: A #GDBusConnection. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 850s # * 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 850s # * 850s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 850s # */ 850s # void 850s # com_acme_coyote_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # 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); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_proxy_new_finish: 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 850s # * @error: Return location for error or %NULL 850s # * 850s # * Finishes an operation started with com_acme_coyote_proxy_new(). 850s # * 850s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # ComAcmeCoyote * 850s # com_acme_coyote_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GObject *ret; 850s # GObject *source_object; 850s # source_object = g_async_result_get_source_object (res); 850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 850s # g_object_unref (source_object); 850s # if (ret != NULL) 850s # return COM_ACME_COYOTE (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_proxy_new_sync: 850s # * @connection: A #GDBusConnection. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL 850s # * 850s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 850s # * 850s # * The calling thread is blocked until a reply is received. 850s # * 850s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 850s # * 850s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # ComAcmeCoyote * 850s # com_acme_coyote_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GInitable *ret; 850s # 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); 850s # if (ret != NULL) 850s # return COM_ACME_COYOTE (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # 850s # /** 850s # * com_acme_coyote_proxy_new_for_bus: 850s # * @bus_type: A #GBusType. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: A bus name (well-known or unique). 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 850s # * @user_data: User data to pass to @callback. 850s # * 850s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 850s # * 850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 850s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 850s # * 850s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 850s # */ 850s # void 850s # com_acme_coyote_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data) 850s # { 850s # 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); 850s # } 850s # 850s # /** 850s # * com_acme_coyote_proxy_new_for_bus_finish: 850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 850s # * @error: Return location for error or %NULL 850s # * 850s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 850s # * 850s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # ComAcmeCoyote * 850s # com_acme_coyote_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error) 850s # { 850s # GObject *ret; 850s # GObject *source_object; 850s # source_object = g_async_result_get_source_object (res); 850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 850s # g_object_unref (source_object); 850s # if (ret != NULL) 850s # return COM_ACME_COYOTE (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_proxy_new_for_bus_sync: 850s # * @bus_type: A #GBusType. 850s # * @flags: Flags from the #GDBusProxyFlags enumeration. 850s # * @name: A bus name (well-known or unique). 850s # * @object_path: An object path. 850s # * @cancellable: (nullable): A #GCancellable or %NULL. 850s # * @error: Return location for error or %NULL 850s # * 850s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 850s # * 850s # * The calling thread is blocked until a reply is received. 850s # * 850s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 850s # * 850s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 850s # */ 850s # ComAcmeCoyote * 850s # com_acme_coyote_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error) 850s # { 850s # GInitable *ret; 850s # 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); 850s # if (ret != NULL) 850s # return COM_ACME_COYOTE (ret); 850s # else 850s # return NULL; 850s # } 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # 850s # /** 850s # * ComAcmeCoyoteSkeleton: 850s # * 850s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 850s # */ 850s # 850s # /** 850s # * ComAcmeCoyoteSkeletonClass: 850s # * @parent_class: The parent class. 850s # * 850s # * Class structure for #ComAcmeCoyoteSkeleton. 850s # */ 850s # 850s # struct _ComAcmeCoyoteSkeletonPrivate 850s # { 850s # GValue *properties; 850s # GList *changed_properties; 850s # GSource *changed_properties_idle_source; 850s # GMainContext *context; 850s # GMutex lock; 850s # }; 850s # 850s # static void 850s # _com_acme_coyote_skeleton_handle_method_call ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name, 850s # const gchar *method_name, 850s # GVariant *parameters, 850s # GDBusMethodInvocation *invocation, 850s # gpointer user_data) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 850s # _ExtendedGDBusMethodInfo *info; 850s # GVariantIter iter; 850s # GVariant *child; 850s # GValue *paramv; 850s # gsize num_params; 850s # guint num_extra; 850s # gsize n; 850s # guint signal_id; 850s # GValue return_value = G_VALUE_INIT; 850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 850s # g_assert (info != NULL); 850s # num_params = g_variant_n_children (parameters); 850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 850s # n = 0; 850s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 850s # g_value_set_object (¶mv[n++], skeleton); 850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 850s # g_value_set_object (¶mv[n++], invocation); 850s # if (info->pass_fdlist) 850s # { 850s # #ifdef G_OS_UNIX 850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 850s # #else 850s # g_assert_not_reached (); 850s # #endif 850s # } 850s # g_variant_iter_init (&iter, parameters); 850s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 850s # { 850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 850s # if (arg_info->use_gvariant) 850s # { 850s # g_value_init (¶mv[n], G_TYPE_VARIANT); 850s # g_value_set_variant (¶mv[n], child); 850s # n++; 850s # } 850s # else 850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 850s # g_variant_unref (child); 850s # } 850s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 850s # g_value_init (&return_value, G_TYPE_BOOLEAN); 850s # g_signal_emitv (paramv, signal_id, 0, &return_value); 850s # if (!g_value_get_boolean (&return_value)) 850s # 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); 850s # g_value_unset (&return_value); 850s # for (n = 0; n < num_params + num_extra; n++) 850s # g_value_unset (¶mv[n]); 850s # g_free (paramv); 850s # } 850s # 850s # static GVariant * 850s # _com_acme_coyote_skeleton_handle_get_property ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name G_GNUC_UNUSED, 850s # const gchar *property_name, 850s # GError **error, 850s # gpointer user_data) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 850s # GValue value = G_VALUE_INIT; 850s # GParamSpec *pspec; 850s # _ExtendedGDBusPropertyInfo *info; 850s # GVariant *ret; 850s # ret = NULL; 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 850s # g_assert (info != NULL); 850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 850s # if (pspec == NULL) 850s # { 850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 850s # } 850s # else 850s # { 850s # g_value_init (&value, pspec->value_type); 850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 850s # g_value_unset (&value); 850s # } 850s # return ret; 850s # } 850s # 850s # static gboolean 850s # _com_acme_coyote_skeleton_handle_set_property ( 850s # GDBusConnection *connection G_GNUC_UNUSED, 850s # const gchar *sender G_GNUC_UNUSED, 850s # const gchar *object_path G_GNUC_UNUSED, 850s # const gchar *interface_name G_GNUC_UNUSED, 850s # const gchar *property_name, 850s # GVariant *variant, 850s # GError **error, 850s # gpointer user_data) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 850s # GValue value = G_VALUE_INIT; 850s # GParamSpec *pspec; 850s # _ExtendedGDBusPropertyInfo *info; 850s # gboolean ret; 850s # ret = FALSE; 850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 850s # g_assert (info != NULL); 850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 850s # if (pspec == NULL) 850s # { 850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 850s # } 850s # else 850s # { 850s # if (info->use_gvariant) 850s # g_value_set_variant (&value, variant); 850s # else 850s # g_dbus_gvariant_to_gvalue (variant, &value); 850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 850s # g_value_unset (&value); 850s # ret = TRUE; 850s # } 850s # return ret; 850s # } 850s # 850s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 850s # { 850s # _com_acme_coyote_skeleton_handle_method_call, 850s # _com_acme_coyote_skeleton_handle_get_property, 850s # _com_acme_coyote_skeleton_handle_set_property, 850s # {NULL} 850s # }; 850s # 850s # static GDBusInterfaceInfo * 850s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 850s # { 850s # return com_acme_coyote_interface_info (); 850s # } 850s # 850s # static GDBusInterfaceVTable * 850s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 850s # { 850s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 850s # } 850s # 850s # static GVariant * 850s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 850s # 850s # GVariantBuilder builder; 850s # guint n; 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 850s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 850s # #else 850s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 850s # #endif 850s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 850s # goto out; 850s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 850s # { 850s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 850s # { 850s # GVariant *value; 850s # 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); 850s # if (value != NULL) 850s # { 850s # g_variant_take_ref (value); 850s # g_variant_builder_add (&builder, "{sv}", info->name, value); 850s # g_variant_unref (value); 850s # } 850s # } 850s # } 850s # out: 850s # return g_variant_builder_end (&builder); 850s # } 850s # 850s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 850s # 850s # static void 850s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 850s # gboolean emit_changed = FALSE; 850s # 850s # g_mutex_lock (&skeleton->priv->lock); 850s # if (skeleton->priv->changed_properties_idle_source != NULL) 850s # { 850s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 850s # skeleton->priv->changed_properties_idle_source = NULL; 850s # emit_changed = TRUE; 850s # } 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # 850s # if (emit_changed) 850s # _com_acme_coyote_emit_changed (skeleton); 850s # } 850s # 850s # static void 850s # _com_acme_coyote_on_signal_surprised ( 850s # ComAcmeCoyote *object) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # 850s # GList *connections, *l; 850s # GVariant *signal_variant; 850s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 850s # 850s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 850s # for (l = connections; l != NULL; l = l->next) 850s # { 850s # GDBusConnection *connection = l->data; 850s # g_dbus_connection_emit_signal (connection, 850s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 850s # signal_variant, NULL); 850s # } 850s # g_variant_unref (signal_variant); 850s # g_list_free_full (connections, g_object_unref); 850s # } 850s # 850s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 850s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 850s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 850s # 850s # #else 850s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 850s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 850s # 850s # #endif 850s # static void 850s # com_acme_coyote_skeleton_finalize (GObject *object) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # guint n; 850s # for (n = 0; n < 1; n++) 850s # g_value_unset (&skeleton->priv->properties[n]); 850s # g_free (skeleton->priv->properties); 850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 850s # if (skeleton->priv->changed_properties_idle_source != NULL) 850s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 850s # g_main_context_unref (skeleton->priv->context); 850s # g_mutex_clear (&skeleton->priv->lock); 850s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_get_property (GObject *object, 850s # guint prop_id, 850s # GValue *value, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # g_assert (prop_id != 0 && prop_id - 1 < 1); 850s # g_mutex_lock (&skeleton->priv->lock); 850s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # } 850s # 850s # static gboolean 850s # _com_acme_coyote_emit_changed (gpointer user_data) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 850s # GList *l; 850s # GVariantBuilder builder; 850s # GVariantBuilder invalidated_builder; 850s # guint num_changes; 850s # 850s # g_mutex_lock (&skeleton->priv->lock); 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 850s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 850s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 850s # #else 850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 850s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 850s # #endif 850s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 850s # { 850s # ChangedProperty *cp = l->data; 850s # GVariant *variant; 850s # const GValue *cur_value; 850s # 850s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 850s # if (!_g_value_equal (cur_value, &cp->orig_value)) 850s # { 850s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 850s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 850s # g_variant_unref (variant); 850s # num_changes++; 850s # } 850s # } 850s # if (num_changes > 0) 850s # { 850s # GList *connections, *ll; 850s # GVariant *signal_variant; 850s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 850s # &builder, &invalidated_builder)); 850s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 850s # for (ll = connections; ll != NULL; ll = ll->next) 850s # { 850s # GDBusConnection *connection = ll->data; 850s # 850s # g_dbus_connection_emit_signal (connection, 850s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 850s # "org.freedesktop.DBus.Properties", 850s # "PropertiesChanged", 850s # signal_variant, 850s # NULL); 850s # } 850s # g_variant_unref (signal_variant); 850s # g_list_free_full (connections, g_object_unref); 850s # } 850s # else 850s # { 850s # g_variant_builder_clear (&builder); 850s # g_variant_builder_clear (&invalidated_builder); 850s # } 850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 850s # skeleton->priv->changed_properties = NULL; 850s # skeleton->priv->changed_properties_idle_source = NULL; 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # return FALSE; 850s # } 850s # 850s # static void 850s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 850s # { 850s # ChangedProperty *cp; 850s # GList *l; 850s # cp = NULL; 850s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 850s # { 850s # ChangedProperty *i_cp = l->data; 850s # if (i_cp->info == info) 850s # { 850s # cp = i_cp; 850s # break; 850s # } 850s # } 850s # if (cp == NULL) 850s # { 850s # cp = g_new0 (ChangedProperty, 1); 850s # cp->prop_id = prop_id; 850s # cp->info = info; 850s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 850s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 850s # g_value_copy (orig_value, &cp->orig_value); 850s # } 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_notify (GObject *object, 850s # GParamSpec *pspec G_GNUC_UNUSED) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # g_mutex_lock (&skeleton->priv->lock); 850s # if (skeleton->priv->changed_properties != NULL && 850s # skeleton->priv->changed_properties_idle_source == NULL) 850s # { 850s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 850s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 850s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 850s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 850s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 850s # g_source_unref (skeleton->priv->changed_properties_idle_source); 850s # } 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_set_property (GObject *object, 850s # guint prop_id, 850s # const GValue *value, 850s # GParamSpec *pspec) 850s # { 850s # const _ExtendedGDBusPropertyInfo *info; 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # g_assert (prop_id != 0 && prop_id - 1 < 1); 850s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 850s # g_mutex_lock (&skeleton->priv->lock); 850s # g_object_freeze_notify (object); 850s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 850s # { 850s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 850s # info->emits_changed_signal) 850s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 850s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 850s # g_object_notify_by_pspec (object, pspec); 850s # } 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # g_object_thaw_notify (object); 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 850s # { 850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 850s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 850s # #else 850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 850s # #endif 850s # 850s # g_mutex_init (&skeleton->priv->lock); 850s # skeleton->priv->context = g_main_context_ref_thread_default (); 850s # skeleton->priv->properties = g_new0 (GValue, 1); 850s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 850s # } 850s # 850s # static const gchar * 850s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 850s # { 850s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 850s # const gchar *value; 850s # g_mutex_lock (&skeleton->priv->lock); 850s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 850s # g_mutex_unlock (&skeleton->priv->lock); 850s # return value; 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 850s # { 850s # GObjectClass *gobject_class; 850s # GDBusInterfaceSkeletonClass *skeleton_class; 850s # 850s # gobject_class = G_OBJECT_CLASS (klass); 850s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 850s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 850s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 850s # gobject_class->notify = com_acme_coyote_skeleton_notify; 850s # 850s # 850s # com_acme_coyote_override_properties (gobject_class, 1); 850s # 850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 850s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 850s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 850s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 850s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 850s # 850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 850s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 850s # #endif 850s # } 850s # 850s # static void 850s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 850s # { 850s # iface->surprised = _com_acme_coyote_on_signal_surprised; 850s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 850s # } 850s # 850s # /** 850s # * com_acme_coyote_skeleton_new: 850s # * 850s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 850s # * 850s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 850s # */ 850s # ComAcmeCoyote * 850s # com_acme_coyote_skeleton_new (void) 850s # { 850s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 850s # } 850s # Error: 850s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 850s # gdbus-codegen: /usr/bin/gdbus-codegen 850s # tmpdir: /tmp/tmpkm4xtxae 850s # /tmp/tmpkm4xtxae/tmppif2n66y.xml: 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkm4xtxae/tmppif2n66y.xml', '--output', '-', '--header'] 850s # Return code: 0 850s # Output: 850s # /* 850s # * This file is generated by gdbus-codegen, do not modify it. 850s # * 850s # * The license of this code is the same as for the D-Bus interface description 850s # * it was derived from. Note that it links to GLib, so must comply with the 850s # * LGPL linking clauses. 850s # */ 850s # 850s # #ifndef __STDOUT__ 850s # #define __STDOUT__ 850s # 850s # #include 850s # 850s # G_BEGIN_DECLS 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # /* Declarations for FDPassing */ 850s # 850s # #define TYPE_FDPASSING (fdpassing_get_type ()) 850s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 850s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 850s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 850s # 850s # struct _FDPassing; 850s # typedef struct _FDPassing FDPassing; 850s # typedef struct _FDPassingIface FDPassingIface; 850s # 850s # struct _FDPassingIface 850s # { 850s # GTypeInterface parent_iface; 850s # 850s # gboolean (*handle_hello_fd) ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GUnixFDList *fd_list, 850s # const gchar *arg_greeting); 850s # 850s # gboolean (*handle_no_annotation) ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GVariant *arg_greeting, 850s # const gchar *arg_greeting_locale); 850s # 850s # gboolean (*handle_no_annotation_nested) ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GVariant *arg_files); 850s # 850s # }; 850s # 850s # GType fdpassing_get_type (void) G_GNUC_CONST; 850s # 850s # GDBusInterfaceInfo *fdpassing_interface_info (void); 850s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 850s # 850s # 850s # /* D-Bus method call completion functions: */ 850s # void fdpassing_complete_hello_fd ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GUnixFDList *fd_list, 850s # const gchar *response); 850s # 850s # void fdpassing_complete_no_annotation ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GVariant *response, 850s # const gchar *response_locale); 850s # 850s # void fdpassing_complete_no_annotation_nested ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # 850s # 850s # /* D-Bus method calls: */ 850s # void fdpassing_call_hello_fd ( 850s # FDPassing *proxy, 850s # const gchar *arg_greeting, 850s # GUnixFDList *fd_list, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean fdpassing_call_hello_fd_finish ( 850s # FDPassing *proxy, 850s # gchar **out_response, 850s # GUnixFDList **out_fd_list, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean fdpassing_call_hello_fd_sync ( 850s # FDPassing *proxy, 850s # const gchar *arg_greeting, 850s # GUnixFDList *fd_list, 850s # gchar **out_response, 850s # GUnixFDList **out_fd_list, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void fdpassing_call_no_annotation ( 850s # FDPassing *proxy, 850s # GVariant *arg_greeting, 850s # const gchar *arg_greeting_locale, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean fdpassing_call_no_annotation_finish ( 850s # FDPassing *proxy, 850s # GVariant **out_response, 850s # gchar **out_response_locale, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean fdpassing_call_no_annotation_sync ( 850s # FDPassing *proxy, 850s # GVariant *arg_greeting, 850s # const gchar *arg_greeting_locale, 850s # GVariant **out_response, 850s # gchar **out_response_locale, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void fdpassing_call_no_annotation_nested ( 850s # FDPassing *proxy, 850s # GVariant *arg_files, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean fdpassing_call_no_annotation_nested_finish ( 850s # FDPassing *proxy, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean fdpassing_call_no_annotation_nested_sync ( 850s # FDPassing *proxy, 850s # GVariant *arg_files, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 850s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 850s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 850s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 850s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 850s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 850s # 850s # typedef struct _FDPassingProxy FDPassingProxy; 850s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 850s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 850s # 850s # struct _FDPassingProxy 850s # { 850s # /*< private >*/ 850s # GDBusProxy parent_instance; 850s # FDPassingProxyPrivate *priv; 850s # }; 850s # 850s # struct _FDPassingProxyClass 850s # { 850s # GDBusProxyClass parent_class; 850s # }; 850s # 850s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 850s # #endif 850s # 850s # void fdpassing_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # FDPassing *fdpassing_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # FDPassing *fdpassing_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void fdpassing_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 850s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 850s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 850s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 850s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 850s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 850s # 850s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 850s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 850s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 850s # 850s # struct _FDPassingSkeleton 850s # { 850s # /*< private >*/ 850s # GDBusInterfaceSkeleton parent_instance; 850s # FDPassingSkeletonPrivate *priv; 850s # }; 850s # 850s # struct _FDPassingSkeletonClass 850s # { 850s # GDBusInterfaceSkeletonClass parent_class; 850s # }; 850s # 850s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 850s # #endif 850s # 850s # FDPassing *fdpassing_skeleton_new (void); 850s # 850s # 850s # G_END_DECLS 850s # 850s # #endif /* __STDOUT__ */ 850s # Error: 850s # 850s # /tmp/tmpkm4xtxae/tmp9xxnemkw.xml: 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkm4xtxae/tmp9xxnemkw.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 850s # Return code: 0 850s # Output: 850s # /* 850s # * This file is generated by gdbus-codegen, do not modify it. 850s # * 850s # * The license of this code is the same as for the D-Bus interface description 850s # * it was derived from. Note that it links to GLib, so must comply with the 850s # * LGPL linking clauses. 850s # */ 850s # 850s # #ifndef __STDOUT__ 850s # #define __STDOUT__ 850s # 850s # #include 850s # 850s # G_BEGIN_DECLS 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # /* Declarations for FDPassing */ 850s # 850s # #define TYPE_FDPASSING (fdpassing_get_type ()) 850s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 850s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 850s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 850s # 850s # struct _FDPassing; 850s # typedef struct _FDPassing FDPassing; 850s # typedef struct _FDPassingIface FDPassingIface; 850s # 850s # struct _FDPassingIface 850s # { 850s # GTypeInterface parent_iface; 850s # 850s # gboolean (*handle_hello_fd) ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GUnixFDList *fd_list, 850s # const gchar *arg_greeting); 850s # 850s # gboolean (*handle_no_annotation) ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GVariant *arg_greeting, 850s # const gchar *arg_greeting_locale); 850s # 850s # gboolean (*handle_no_annotation_nested) ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GVariant *arg_files); 850s # 850s # }; 850s # 850s # GType fdpassing_get_type (void) G_GNUC_CONST; 850s # 850s # GDBusInterfaceInfo *fdpassing_interface_info (void); 850s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 850s # 850s # 850s # /* D-Bus method call completion functions: */ 850s # void fdpassing_complete_hello_fd ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GUnixFDList *fd_list, 850s # const gchar *response); 850s # 850s # void fdpassing_complete_no_annotation ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GVariant *response, 850s # const gchar *response_locale); 850s # 850s # void fdpassing_complete_no_annotation_nested ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation); 850s # 850s # 850s # 850s # /* D-Bus method calls: */ 850s # void fdpassing_call_hello_fd ( 850s # FDPassing *proxy, 850s # const gchar *arg_greeting, 850s # GUnixFDList *fd_list, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean fdpassing_call_hello_fd_finish ( 850s # FDPassing *proxy, 850s # gchar **out_response, 850s # GUnixFDList **out_fd_list, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean fdpassing_call_hello_fd_sync ( 850s # FDPassing *proxy, 850s # const gchar *arg_greeting, 850s # GUnixFDList *fd_list, 850s # gchar **out_response, 850s # GUnixFDList **out_fd_list, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void fdpassing_call_no_annotation ( 850s # FDPassing *proxy, 850s # GVariant *arg_greeting, 850s # const gchar *arg_greeting_locale, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean fdpassing_call_no_annotation_finish ( 850s # FDPassing *proxy, 850s # GVariant **out_response, 850s # gchar **out_response_locale, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean fdpassing_call_no_annotation_sync ( 850s # FDPassing *proxy, 850s # GVariant *arg_greeting, 850s # const gchar *arg_greeting_locale, 850s # GVariant **out_response, 850s # gchar **out_response_locale, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void fdpassing_call_no_annotation_nested ( 850s # FDPassing *proxy, 850s # GVariant *arg_files, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean fdpassing_call_no_annotation_nested_finish ( 850s # FDPassing *proxy, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean fdpassing_call_no_annotation_nested_sync ( 850s # FDPassing *proxy, 850s # GVariant *arg_files, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 850s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 850s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 850s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 850s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 850s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 850s # 850s # typedef struct _FDPassingProxy FDPassingProxy; 850s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 850s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 850s # 850s # struct _FDPassingProxy 850s # { 850s # /*< private >*/ 850s # GDBusProxy parent_instance; 850s # FDPassingProxyPrivate *priv; 850s # }; 850s # 850s # struct _FDPassingProxyClass 850s # { 850s # GDBusProxyClass parent_class; 850s # }; 850s # 850s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 850s # #endif 850s # 850s # void fdpassing_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # FDPassing *fdpassing_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # FDPassing *fdpassing_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void fdpassing_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 850s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 850s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 850s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 850s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 850s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 850s # 850s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 850s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 850s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 850s # 850s # struct _FDPassingSkeleton 850s # { 850s # /*< private >*/ 850s # GDBusInterfaceSkeleton parent_instance; 850s # FDPassingSkeletonPrivate *priv; 850s # }; 850s # 850s # struct _FDPassingSkeletonClass 850s # { 850s # GDBusInterfaceSkeletonClass parent_class; 850s # }; 850s # 850s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 850s # #endif 850s # 850s # FDPassing *fdpassing_skeleton_new (void); 850s # 850s # 850s # G_END_DECLS 850s # 850s # #endif /* __STDOUT__ */ 850s # Error: 850s # 850s # /tmp/tmpkm4xtxae/tmpo3ub1za8.xml: 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # 850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkm4xtxae/tmpo3ub1za8.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 850s # Return code: 0 850s # Output: 850s # /* 850s # * This file is generated by gdbus-codegen, do not modify it. 850s # * 850s # * The license of this code is the same as for the D-Bus interface description 850s # * it was derived from. Note that it links to GLib, so must comply with the 850s # * LGPL linking clauses. 850s # */ 850s # 850s # #ifndef __STDOUT__ 850s # #define __STDOUT__ 850s # 850s # #include 850s # 850s # G_BEGIN_DECLS 850s # 850s # 850s # /* ------------------------------------------------------------------------ */ 850s # /* Declarations for FDPassing */ 850s # 850s # #define TYPE_FDPASSING (fdpassing_get_type ()) 850s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 850s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 850s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 850s # 850s # struct _FDPassing; 850s # typedef struct _FDPassing FDPassing; 850s # typedef struct _FDPassingIface FDPassingIface; 850s # 850s # struct _FDPassingIface 850s # { 850s # GTypeInterface parent_iface; 850s # 850s # gboolean (*handle_hello_fd) ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GUnixFDList *fd_list, 850s # const gchar *arg_greeting); 850s # 850s # gboolean (*handle_no_annotation) ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GUnixFDList *fd_list, 850s # GVariant *arg_greeting, 850s # const gchar *arg_greeting_locale); 850s # 850s # gboolean (*handle_no_annotation_nested) ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GUnixFDList *fd_list, 850s # GVariant *arg_files); 850s # 850s # }; 850s # 850s # GType fdpassing_get_type (void) G_GNUC_CONST; 850s # 850s # GDBusInterfaceInfo *fdpassing_interface_info (void); 850s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 850s # 850s # 850s # /* D-Bus method call completion functions: */ 850s # void fdpassing_complete_hello_fd ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GUnixFDList *fd_list, 850s # const gchar *response); 850s # 850s # void fdpassing_complete_no_annotation ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GUnixFDList *fd_list, 850s # GVariant *response, 850s # const gchar *response_locale); 850s # 850s # void fdpassing_complete_no_annotation_nested ( 850s # FDPassing *object, 850s # GDBusMethodInvocation *invocation, 850s # GUnixFDList *fd_list); 850s # 850s # 850s # 850s # /* D-Bus method calls: */ 850s # void fdpassing_call_hello_fd ( 850s # FDPassing *proxy, 850s # const gchar *arg_greeting, 850s # GDBusCallFlags call_flags, 850s # gint timeout_msec, 850s # GUnixFDList *fd_list, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean fdpassing_call_hello_fd_finish ( 850s # FDPassing *proxy, 850s # gchar **out_response, 850s # GUnixFDList **out_fd_list, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean fdpassing_call_hello_fd_sync ( 850s # FDPassing *proxy, 850s # const gchar *arg_greeting, 850s # GDBusCallFlags call_flags, 850s # gint timeout_msec, 850s # GUnixFDList *fd_list, 850s # gchar **out_response, 850s # GUnixFDList **out_fd_list, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void fdpassing_call_no_annotation ( 850s # FDPassing *proxy, 850s # GVariant *arg_greeting, 850s # const gchar *arg_greeting_locale, 850s # GDBusCallFlags call_flags, 850s # gint timeout_msec, 850s # GUnixFDList *fd_list, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean fdpassing_call_no_annotation_finish ( 850s # FDPassing *proxy, 850s # GVariant **out_response, 850s # gchar **out_response_locale, 850s # GUnixFDList **out_fd_list, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean fdpassing_call_no_annotation_sync ( 850s # FDPassing *proxy, 850s # GVariant *arg_greeting, 850s # const gchar *arg_greeting_locale, 850s # GDBusCallFlags call_flags, 850s # gint timeout_msec, 850s # GUnixFDList *fd_list, 850s # GVariant **out_response, 850s # gchar **out_response_locale, 850s # GUnixFDList **out_fd_list, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void fdpassing_call_no_annotation_nested ( 850s # FDPassing *proxy, 850s # GVariant *arg_files, 850s # GDBusCallFlags call_flags, 850s # gint timeout_msec, 850s # GUnixFDList *fd_list, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # 850s # gboolean fdpassing_call_no_annotation_nested_finish ( 850s # FDPassing *proxy, 850s # GUnixFDList **out_fd_list, 850s # GAsyncResult *res, 850s # GError **error); 850s # 850s # gboolean fdpassing_call_no_annotation_nested_sync ( 850s # FDPassing *proxy, 850s # GVariant *arg_files, 850s # GDBusCallFlags call_flags, 850s # gint timeout_msec, 850s # GUnixFDList *fd_list, 850s # GUnixFDList **out_fd_list, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 850s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 850s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 850s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 850s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 850s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 850s # 850s # typedef struct _FDPassingProxy FDPassingProxy; 850s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 850s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 850s # 850s # struct _FDPassingProxy 850s # { 850s # /*< private >*/ 850s # GDBusProxy parent_instance; 850s # FDPassingProxyPrivate *priv; 850s # }; 850s # 850s # struct _FDPassingProxyClass 850s # { 850s # GDBusProxyClass parent_class; 850s # }; 850s # 850s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 850s # #endif 850s # 850s # void fdpassing_proxy_new ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # FDPassing *fdpassing_proxy_new_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # FDPassing *fdpassing_proxy_new_sync ( 850s # GDBusConnection *connection, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # void fdpassing_proxy_new_for_bus ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GAsyncReadyCallback callback, 850s # gpointer user_data); 850s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 850s # GAsyncResult *res, 850s # GError **error); 850s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 850s # GBusType bus_type, 850s # GDBusProxyFlags flags, 850s # const gchar *name, 850s # const gchar *object_path, 850s # GCancellable *cancellable, 850s # GError **error); 850s # 850s # 850s # /* ---- */ 850s # 850s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 850s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 850s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 850s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 850s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 850s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 850s # 850s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 850s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 850s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 850s # 850s # struct _FDPassingSkeleton 850s # { 850s # /*< private >*/ 850s # GDBusInterfaceSkeleton parent_instance; 850s # FDPassingSkeletonPrivate *priv; 850s # }; 850s # 850s # struct _FDPassingSkeletonClass 850s # { 850s # GDBusInterfaceSkeletonClass parent_class; 850s # }; 850s # 850s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 850s # 850s # #if GLIB_CHECK_VERSION(2, 44, 0) 850s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 850s # #endif 850s # 850s # FDPassing *fdpassing_skeleton_new (void); 850s # 850s # 850s # G_END_DECLS 850s # 850s # #endif /* __STDOUT__ */ 850s # Error: 850s 1..39 850s ok - glib/codegen.py.test 850s # Running test: glib/portal-support-snap.test 850s TAP version 14 850s # random seed: R02S5f22c17768b38c0a8babd1448bf871ee 850s 1..7 850s # Start of portal-support tests 850s # Start of snap tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl/.dirs/runtime 850s # Created snap.yaml in /tmp/test_portal-support-snap_1EUIJ3/meta/snap.yaml 850s Unable to clean up temporary directory /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/no-snapctl: No such file or directory 850s ok 1 /portal-support/snap/no-snapctl 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/runtime 850s # Created snap.yaml in /tmp/test_portal-support-snap_1EUIJ3/meta/snap.yaml 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none/.dirs/runtime/snapctl 850s Unable to clean up temporary directory /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/none: No such file or directory 850s ok 2 /portal-support/snap/none 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/runtime 850s # Created snap.yaml in /tmp/test_portal-support-snap_1EUIJ3/meta/snap.yaml 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all/.dirs/runtime/snapctl 850s Unable to clean up temporary directory /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/all: No such file or directory 850s ok 3 /portal-support/snap/all 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/runtime 850s # Created snap.yaml in /tmp/test_portal-support-snap_1EUIJ3/meta/snap.yaml 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 850s Unable to clean up temporary directory /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/desktop-only: No such file or directory 850s ok 4 /portal-support/snap/desktop-only 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/runtime 850s # Created snap.yaml in /tmp/test_portal-support-snap_1EUIJ3/meta/snap.yaml 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only/.dirs/runtime/snapctl 850s Unable to clean up temporary directory /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/network-only: No such file or directory 850s ok 5 /portal-support/snap/network-only 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/runtime 850s # Created snap.yaml in /tmp/test_portal-support-snap_1EUIJ3/meta/snap.yaml 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 850s Unable to clean up temporary directory /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/gsettings-only: No such file or directory 850s ok 6 /portal-support/snap/gsettings-only 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/runtime 850s # Created snap.yaml in /tmp/test_portal-support-snap_1EUIJ3/meta/snap.yaml 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s Unable to clean up temporary directory /tmp/test_portal-support-snap_1EUIJ3/portal-support/snap/updates-dynamically: No such file or directory 850s ok 7 /portal-support/snap/updates-dynamically 850s # End of snap tests 850s # End of portal-support tests 850s Unable to clean up temporary directory /tmp/test_portal-support-snap_1EUIJ3: No such file or directory 850s ok - glib/portal-support-snap.test 850s # Running test: glib/resources.test 850s TAP version 14 850s # random seed: R02S74f1376b6500c51aafc26cc002053ba4 850s 1..19 850s # Start of resource tests 850s ok 1 /resource/file 850s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 850s ok 2 /resource/file-path 850s ok 3 /resource/data 850s ok 4 /resource/data_unaligned 850s ok 5 /resource/data-corrupt 850s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 850s ok 6 /resource/data-corrupt-compression 850s ok 7 /resource/data-empty 850s ok 8 /resource/registered 850s ok 9 /resource/manual 850s ok 10 /resource/manual2 850s ok 11 /resource/automatic 850s ok 12 /resource/module 850s ok 13 /resource/binary-linked 850s ok 14 /resource/64k 850s GLib-GIO-Message: 12:28:21.050: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 850s GLib-GIO-Message: 12:28:21.052: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 850s GLib-GIO-Message: 12:28:21.052: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 850s ok 15 /resource/overlay 850s ok 16 /resource/digits 850s ok 17 /resource/has-children 850s # Start of uri tests 850s ok - glib/resources.test 850s # Running test: glib/contexts.test 850s ok 18 /resource/uri/query-info 850s ok 19 /resource/uri/file 850s # End of uri tests 850s # End of resource tests 850s TAP version 14 850s # random seed: R02S4016e3319d86a4c4decb7ddb86de71f1 850s 1..5 850s # Start of gio tests 850s # Start of contexts tests 850s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 850s ok 1 /gio/contexts/thread-independence 850s ok 2 /gio/contexts/context-independence 850s # Start of context-specific tests 850s ok 3 /gio/contexts/context-specific/identity 851s ok - glib/contexts.test 851s # Running test: glib/win32-appinfo.test 851s ok - glib/win32-appinfo.test 851s # Running test: glib/macros-c-89.test 851s ok - glib/macros-c-89.test 851s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 851s ok 4 /gio/contexts/context-specific/emit 851s # slow test /gio/contexts/context-specific/emit executed in 0.53 secs 851s ok 5 /gio/contexts/context-specific/emit-and-unref 851s # End of context-specific tests 851s # End of contexts tests 851s # End of gio tests 851s TAP version 14 851s # random seed: R02Sb74bff7181f2cae514a19bfc3906a32e 851s 1..5 851s # Start of appinfo tests 851s ok 1 /appinfo/utf16-strfuncs 851s ok 2 /appinfo/win32-extract-executable 851s ok 3 /appinfo/win32-rundll32-fixup 851s ok 4 /appinfo/win32-parse-filename 851s ok 5 /appinfo/win32-utf16-conversion-fail 851s # Start of subprocess tests 851s # End of subprocess tests 851s # End of appinfo tests 851s TAP version 14 851s # random seed: R02S54ad610bb7c3540731f4785c81b97f57 851s 1..4 851s # Start of C tests 851s ok 1 /C/standard-89 851s # End of C tests 851s # Start of alignof tests 851s ok 2 /alignof/fallback 851s # End of alignof tests 851s # Start of assert tests 851s ok 3 /assert/static 851s # End of assert tests 851s # Start of struct tests 851s ok 4 /struct/sizeof_member 851s # End of struct tests 851s TAP version 14 851s # random seed: R02Sb6a0fbf67d5c58adea5b6a12d11cc973 851s 1..8 851s # Start of gdbus tests 851s # Start of codegen tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/annotations/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/annotations/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/annotations/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/annotations/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/annotations/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/annotations/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/annotations/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/annotations/.dirs/runtime 851s ok 1 /gdbus/codegen/annotations 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/interface_stability/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/interface_stability/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/interface_stability/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/interface_stability/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/interface_stability/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/interface_stability/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/interface_stability/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/interface_stability/.dirs/runtime 851s ok 2 /gdbus/codegen/interface_stability 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/object-manager/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/object-manager/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/object-manager/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/object-manager/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/object-manager/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/object-manager/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/object-manager/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/object-manager/.dirs/runtime 851s ok 3 /gdbus/codegen/object-manager 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/property-naming/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/property-naming/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/property-naming/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/property-naming/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/property-naming/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/property-naming/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/property-naming/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/property-naming/.dirs/runtime 851s ok 4 /gdbus/codegen/property-naming 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/autocleanups/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/autocleanups/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/autocleanups/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/autocleanups/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/autocleanups/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/autocleanups/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/autocleanups/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/autocleanups/.dirs/runtime 851s ok 5 /gdbus/codegen/autocleanups 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/deprecations/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/deprecations/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/deprecations/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/deprecations/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/deprecations/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/deprecations/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/deprecations/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/deprecations/.dirs/runtime 851s ok 6 /gdbus/codegen/deprecations 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/standalone-interface-info/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/standalone-interface-info/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/standalone-interface-info/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/standalone-interface-info/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 851s ok 7 /gdbus/codegen/standalone-interface-info 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/unix-fd-list/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/unix-fd-list/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/unix-fd-list/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/unix-fd-list/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/unix-fd-list/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EEQHJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 851s ok 8 /gdbus/codegen/unix-fd-list 851s # End of codegen tests 851s # End of gdbus tests 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok - glib/gdbus-test-codegen-min-required-2-64.test 851s # Running test: glib/init.test 851s TAP version 14 851s # random seed: R02S3dbb7e503057ae1f78f7f50892fb88b9 851s 1..2 851s # Start of thread tests 851s # Start of deprecated tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_GVRUJ3/thread/deprecated/init/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_GVRUJ3/thread/deprecated/init/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_GVRUJ3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_GVRUJ3/thread/deprecated/init/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_GVRUJ3/thread/deprecated/init/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_GVRUJ3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_GVRUJ3/thread/deprecated/init/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_GVRUJ3/thread/deprecated/init/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_GVRUJ3/thread/deprecated/init/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_GVRUJ3/thread/deprecated/init/.dirs/runtime 851s ok 1 /thread/deprecated/init 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_GVRUJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_GVRUJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_GVRUJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_GVRUJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_GVRUJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_GVRUJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_GVRUJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_GVRUJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_GVRUJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_GVRUJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 851s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 851s # End of deprecated tests 851s # End of thread tests 851s ok - glib/init.test 851s # Running test: glib/accumulator.test 851s ok - glib/accumulator.test 851s # Running test: glib/timer.test 851s ok - glib/timer.test 851s # Running test: glib/macros-c-17.test 851s ok - glib/macros-c-17.test 851s # Running test: glib/strvbuilder.test 851s TAP version 14 851s # random seed: R02S51b8b6eed48b6b78f793228d27cc3902 851s 1..1 851s # Start of gobject tests 851s ok 1 /gobject/accumulator 851s # End of gobject tests 851s TAP version 14 851s # random seed: R02S79d71120d0f10ae45a4f14d2ddfd5217 851s 1..10 851s # Start of timer tests 851s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 851s ok 2 /timer/stop 851s ok 3 /timer/continue 851s ok 4 /timer/reset 851s ok 5 /timer/is_active 851s # End of timer tests 851s # Start of timeval tests 851s ok 6 /timeval/add 851s ok 7 /timeval/from-iso8601 851s ok 8 /timeval/to-iso8601 851s # Start of to-iso8601 tests 851s ok 9 /timeval/to-iso8601/overflow 851s # End of to-iso8601 tests 851s # End of timeval tests 851s # Start of usleep tests 851s ok 10 /usleep/with-zero-wait 851s # End of usleep tests 851s TAP version 14 851s # random seed: R02S52d52b3e32172e5d8585aad080a71e3f 851s 1..4 851s # Start of C tests 851s ok 1 /C/standard-17 851s # End of C tests 851s # Start of alignof tests 851s ok 2 /alignof/fallback 851s # End of alignof tests 851s # Start of assert tests 851s ok 3 /assert/static 851s # End of assert tests 851s # Start of struct tests 851s ok 4 /struct/sizeof_member 851s # End of struct tests 851s TAP version 14 851s # random seed: R02S49bfbff350e796c819561226361ef8a9 851s 1..7 851s # Start of strvbuilder tests 851s ok 1 /strvbuilder/empty 851s ok 2 /strvbuilder/add 851s ok 3 /strvbuilder/addv 851s ok 4 /strvbuilder/add_many 851s ok 5 /strvbuilder/take 851s ok 6 /strvbuilder/ref 851s ok 7 /strvbuilder/unref_to_strv 851s # End of strvbuilder tests 851s ok - glib/strvbuilder.test 851s # Running test: glib/private.test 851s TAP version 14 851s # random seed: R02Sab588ec0e911b07b4d71a89cd0e736cc 851s 1..8 851s # Start of thread tests 851s ok 1 /thread/private1 852s # Executing: glib/private.test 853s ok 2 /thread/private2 853s # slow test /thread/private2 executed in 1.27 secs 853s ok 3 /thread/private3 853s ok 4 /thread/staticprivate1 853s ok 5 /thread/staticprivate2 853s ok 6 /thread/staticprivate3 855s ok 7 /thread/staticprivate4 855s # slow test /thread/staticprivate4 executed in 2.10 secs 855s ok 8 /thread/staticprivate5 855s # End of thread tests 855s ok - glib/private.test 855s # Running test: glib/gdbus-export.test 855s TAP version 14 855s # random seed: R02Sf31b44a613b16494cec7bd397725090d 855s 1..7 855s # Start of gdbus tests 855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration/.dirs/home 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration/.dirs/cache 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration/.dirs/system-config2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration/.dirs/config 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration/.dirs/system-data2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration/.dirs/data 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration/.dirs/state 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration/.dirs/runtime 855s ok 1 /gdbus/object-registration 855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures/.dirs/home 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures/.dirs/cache 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures/.dirs/system-config2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures/.dirs/config 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures/.dirs/system-data2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures/.dirs/data 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures/.dirs/state 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures/.dirs/runtime 855s ok 2 /gdbus/object-registration-with-closures 855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures2/.dirs/home 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures2/.dirs/cache 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures2/.dirs/system-config2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures2/.dirs/config 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures2/.dirs/system-data2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures2/.dirs/data 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures2/.dirs/state 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AAFMJ3/gdbus/object-registration-with-closures2/.dirs/runtime 855s ok 3 /gdbus/object-registration-with-closures2 855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/registered-interfaces/.dirs/home 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/registered-interfaces/.dirs/cache 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_AAFMJ3/gdbus/registered-interfaces/.dirs/system-config2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/registered-interfaces/.dirs/config 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_AAFMJ3/gdbus/registered-interfaces/.dirs/system-data2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/registered-interfaces/.dirs/data 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/registered-interfaces/.dirs/state 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AAFMJ3/gdbus/registered-interfaces/.dirs/runtime 855s ok 4 /gdbus/registered-interfaces 855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/async-properties/.dirs/home 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/async-properties/.dirs/cache 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_AAFMJ3/gdbus/async-properties/.dirs/system-config2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/async-properties/.dirs/config 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_AAFMJ3/gdbus/async-properties/.dirs/system-data2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/async-properties/.dirs/data 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/async-properties/.dirs/state 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AAFMJ3/gdbus/async-properties/.dirs/runtime 855s ok 5 /gdbus/async-properties 855s # Start of threaded-unregistration tests 855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/object/.dirs/home 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/object/.dirs/cache 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/object/.dirs/system-config2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/object/.dirs/config 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/object/.dirs/system-data2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/object/.dirs/data 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/object/.dirs/state 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/object/.dirs/runtime 855s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 855s # /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 856s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (43 iterations with unregistration first, 957 with call first); skipping test 856s # slow test /gdbus/threaded-unregistration/object executed in 1.79 secs 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/subtree/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/subtree/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/subtree/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/subtree/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/subtree/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AAFMJ3/gdbus/threaded-unregistration/subtree/.dirs/runtime 856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 856s # /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 857s # Executing: glib/gdbus-export.test 857s ok 7 /gdbus/threaded-unregistration/subtree 857s # slow test /gdbus/threaded-unregistration/subtree executed in 0.97 secs 857s # End of threaded-unregistration tests 857s # End of gdbus tests 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok - glib/gdbus-export.test 857s # Running test: glib/gdbus-auth.test 857s TAP version 14 857s # random seed: R02Scf23235aee5bf67fd75d9b98b3838c8a 857s 1..5 857s # Start of gdbus tests 857s # Start of auth tests 857s # Start of client tests 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/EXTERNAL/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/EXTERNAL/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/EXTERNAL/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/EXTERNAL/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/EXTERNAL/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/EXTERNAL/.dirs/runtime 857s ok 1 /gdbus/auth/client/EXTERNAL 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 857s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 857s # End of client tests 857s # Start of server tests 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/ANONYMOUS/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/ANONYMOUS/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/ANONYMOUS/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/ANONYMOUS/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/ANONYMOUS/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 857s ok 3 /gdbus/auth/server/ANONYMOUS 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/EXTERNAL/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/EXTERNAL/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/EXTERNAL/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/EXTERNAL/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/EXTERNAL/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/EXTERNAL/.dirs/runtime 857s ok 4 /gdbus/auth/server/EXTERNAL 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_KZP1J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 857s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 857s # End of server tests 857s # End of auth tests 857s # End of gdbus tests 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok - glib/gdbus-auth.test 857s # Running test: glib/contenttype.test 857s TAP version 14 857s # random seed: R02S118db21fbc349b7af85d18b9bded6f76 857s 1..14 857s # Start of contenttype tests 858s ok 1 /contenttype/guess 858s ok 2 /contenttype/guess_svg_from_data 858s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 858s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 858s ok 5 /contenttype/unknown 858s ok 6 /contenttype/subtype 858s ok - glib/contenttype.test 858s ok 7 /contenttype/list 858s ok 8 /contenttype/executable 858s ok 9 /contenttype/description 858s ok 10 /contenttype/icon 858s ok 11 /contenttype/symbolic-icon 858s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 858s ok 12 /contenttype/tree 858s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 858s ok 13 /contenttype/tree_invalid_encoding 858s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 858s ok 14 /contenttype/test_type_is_a_special_case 858s # End of contenttype tests 858s # Running test: glib/signals-refcount3.test 858s TAP version 14 858s # random seed: R02S0b1e8248db95d981835f204c9fd8048c 858s 1..1 858s # Start of gobject tests 858s # Start of refcount tests 858s # init 0x2aa0b2094a0 858s # 858s # init 0x2aa0b201580 858s # 863s # Executing: glib/signals-refcount3.test 863s ok - glib/signals-refcount3.test 863s # Running test: glib/atomic.test 863s # dispose 0x2aa0b2094a0! 863s # 863s # dispose 0x2aa0b201580! 863s # 863s ok 1 /gobject/refcount/signals 863s # slow test /gobject/refcount/signals executed in 5.32 secs 863s # End of refcount tests 863s # End of gobject tests 863s TAP version 14 863s # random seed: R02S49687a17015d32c6120bc828cecd783f 863s 1..2 863s # Start of atomic tests 863s ok 1 /atomic/types 863s ok - glib/atomic.test 863s # Running test: glib/checksum.test 863s ok 2 /atomic/threaded 863s # End of atomic tests 863s TAP version 14 863s # random seed: R02Sb139c686e15d34638dfa10ce4bdd4d81 863s 1..1851 863s # Start of checksum tests 863s ok 1 /checksum/unsupported 863s # Start of MD5 tests 863s ok 2 /checksum/MD5/0 863s ok 3 /checksum/MD5/1 863s ok 4 /checksum/MD5/2 863s ok 5 /checksum/MD5/3 863s ok 6 /checksum/MD5/4 863s ok 7 /checksum/MD5/5 863s ok 8 /checksum/MD5/6 863s ok 9 /checksum/MD5/7 863s ok 10 /checksum/MD5/8 863s ok 11 /checksum/MD5/9 863s ok 12 /checksum/MD5/10 863s ok 13 /checksum/MD5/11 863s ok 14 /checksum/MD5/12 863s ok 15 /checksum/MD5/13 863s ok 16 /checksum/MD5/14 863s ok 17 /checksum/MD5/15 863s ok 18 /checksum/MD5/16 863s ok 19 /checksum/MD5/17 863s ok 20 /checksum/MD5/18 863s ok 21 /checksum/MD5/19 863s ok 22 /checksum/MD5/20 863s ok 23 /checksum/MD5/21 863s ok 24 /checksum/MD5/22 863s ok 25 /checksum/MD5/23 863s ok 26 /checksum/MD5/24 863s ok 27 /checksum/MD5/25 863s ok 28 /checksum/MD5/26 863s ok 29 /checksum/MD5/27 863s ok 30 /checksum/MD5/28 863s ok 31 /checksum/MD5/29 863s ok 32 /checksum/MD5/30 863s ok 33 /checksum/MD5/31 863s ok 34 /checksum/MD5/32 863s ok 35 /checksum/MD5/33 863s ok 36 /checksum/MD5/34 863s ok 37 /checksum/MD5/35 863s ok 38 /checksum/MD5/36 863s ok 39 /checksum/MD5/37 863s ok 40 /checksum/MD5/38 863s ok 41 /checksum/MD5/39 863s ok 42 /checksum/MD5/40 863s ok 43 /checksum/MD5/41 863s ok 44 /checksum/MD5/42 863s ok 45 /checksum/MD5/43 863s ok 46 /checksum/MD5/44 863s ok 47 /checksum/MD5/45 863s ok 48 /checksum/MD5/46 863s ok 49 /checksum/MD5/47 863s ok 50 /checksum/MD5/48 863s ok 51 /checksum/MD5/49 863s ok 52 /checksum/MD5/50 863s ok 53 /checksum/MD5/51 863s ok 54 /checksum/MD5/52 863s ok 55 /checksum/MD5/53 863s ok 56 /checksum/MD5/54 863s ok 57 /checksum/MD5/55 863s ok 58 /checksum/MD5/56 863s ok 59 /checksum/MD5/57 863s ok 60 /checksum/MD5/58 863s ok 61 /checksum/MD5/59 863s ok 62 /checksum/MD5/60 863s ok 63 /checksum/MD5/61 863s ok 64 /checksum/MD5/62 863s ok 65 /checksum/MD5/63 863s ok 66 /checksum/MD5/64 863s ok 67 /checksum/MD5/65 863s ok 68 /checksum/MD5/66 863s ok 69 /checksum/MD5/67 863s ok 70 /checksum/MD5/68 863s ok 71 /checksum/MD5/69 863s ok 72 /checksum/MD5/70 863s ok 73 /checksum/MD5/71 863s ok 74 /checksum/MD5/72 863s ok 75 /checksum/MD5/73 863s ok 76 /checksum/MD5/74 863s ok 77 /checksum/MD5/75 863s ok 78 /checksum/MD5/76 863s ok 79 /checksum/MD5/77 863s ok 80 /checksum/MD5/78 863s ok 81 /checksum/MD5/79 863s ok 82 /checksum/MD5/80 863s ok 83 /checksum/MD5/81 863s ok 84 /checksum/MD5/82 863s ok 85 /checksum/MD5/83 863s ok 86 /checksum/MD5/84 863s ok 87 /checksum/MD5/85 863s ok 88 /checksum/MD5/86 863s ok 89 /checksum/MD5/87 863s ok 90 /checksum/MD5/88 863s ok 91 /checksum/MD5/89 863s ok 92 /checksum/MD5/90 863s ok 93 /checksum/MD5/91 863s ok 94 /checksum/MD5/92 863s ok 95 /checksum/MD5/93 863s ok 96 /checksum/MD5/94 863s ok 97 /checksum/MD5/95 863s ok 98 /checksum/MD5/96 863s ok 99 /checksum/MD5/97 863s ok 100 /checksum/MD5/98 863s ok 101 /checksum/MD5/99 863s ok 102 /checksum/MD5/100 863s ok 103 /checksum/MD5/101 863s ok 104 /checksum/MD5/102 863s ok 105 /checksum/MD5/103 863s ok 106 /checksum/MD5/104 863s ok 107 /checksum/MD5/105 863s ok 108 /checksum/MD5/106 863s ok 109 /checksum/MD5/107 863s ok 110 /checksum/MD5/108 863s ok 111 /checksum/MD5/109 863s ok 112 /checksum/MD5/110 863s ok 113 /checksum/MD5/111 863s ok 114 /checksum/MD5/112 863s ok 115 /checksum/MD5/113 863s ok 116 /checksum/MD5/114 863s ok 117 /checksum/MD5/115 863s ok 118 /checksum/MD5/116 863s ok 119 /checksum/MD5/117 863s ok 120 /checksum/MD5/118 863s ok 121 /checksum/MD5/119 863s ok 122 /checksum/MD5/120 863s ok 123 /checksum/MD5/121 863s ok 124 /checksum/MD5/122 863s ok 125 /checksum/MD5/123 863s ok 126 /checksum/MD5/124 863s ok 127 /checksum/MD5/125 863s ok 128 /checksum/MD5/126 863s ok 129 /checksum/MD5/127 863s ok 130 /checksum/MD5/128 863s ok 131 /checksum/MD5/129 863s ok 132 /checksum/MD5/130 863s ok 133 /checksum/MD5/131 863s ok 134 /checksum/MD5/132 863s ok 135 /checksum/MD5/133 863s ok 136 /checksum/MD5/134 863s ok 137 /checksum/MD5/135 863s ok 138 /checksum/MD5/136 863s ok 139 /checksum/MD5/137 863s ok 140 /checksum/MD5/138 863s ok 141 /checksum/MD5/139 863s ok 142 /checksum/MD5/140 863s ok 143 /checksum/MD5/141 863s ok 144 /checksum/MD5/142 863s ok 145 /checksum/MD5/143 863s ok 146 /checksum/MD5/144 863s ok 147 /checksum/MD5/145 863s ok 148 /checksum/MD5/146 863s ok 149 /checksum/MD5/147 863s ok 150 /checksum/MD5/148 863s ok 151 /checksum/MD5/149 863s ok 152 /checksum/MD5/150 863s ok 153 /checksum/MD5/151 863s ok 154 /checksum/MD5/152 863s ok 155 /checksum/MD5/153 863s ok 156 /checksum/MD5/154 863s ok 157 /checksum/MD5/155 863s ok 158 /checksum/MD5/156 863s ok 159 /checksum/MD5/157 863s ok 160 /checksum/MD5/158 863s ok 161 /checksum/MD5/159 863s ok 162 /checksum/MD5/160 863s ok 163 /checksum/MD5/161 863s ok 164 /checksum/MD5/162 863s ok 165 /checksum/MD5/163 863s ok 166 /checksum/MD5/164 863s ok 167 /checksum/MD5/165 863s ok 168 /checksum/MD5/166 863s ok 169 /checksum/MD5/167 863s ok 170 /checksum/MD5/168 863s ok 171 /checksum/MD5/169 863s ok 172 /checksum/MD5/170 863s ok 173 /checksum/MD5/171 863s ok 174 /checksum/MD5/172 863s ok 175 /checksum/MD5/173 863s ok 176 /checksum/MD5/174 863s ok 177 /checksum/MD5/175 863s ok 178 /checksum/MD5/176 863s ok 179 /checksum/MD5/177 863s ok 180 /checksum/MD5/178 863s ok 181 /checksum/MD5/179 863s ok 182 /checksum/MD5/180 863s ok 183 /checksum/MD5/181 863s ok 184 /checksum/MD5/182 863s ok 185 /checksum/MD5/183 863s ok 186 /checksum/MD5/string 863s ok 187 /checksum/MD5/bytes 863s # Start of reset tests 863s ok 188 /checksum/MD5/reset/0 863s ok 189 /checksum/MD5/reset/1 863s ok 190 /checksum/MD5/reset/2 863s ok 191 /checksum/MD5/reset/3 863s ok 192 /checksum/MD5/reset/4 863s ok 193 /checksum/MD5/reset/5 863s ok 194 /checksum/MD5/reset/6 863s ok 195 /checksum/MD5/reset/7 863s ok 196 /checksum/MD5/reset/8 863s ok 197 /checksum/MD5/reset/9 863s ok 198 /checksum/MD5/reset/10 863s ok 199 /checksum/MD5/reset/11 863s ok 200 /checksum/MD5/reset/12 863s ok 201 /checksum/MD5/reset/13 863s ok 202 /checksum/MD5/reset/14 863s ok 203 /checksum/MD5/reset/15 863s ok 204 /checksum/MD5/reset/16 863s ok 205 /checksum/MD5/reset/17 863s ok 206 /checksum/MD5/reset/18 863s ok 207 /checksum/MD5/reset/19 863s ok 208 /checksum/MD5/reset/20 863s ok 209 /checksum/MD5/reset/21 863s ok 210 /checksum/MD5/reset/22 863s ok 211 /checksum/MD5/reset/23 863s ok 212 /checksum/MD5/reset/24 863s ok 213 /checksum/MD5/reset/25 863s ok 214 /checksum/MD5/reset/26 863s ok 215 /checksum/MD5/reset/27 863s ok 216 /checksum/MD5/reset/28 863s ok 217 /checksum/MD5/reset/29 863s ok 218 /checksum/MD5/reset/30 863s ok 219 /checksum/MD5/reset/31 863s ok 220 /checksum/MD5/reset/32 863s ok 221 /checksum/MD5/reset/33 863s ok 222 /checksum/MD5/reset/34 863s ok 223 /checksum/MD5/reset/35 863s ok 224 /checksum/MD5/reset/36 863s ok 225 /checksum/MD5/reset/37 863s ok 226 /checksum/MD5/reset/38 863s ok 227 /checksum/MD5/reset/39 863s ok 228 /checksum/MD5/reset/40 863s ok 229 /checksum/MD5/reset/41 863s ok 230 /checksum/MD5/reset/42 863s ok 231 /checksum/MD5/reset/43 863s ok 232 /checksum/MD5/reset/44 863s ok 233 /checksum/MD5/reset/45 863s ok 234 /checksum/MD5/reset/46 863s ok 235 /checksum/MD5/reset/47 863s ok 236 /checksum/MD5/reset/48 863s ok 237 /checksum/MD5/reset/49 863s ok 238 /checksum/MD5/reset/50 863s ok 239 /checksum/MD5/reset/51 863s ok 240 /checksum/MD5/reset/52 863s ok 241 /checksum/MD5/reset/53 863s ok 242 /checksum/MD5/reset/54 863s ok 243 /checksum/MD5/reset/55 863s ok 244 /checksum/MD5/reset/56 863s ok 245 /checksum/MD5/reset/57 863s ok 246 /checksum/MD5/reset/58 863s ok 247 /checksum/MD5/reset/59 863s ok 248 /checksum/MD5/reset/60 863s ok 249 /checksum/MD5/reset/61 863s ok 250 /checksum/MD5/reset/62 863s ok 251 /checksum/MD5/reset/63 863s ok 252 /checksum/MD5/reset/64 863s ok 253 /checksum/MD5/reset/65 863s ok 254 /checksum/MD5/reset/66 863s ok 255 /checksum/MD5/reset/67 863s ok 256 /checksum/MD5/reset/68 863s ok 257 /checksum/MD5/reset/69 863s ok 258 /checksum/MD5/reset/70 863s ok 259 /checksum/MD5/reset/71 863s ok 260 /checksum/MD5/reset/72 863s ok 261 /checksum/MD5/reset/73 863s ok 262 /checksum/MD5/reset/74 863s ok 263 /checksum/MD5/reset/75 863s ok 264 /checksum/MD5/reset/76 863s ok 265 /checksum/MD5/reset/77 863s ok 266 /checksum/MD5/reset/78 863s ok 267 /checksum/MD5/reset/79 863s ok 268 /checksum/MD5/reset/80 863s ok 269 /checksum/MD5/reset/81 863s ok 270 /checksum/MD5/reset/82 863s ok 271 /checksum/MD5/reset/83 863s ok 272 /checksum/MD5/reset/84 863s ok 273 /checksum/MD5/reset/85 863s ok 274 /checksum/MD5/reset/86 863s ok 275 /checksum/MD5/reset/87 863s ok 276 /checksum/MD5/reset/88 863s ok 277 /checksum/MD5/reset/89 863s ok 278 /checksum/MD5/reset/90 863s ok 279 /checksum/MD5/reset/91 863s ok 280 /checksum/MD5/reset/92 863s ok 281 /checksum/MD5/reset/93 863s ok 282 /checksum/MD5/reset/94 863s ok 283 /checksum/MD5/reset/95 863s ok 284 /checksum/MD5/reset/96 863s ok 285 /checksum/MD5/reset/97 863s ok 286 /checksum/MD5/reset/98 863s ok 287 /checksum/MD5/reset/99 863s ok 288 /checksum/MD5/reset/100 863s ok 289 /checksum/MD5/reset/101 863s ok 290 /checksum/MD5/reset/102 863s ok 291 /checksum/MD5/reset/103 863s ok 292 /checksum/MD5/reset/104 863s ok 293 /checksum/MD5/reset/105 863s ok 294 /checksum/MD5/reset/106 863s ok 295 /checksum/MD5/reset/107 863s ok 296 /checksum/MD5/reset/108 863s ok 297 /checksum/MD5/reset/109 863s ok 298 /checksum/MD5/reset/110 863s ok 299 /checksum/MD5/reset/111 863s ok 300 /checksum/MD5/reset/112 863s ok 301 /checksum/MD5/reset/113 863s ok 302 /checksum/MD5/reset/114 863s ok 303 /checksum/MD5/reset/115 863s ok 304 /checksum/MD5/reset/116 863s ok 305 /checksum/MD5/reset/117 863s ok 306 /checksum/MD5/reset/118 863s ok 307 /checksum/MD5/reset/119 863s ok 308 /checksum/MD5/reset/120 863s ok 309 /checksum/MD5/reset/121 863s ok 310 /checksum/MD5/reset/122 863s ok 311 /checksum/MD5/reset/123 863s ok 312 /checksum/MD5/reset/124 863s ok 313 /checksum/MD5/reset/125 863s ok 314 /checksum/MD5/reset/126 863s ok 315 /checksum/MD5/reset/127 863s ok 316 /checksum/MD5/reset/128 863s ok 317 /checksum/MD5/reset/129 863s ok 318 /checksum/MD5/reset/130 863s ok 319 /checksum/MD5/reset/131 863s ok 320 /checksum/MD5/reset/132 863s ok 321 /checksum/MD5/reset/133 863s ok 322 /checksum/MD5/reset/134 863s ok 323 /checksum/MD5/reset/135 863s ok 324 /checksum/MD5/reset/136 863s ok 325 /checksum/MD5/reset/137 863s ok 326 /checksum/MD5/reset/138 863s ok 327 /checksum/MD5/reset/139 863s ok 328 /checksum/MD5/reset/140 863s ok 329 /checksum/MD5/reset/141 863s ok 330 /checksum/MD5/reset/142 863s ok 331 /checksum/MD5/reset/143 863s ok 332 /checksum/MD5/reset/144 863s ok 333 /checksum/MD5/reset/145 863s ok 334 /checksum/MD5/reset/146 863s ok 335 /checksum/MD5/reset/147 863s ok 336 /checksum/MD5/reset/148 863s ok 337 /checksum/MD5/reset/149 863s ok 338 /checksum/MD5/reset/150 863s ok 339 /checksum/MD5/reset/151 863s ok 340 /checksum/MD5/reset/152 863s ok 341 /checksum/MD5/reset/153 863s ok 342 /checksum/MD5/reset/154 863s ok 343 /checksum/MD5/reset/155 863s ok 344 /checksum/MD5/reset/156 863s ok 345 /checksum/MD5/reset/157 863s ok 346 /checksum/MD5/reset/158 863s ok 347 /checksum/MD5/reset/159 863s ok 348 /checksum/MD5/reset/160 863s ok 349 /checksum/MD5/reset/161 863s ok 350 /checksum/MD5/reset/162 863s ok 351 /checksum/MD5/reset/163 863s ok 352 /checksum/MD5/reset/164 863s ok 353 /checksum/MD5/reset/165 863s ok 354 /checksum/MD5/reset/166 863s ok 355 /checksum/MD5/reset/167 863s ok 356 /checksum/MD5/reset/168 863s ok 357 /checksum/MD5/reset/169 863s ok 358 /checksum/MD5/reset/170 863s ok 359 /checksum/MD5/reset/171 863s ok 360 /checksum/MD5/reset/172 863s ok 361 /checksum/MD5/reset/173 863s ok 362 /checksum/MD5/reset/174 863s ok 363 /checksum/MD5/reset/175 863s ok 364 /checksum/MD5/reset/176 863s ok 365 /checksum/MD5/reset/177 863s ok 366 /checksum/MD5/reset/178 863s ok 367 /checksum/MD5/reset/179 863s ok 368 /checksum/MD5/reset/180 863s ok 369 /checksum/MD5/reset/181 863s ok 370 /checksum/MD5/reset/182 863s ok 371 /checksum/MD5/reset/183 863s # End of reset tests 863s # End of MD5 tests 863s # Start of SHA1 tests 863s ok 372 /checksum/SHA1/0 863s ok 373 /checksum/SHA1/1 863s ok 374 /checksum/SHA1/2 863s ok 375 /checksum/SHA1/3 863s ok 376 /checksum/SHA1/4 863s ok 377 /checksum/SHA1/5 863s ok 378 /checksum/SHA1/6 863s ok 379 /checksum/SHA1/7 863s ok 380 /checksum/SHA1/8 863s ok 381 /checksum/SHA1/9 863s ok 382 /checksum/SHA1/10 863s ok 383 /checksum/SHA1/11 863s ok 384 /checksum/SHA1/12 863s ok 385 /checksum/SHA1/13 863s ok 386 /checksum/SHA1/14 863s ok 387 /checksum/SHA1/15 863s ok 388 /checksum/SHA1/16 863s ok 389 /checksum/SHA1/17 863s ok 390 /checksum/SHA1/18 863s ok 391 /checksum/SHA1/19 863s ok 392 /checksum/SHA1/20 863s ok 393 /checksum/SHA1/21 863s ok 394 /checksum/SHA1/22 863s ok 395 /checksum/SHA1/23 863s ok 396 /checksum/SHA1/24 863s ok 397 /checksum/SHA1/25 863s ok 398 /checksum/SHA1/26 863s ok 399 /checksum/SHA1/27 863s ok 400 /checksum/SHA1/28 863s ok 401 /checksum/SHA1/29 863s ok 402 /checksum/SHA1/30 863s ok 403 /checksum/SHA1/31 863s ok 404 /checksum/SHA1/32 863s ok 405 /checksum/SHA1/33 863s ok 406 /checksum/SHA1/34 863s ok 407 /checksum/SHA1/35 863s ok 408 /checksum/SHA1/36 863s ok 409 /checksum/SHA1/37 863s ok 410 /checksum/SHA1/38 863s ok 411 /checksum/SHA1/39 863s ok 412 /checksum/SHA1/40 863s ok 413 /checksum/SHA1/41 863s ok 414 /checksum/SHA1/42 863s ok 415 /checksum/SHA1/43 863s ok 416 /checksum/SHA1/44 863s ok 417 /checksum/SHA1/45 863s ok 418 /checksum/SHA1/46 863s ok 419 /checksum/SHA1/47 863s ok 420 /checksum/SHA1/48 863s ok 421 /checksum/SHA1/49 863s ok 422 /checksum/SHA1/50 863s ok 423 /checksum/SHA1/51 863s ok 424 /checksum/SHA1/52 863s ok 425 /checksum/SHA1/53 863s ok 426 /checksum/SHA1/54 863s ok 427 /checksum/SHA1/55 863s ok 428 /checksum/SHA1/56 863s ok 429 /checksum/SHA1/57 863s ok 430 /checksum/SHA1/58 863s ok 431 /checksum/SHA1/59 863s ok 432 /checksum/SHA1/60 863s ok 433 /checksum/SHA1/61 863s ok 434 /checksum/SHA1/62 863s ok 435 /checksum/SHA1/63 863s ok 436 /checksum/SHA1/64 863s ok 437 /checksum/SHA1/65 863s ok 438 /checksum/SHA1/66 863s ok 439 /checksum/SHA1/67 863s ok 440 /checksum/SHA1/68 863s ok 441 /checksum/SHA1/69 863s ok 442 /checksum/SHA1/70 863s ok 443 /checksum/SHA1/71 863s ok 444 /checksum/SHA1/72 863s ok 445 /checksum/SHA1/73 863s ok 446 /checksum/SHA1/74 863s ok 447 /checksum/SHA1/75 863s ok 448 /checksum/SHA1/76 863s ok 449 /checksum/SHA1/77 863s ok 450 /checksum/SHA1/78 863s ok 451 /checksum/SHA1/79 863s ok 452 /checksum/SHA1/80 863s ok 453 /checksum/SHA1/81 863s ok 454 /checksum/SHA1/82 863s ok 455 /checksum/SHA1/83 863s ok 456 /checksum/SHA1/84 863s ok 457 /checksum/SHA1/85 863s ok 458 /checksum/SHA1/86 863s ok 459 /checksum/SHA1/87 863s ok 460 /checksum/SHA1/88 863s ok 461 /checksum/SHA1/89 863s ok 462 /checksum/SHA1/90 863s ok 463 /checksum/SHA1/91 863s ok 464 /checksum/SHA1/92 863s ok 465 /checksum/SHA1/93 863s ok 466 /checksum/SHA1/94 863s ok 467 /checksum/SHA1/95 863s ok 468 /checksum/SHA1/96 863s ok 469 /checksum/SHA1/97 863s ok 470 /checksum/SHA1/98 863s ok 471 /checksum/SHA1/99 863s ok 472 /checksum/SHA1/100 863s ok 473 /checksum/SHA1/101 863s ok 474 /checksum/SHA1/102 863s ok 475 /checksum/SHA1/103 863s ok 476 /checksum/SHA1/104 863s ok 477 /checksum/SHA1/105 863s ok 478 /checksum/SHA1/106 863s ok 479 /checksum/SHA1/107 863s ok 480 /checksum/SHA1/108 863s ok 481 /checksum/SHA1/109 863s ok 482 /checksum/SHA1/110 863s ok 483 /checksum/SHA1/111 863s ok 484 /checksum/SHA1/112 863s ok 485 /checksum/SHA1/113 863s ok 486 /checksum/SHA1/114 863s ok 487 /checksum/SHA1/115 863s ok 488 /checksum/SHA1/116 863s ok 489 /checksum/SHA1/117 863s ok 490 /checksum/SHA1/118 863s ok 491 /checksum/SHA1/119 863s ok 492 /checksum/SHA1/120 863s ok 493 /checksum/SHA1/121 863s ok 494 /checksum/SHA1/122 863s ok 495 /checksum/SHA1/123 863s ok 496 /checksum/SHA1/124 863s ok 497 /checksum/SHA1/125 863s ok 498 /checksum/SHA1/126 863s ok 499 /checksum/SHA1/127 863s ok 500 /checksum/SHA1/128 863s ok 501 /checksum/SHA1/129 863s ok 502 /checksum/SHA1/130 863s ok 503 /checksum/SHA1/131 863s ok 504 /checksum/SHA1/132 863s ok 505 /checksum/SHA1/133 863s ok 506 /checksum/SHA1/134 863s ok 507 /checksum/SHA1/135 863s ok 508 /checksum/SHA1/136 863s ok 509 /checksum/SHA1/137 863s ok 510 /checksum/SHA1/138 863s ok 511 /checksum/SHA1/139 863s ok 512 /checksum/SHA1/140 863s ok 513 /checksum/SHA1/141 863s ok 514 /checksum/SHA1/142 863s ok 515 /checksum/SHA1/143 863s ok 516 /checksum/SHA1/144 863s ok 517 /checksum/SHA1/145 863s ok 518 /checksum/SHA1/146 863s ok 519 /checksum/SHA1/147 863s ok 520 /checksum/SHA1/148 863s ok 521 /checksum/SHA1/149 863s ok 522 /checksum/SHA1/150 863s ok 523 /checksum/SHA1/151 863s ok 524 /checksum/SHA1/152 863s ok 525 /checksum/SHA1/153 863s ok 526 /checksum/SHA1/154 863s ok 527 /checksum/SHA1/155 863s ok 528 /checksum/SHA1/156 863s ok 529 /checksum/SHA1/157 863s ok 530 /checksum/SHA1/158 863s ok 531 /checksum/SHA1/159 863s ok 532 /checksum/SHA1/160 863s ok 533 /checksum/SHA1/161 863s ok 534 /checksum/SHA1/162 863s ok 535 /checksum/SHA1/163 863s ok 536 /checksum/SHA1/164 863s ok 537 /checksum/SHA1/165 863s ok 538 /checksum/SHA1/166 863s ok 539 /checksum/SHA1/167 863s ok 540 /checksum/SHA1/168 863s ok 541 /checksum/SHA1/169 863s ok 542 /checksum/SHA1/170 863s ok 543 /checksum/SHA1/171 863s ok 544 /checksum/SHA1/172 863s ok 545 /checksum/SHA1/173 863s ok 546 /checksum/SHA1/174 863s ok 547 /checksum/SHA1/175 863s ok 548 /checksum/SHA1/176 863s ok 549 /checksum/SHA1/177 863s ok 550 /checksum/SHA1/178 863s ok 551 /checksum/SHA1/179 863s ok 552 /checksum/SHA1/180 863s ok 553 /checksum/SHA1/181 863s ok 554 /checksum/SHA1/182 863s ok 555 /checksum/SHA1/183 863s ok 556 /checksum/SHA1/string 863s ok 557 /checksum/SHA1/bytes 863s # Start of reset tests 863s ok 558 /checksum/SHA1/reset/0 863s ok 559 /checksum/SHA1/reset/1 863s ok 560 /checksum/SHA1/reset/2 863s ok 561 /checksum/SHA1/reset/3 863s ok 562 /checksum/SHA1/reset/4 863s ok 563 /checksum/SHA1/reset/5 863s ok 564 /checksum/SHA1/reset/6 863s ok 565 /checksum/SHA1/reset/7 863s ok 566 /checksum/SHA1/reset/8 863s ok 567 /checksum/SHA1/reset/9 863s ok 568 /checksum/SHA1/reset/10 863s ok 569 /checksum/SHA1/reset/11 863s ok 570 /checksum/SHA1/reset/12 863s ok 571 /checksum/SHA1/reset/13 863s ok 572 /checksum/SHA1/reset/14 863s ok 573 /checksum/SHA1/reset/15 863s ok 574 /checksum/SHA1/reset/16 863s ok 575 /checksum/SHA1/reset/17 863s ok 576 /checksum/SHA1/reset/18 863s ok 577 /checksum/SHA1/reset/19 863s ok 578 /checksum/SHA1/reset/20 863s ok 579 /checksum/SHA1/reset/21 863s ok 580 /checksum/SHA1/reset/22 863s ok 581 /checksum/SHA1/reset/23 863s ok 582 /checksum/SHA1/reset/24 863s ok 583 /checksum/SHA1/reset/25 863s ok 584 /checksum/SHA1/reset/26 863s ok 585 /checksum/SHA1/reset/27 863s ok 586 /checksum/SHA1/reset/28 863s ok 587 /checksum/SHA1/reset/29 863s ok 588 /checksum/SHA1/reset/30 863s ok 589 /checksum/SHA1/reset/31 863s ok 590 /checksum/SHA1/reset/32 863s ok 591 /checksum/SHA1/reset/33 863s ok 592 /checksum/SHA1/reset/34 863s ok 593 /checksum/SHA1/reset/35 863s ok 594 /checksum/SHA1/reset/36 863s ok 595 /checksum/SHA1/reset/37 863s ok 596 /checksum/SHA1/reset/38 863s ok 597 /checksum/SHA1/reset/39 863s ok 598 /checksum/SHA1/reset/40 863s ok 599 /checksum/SHA1/reset/41 863s ok 600 /checksum/SHA1/reset/42 863s ok 601 /checksum/SHA1/reset/43 863s ok 602 /checksum/SHA1/reset/44 863s ok 603 /checksum/SHA1/reset/45 863s ok 604 /checksum/SHA1/reset/46 863s ok 605 /checksum/SHA1/reset/47 863s ok 606 /checksum/SHA1/reset/48 863s ok 607 /checksum/SHA1/reset/49 863s ok 608 /checksum/SHA1/reset/50 863s ok 609 /checksum/SHA1/reset/51 863s ok 610 /checksum/SHA1/reset/52 863s ok 611 /checksum/SHA1/reset/53 863s ok 612 /checksum/SHA1/reset/54 863s ok 613 /checksum/SHA1/reset/55 863s ok 614 /checksum/SHA1/reset/56 863s ok 615 /checksum/SHA1/reset/57 863s ok 616 /checksum/SHA1/reset/58 863s ok 617 /checksum/SHA1/reset/59 863s ok 618 /checksum/SHA1/reset/60 863s ok 619 /checksum/SHA1/reset/61 863s ok 620 /checksum/SHA1/reset/62 863s ok 621 /checksum/SHA1/reset/63 863s ok 622 /checksum/SHA1/reset/64 863s ok 623 /checksum/SHA1/reset/65 863s ok 624 /checksum/SHA1/reset/66 863s ok 625 /checksum/SHA1/reset/67 863s ok 626 /checksum/SHA1/reset/68 863s ok 627 /checksum/SHA1/reset/69 863s ok 628 /checksum/SHA1/reset/70 863s ok 629 /checksum/SHA1/reset/71 863s ok 630 /checksum/SHA1/reset/72 863s ok 631 /checksum/SHA1/reset/73 863s ok 632 /checksum/SHA1/reset/74 863s ok 633 /checksum/SHA1/reset/75 863s ok 634 /checksum/SHA1/reset/76 863s ok 635 /checksum/SHA1/reset/77 863s ok 636 /checksum/SHA1/reset/78 863s ok 637 /checksum/SHA1/reset/79 863s ok 638 /checksum/SHA1/reset/80 863s ok 639 /checksum/SHA1/reset/81 863s ok 640 /checksum/SHA1/reset/82 863s ok 641 /checksum/SHA1/reset/83 863s ok 642 /checksum/SHA1/reset/84 863s ok 643 /checksum/SHA1/reset/85 863s ok 644 /checksum/SHA1/reset/86 863s ok 645 /checksum/SHA1/reset/87 863s ok 646 /checksum/SHA1/reset/88 863s ok 647 /checksum/SHA1/reset/89 863s ok 648 /checksum/SHA1/reset/90 863s ok 649 /checksum/SHA1/reset/91 863s ok 650 /checksum/SHA1/reset/92 863s ok 651 /checksum/SHA1/reset/93 863s ok 652 /checksum/SHA1/reset/94 863s ok 653 /checksum/SHA1/reset/95 863s ok 654 /checksum/SHA1/reset/96 863s ok 655 /checksum/SHA1/reset/97 863s ok 656 /checksum/SHA1/reset/98 863s ok 657 /checksum/SHA1/reset/99 863s ok 658 /checksum/SHA1/reset/100 863s ok 659 /checksum/SHA1/reset/101 863s ok 660 /checksum/SHA1/reset/102 863s ok 661 /checksum/SHA1/reset/103 863s ok 662 /checksum/SHA1/reset/104 863s ok 663 /checksum/SHA1/reset/105 863s ok 664 /checksum/SHA1/reset/106 863s ok 665 /checksum/SHA1/reset/107 863s ok 666 /checksum/SHA1/reset/108 863s ok 667 /checksum/SHA1/reset/109 863s ok 668 /checksum/SHA1/reset/110 863s ok 669 /checksum/SHA1/reset/111 863s ok 670 /checksum/SHA1/reset/112 863s ok 671 /checksum/SHA1/reset/113 863s ok 672 /checksum/SHA1/reset/114 863s ok 673 /checksum/SHA1/reset/115 863s ok 674 /checksum/SHA1/reset/116 863s ok 675 /checksum/SHA1/reset/117 863s ok 676 /checksum/SHA1/reset/118 863s ok 677 /checksum/SHA1/reset/119 863s ok 678 /checksum/SHA1/reset/120 863s ok 679 /checksum/SHA1/reset/121 863s ok 680 /checksum/SHA1/reset/122 863s ok 681 /checksum/SHA1/reset/123 863s ok 682 /checksum/SHA1/reset/124 863s ok 683 /checksum/SHA1/reset/125 863s ok 684 /checksum/SHA1/reset/126 863s ok 685 /checksum/SHA1/reset/127 863s ok 686 /checksum/SHA1/reset/128 863s ok 687 /checksum/SHA1/reset/129 863s ok 688 /checksum/SHA1/reset/130 863s ok 689 /checksum/SHA1/reset/131 863s ok 690 /checksum/SHA1/reset/132 863s ok 691 /checksum/SHA1/reset/133 863s ok 692 /checksum/SHA1/reset/134 863s ok 693 /checksum/SHA1/reset/135 863s ok 694 /checksum/SHA1/reset/136 863s ok 695 /checksum/SHA1/reset/137 863s ok 696 /checksum/SHA1/reset/138 863s ok 697 /checksum/SHA1/reset/139 863s ok 698 /checksum/SHA1/reset/140 863s ok 699 /checksum/SHA1/reset/141 863s ok 700 /checksum/SHA1/reset/142 863s ok 701 /checksum/SHA1/reset/143 863s ok 702 /checksum/SHA1/reset/144 863s ok 703 /checksum/SHA1/reset/145 863s ok 704 /checksum/SHA1/reset/146 863s ok 705 /checksum/SHA1/reset/147 863s ok 706 /checksum/SHA1/reset/148 863s ok 707 /checksum/SHA1/reset/149 863s ok 708 /checksum/SHA1/reset/150 863s ok 709 /checksum/SHA1/reset/151 863s ok 710 /checksum/SHA1/reset/152 863s ok 711 /checksum/SHA1/reset/153 863s ok 712 /checksum/SHA1/reset/154 863s ok 713 /checksum/SHA1/reset/155 863s ok 714 /checksum/SHA1/reset/156 863s ok 715 /checksum/SHA1/reset/157 863s ok 716 /checksum/SHA1/reset/158 863s ok 717 /checksum/SHA1/reset/159 863s ok 718 /checksum/SHA1/reset/160 863s ok 719 /checksum/SHA1/reset/161 863s ok 720 /checksum/SHA1/reset/162 863s ok 721 /checksum/SHA1/reset/163 863s ok 722 /checksum/SHA1/reset/164 863s ok 723 /checksum/SHA1/reset/165 863s ok 724 /checksum/SHA1/reset/166 863s ok 725 /checksum/SHA1/reset/167 863s ok 726 /checksum/SHA1/reset/168 863s ok 727 /checksum/SHA1/reset/169 863s ok 728 /checksum/SHA1/reset/170 863s ok 729 /checksum/SHA1/reset/171 863s ok 730 /checksum/SHA1/reset/172 863s ok 731 /checksum/SHA1/reset/173 863s ok 732 /checksum/SHA1/reset/174 863s ok 733 /checksum/SHA1/reset/175 863s ok 734 /checksum/SHA1/reset/176 863s ok 735 /checksum/SHA1/reset/177 863s ok 736 /checksum/SHA1/reset/178 863s ok 737 /checksum/SHA1/reset/179 863s ok 738 /checksum/SHA1/reset/180 863s ok 739 /checksum/SHA1/reset/181 863s ok 740 /checksum/SHA1/reset/182 863s ok 741 /checksum/SHA1/reset/183 863s # End of reset tests 863s # End of SHA1 tests 863s # Start of SHA256 tests 863s ok 742 /checksum/SHA256/0 863s ok 743 /checksum/SHA256/1 863s ok 744 /checksum/SHA256/2 863s ok 745 /checksum/SHA256/3 863s ok 746 /checksum/SHA256/4 863s ok 747 /checksum/SHA256/5 863s ok 748 /checksum/SHA256/6 863s ok 749 /checksum/SHA256/7 863s ok 750 /checksum/SHA256/8 863s ok 751 /checksum/SHA256/9 863s ok 752 /checksum/SHA256/10 863s ok 753 /checksum/SHA256/11 863s ok 754 /checksum/SHA256/12 863s ok 755 /checksum/SHA256/13 863s ok 756 /checksum/SHA256/14 863s ok 757 /checksum/SHA256/15 863s ok 758 /checksum/SHA256/16 863s ok 759 /checksum/SHA256/17 863s ok 760 /checksum/SHA256/18 863s ok 761 /checksum/SHA256/19 863s ok 762 /checksum/SHA256/20 863s ok 763 /checksum/SHA256/21 863s ok 764 /checksum/SHA256/22 863s ok 765 /checksum/SHA256/23 863s ok 766 /checksum/SHA256/24 863s ok 767 /checksum/SHA256/25 863s ok 768 /checksum/SHA256/26 863s ok 769 /checksum/SHA256/27 863s ok 770 /checksum/SHA256/28 863s ok 771 /checksum/SHA256/29 863s ok 772 /checksum/SHA256/30 863s ok 773 /checksum/SHA256/31 863s ok 774 /checksum/SHA256/32 863s ok 775 /checksum/SHA256/33 863s ok 776 /checksum/SHA256/34 863s ok 777 /checksum/SHA256/35 863s ok 778 /checksum/SHA256/36 863s ok 779 /checksum/SHA256/37 863s ok 780 /checksum/SHA256/38 863s ok 781 /checksum/SHA256/39 863s ok 782 /checksum/SHA256/40 863s ok 783 /checksum/SHA256/41 863s ok 784 /checksum/SHA256/42 863s ok 785 /checksum/SHA256/43 863s ok 786 /checksum/SHA256/44 863s ok 787 /checksum/SHA256/45 863s ok 788 /checksum/SHA256/46 863s ok 789 /checksum/SHA256/47 863s ok 790 /checksum/SHA256/48 863s ok 791 /checksum/SHA256/49 863s ok 792 /checksum/SHA256/50 863s ok 793 /checksum/SHA256/51 863s ok 794 /checksum/SHA256/52 863s ok 795 /checksum/SHA256/53 863s ok 796 /checksum/SHA256/54 863s ok 797 /checksum/SHA256/55 863s ok 798 /checksum/SHA256/56 863s ok 799 /checksum/SHA256/57 863s ok 800 /checksum/SHA256/58 863s ok 801 /checksum/SHA256/59 863s ok 802 /checksum/SHA256/60 863s ok 803 /checksum/SHA256/61 863s ok 804 /checksum/SHA256/62 863s ok 805 /checksum/SHA256/63 863s ok 806 /checksum/SHA256/64 863s ok 807 /checksum/SHA256/65 863s ok 808 /checksum/SHA256/66 863s ok 809 /checksum/SHA256/67 863s ok 810 /checksum/SHA256/68 863s ok 811 /checksum/SHA256/69 863s ok 812 /checksum/SHA256/70 863s ok 813 /checksum/SHA256/71 863s ok 814 /checksum/SHA256/72 863s ok 815 /checksum/SHA256/73 863s ok 816 /checksum/SHA256/74 863s ok 817 /checksum/SHA256/75 863s ok 818 /checksum/SHA256/76 863s ok 819 /checksum/SHA256/77 863s ok 820 /checksum/SHA256/78 863s ok 821 /checksum/SHA256/79 863s ok 822 /checksum/SHA256/80 863s ok 823 /checksum/SHA256/81 863s ok 824 /checksum/SHA256/82 863s ok 825 /checksum/SHA256/83 863s ok 826 /checksum/SHA256/84 863s ok 827 /checksum/SHA256/85 863s ok 828 /checksum/SHA256/86 863s ok 829 /checksum/SHA256/87 863s ok 830 /checksum/SHA256/88 863s ok 831 /checksum/SHA256/89 863s ok 832 /checksum/SHA256/90 863s ok 833 /checksum/SHA256/91 863s ok 834 /checksum/SHA256/92 863s ok 835 /checksum/SHA256/93 863s ok 836 /checksum/SHA256/94 863s ok 837 /checksum/SHA256/95 863s ok 838 /checksum/SHA256/96 863s ok 839 /checksum/SHA256/97 863s ok 840 /checksum/SHA256/98 863s ok 841 /checksum/SHA256/99 863s ok 842 /checksum/SHA256/100 863s ok 843 /checksum/SHA256/101 863s ok 844 /checksum/SHA256/102 863s ok 845 /checksum/SHA256/103 863s ok 846 /checksum/SHA256/104 863s ok 847 /checksum/SHA256/105 863s ok 848 /checksum/SHA256/106 863s ok 849 /checksum/SHA256/107 863s ok 850 /checksum/SHA256/108 863s ok 851 /checksum/SHA256/109 863s ok 852 /checksum/SHA256/110 863s ok 853 /checksum/SHA256/111 863s ok 854 /checksum/SHA256/112 863s ok 855 /checksum/SHA256/113 863s ok 856 /checksum/SHA256/114 863s ok 857 /checksum/SHA256/115 863s ok 858 /checksum/SHA256/116 863s ok 859 /checksum/SHA256/117 863s ok 860 /checksum/SHA256/118 863s ok 861 /checksum/SHA256/119 863s ok 862 /checksum/SHA256/120 863s ok 863 /checksum/SHA256/121 863s ok 864 /checksum/SHA256/122 863s ok 865 /checksum/SHA256/123 863s ok 866 /checksum/SHA256/124 863s ok 867 /checksum/SHA256/125 863s ok 868 /checksum/SHA256/126 863s ok 869 /checksum/SHA256/127 863s ok 870 /checksum/SHA256/128 863s ok 871 /checksum/SHA256/129 863s ok 872 /checksum/SHA256/130 863s ok 873 /checksum/SHA256/131 863s ok 874 /checksum/SHA256/132 863s ok 875 /checksum/SHA256/133 863s ok 876 /checksum/SHA256/134 863s ok 877 /checksum/SHA256/135 863s ok 878 /checksum/SHA256/136 863s ok 879 /checksum/SHA256/137 863s ok 880 /checksum/SHA256/138 863s ok 881 /checksum/SHA256/139 863s ok 882 /checksum/SHA256/140 863s ok 883 /checksum/SHA256/141 863s ok 884 /checksum/SHA256/142 863s ok 885 /checksum/SHA256/143 863s ok 886 /checksum/SHA256/144 863s ok 887 /checksum/SHA256/145 863s ok 888 /checksum/SHA256/146 863s ok 889 /checksum/SHA256/147 863s ok 890 /checksum/SHA256/148 863s ok 891 /checksum/SHA256/149 863s ok 892 /checksum/SHA256/150 863s ok 893 /checksum/SHA256/151 863s ok 894 /checksum/SHA256/152 863s ok 895 /checksum/SHA256/153 863s ok 896 /checksum/SHA256/154 863s ok 897 /checksum/SHA256/155 863s ok 898 /checksum/SHA256/156 863s ok 899 /checksum/SHA256/157 863s ok 900 /checksum/SHA256/158 863s ok 901 /checksum/SHA256/159 863s ok 902 /checksum/SHA256/160 863s ok 903 /checksum/SHA256/161 863s ok 904 /checksum/SHA256/162 863s ok 905 /checksum/SHA256/163 863s ok 906 /checksum/SHA256/164 863s ok 907 /checksum/SHA256/165 863s ok 908 /checksum/SHA256/166 863s ok 909 /checksum/SHA256/167 863s ok 910 /checksum/SHA256/168 863s ok 911 /checksum/SHA256/169 863s ok 912 /checksum/SHA256/170 863s ok 913 /checksum/SHA256/171 863s ok 914 /checksum/SHA256/172 863s ok 915 /checksum/SHA256/173 863s ok 916 /checksum/SHA256/174 863s ok 917 /checksum/SHA256/175 863s ok 918 /checksum/SHA256/176 863s ok 919 /checksum/SHA256/177 863s ok 920 /checksum/SHA256/178 863s ok 921 /checksum/SHA256/179 863s ok 922 /checksum/SHA256/180 863s ok 923 /checksum/SHA256/181 863s ok 924 /checksum/SHA256/182 863s ok 925 /checksum/SHA256/183 863s ok 926 /checksum/SHA256/string 863s ok 927 /checksum/SHA256/bytes 863s # Start of reset tests 863s ok 928 /checksum/SHA256/reset/0 863s ok 929 /checksum/SHA256/reset/1 863s ok 930 /checksum/SHA256/reset/2 863s ok 931 /checksum/SHA256/reset/3 863s ok 932 /checksum/SHA256/reset/4 863s ok 933 /checksum/SHA256/reset/5 863s ok 934 /checksum/SHA256/reset/6 863s ok 935 /checksum/SHA256/reset/7 863s ok 936 /checksum/SHA256/reset/8 863s ok 937 /checksum/SHA256/reset/9 863s ok 938 /checksum/SHA256/reset/10 863s ok 939 /checksum/SHA256/reset/11 863s ok 940 /checksum/SHA256/reset/12 863s ok 941 /checksum/SHA256/reset/13 863s ok 942 /checksum/SHA256/reset/14 863s ok 943 /checksum/SHA256/reset/15 863s ok 944 /checksum/SHA256/reset/16 863s ok 945 /checksum/SHA256/reset/17 863s ok 946 /checksum/SHA256/reset/18 863s ok 947 /checksum/SHA256/reset/19 863s ok 948 /checksum/SHA256/reset/20 863s ok 949 /checksum/SHA256/reset/21 863s ok 950 /checksum/SHA256/reset/22 863s ok 951 /checksum/SHA256/reset/23 863s ok 952 /checksum/SHA256/reset/24 863s ok 953 /checksum/SHA256/reset/25 863s ok 954 /checksum/SHA256/reset/26 863s ok 955 /checksum/SHA256/reset/27 863s ok 956 /checksum/SHA256/reset/28 863s ok 957 /checksum/SHA256/reset/29 863s ok 958 /checksum/SHA256/reset/30 863s ok 959 /checksum/SHA256/reset/31 863s ok 960 /checksum/SHA256/reset/32 863s ok 961 /checksum/SHA256/reset/33 863s ok 962 /checksum/SHA256/reset/34 863s ok 963 /checksum/SHA256/reset/35 863s ok 964 /checksum/SHA256/reset/36 863s ok 965 /checksum/SHA256/reset/37 863s ok 966 /checksum/SHA256/reset/38 863s ok 967 /checksum/SHA256/reset/39 863s ok 968 /checksum/SHA256/reset/40 863s ok 969 /checksum/SHA256/reset/41 863s ok 970 /checksum/SHA256/reset/42 863s ok 971 /checksum/SHA256/reset/43 863s ok 972 /checksum/SHA256/reset/44 863s ok 973 /checksum/SHA256/reset/45 863s ok 974 /checksum/SHA256/reset/46 863s ok 975 /checksum/SHA256/reset/47 863s ok 976 /checksum/SHA256/reset/48 863s ok 977 /checksum/SHA256/reset/49 863s ok 978 /checksum/SHA256/reset/50 863s ok 979 /checksum/SHA256/reset/51 863s ok 980 /checksum/SHA256/reset/52 863s ok 981 /checksum/SHA256/reset/53 863s ok 982 /checksum/SHA256/reset/54 863s ok 983 /checksum/SHA256/reset/55 863s ok 984 /checksum/SHA256/reset/56 863s ok 985 /checksum/SHA256/reset/57 863s ok 986 /checksum/SHA256/reset/58 863s ok 987 /checksum/SHA256/reset/59 863s ok 988 /checksum/SHA256/reset/60 863s ok 989 /checksum/SHA256/reset/61 863s ok 990 /checksum/SHA256/reset/62 863s ok 991 /checksum/SHA256/reset/63 863s ok 992 /checksum/SHA256/reset/64 863s ok 993 /checksum/SHA256/reset/65 863s ok 994 /checksum/SHA256/reset/66 863s ok 995 /checksum/SHA256/reset/67 863s ok 996 /checksum/SHA256/reset/68 863s ok 997 /checksum/SHA256/reset/69 863s ok 998 /checksum/SHA256/reset/70 863s ok 999 /checksum/SHA256/reset/71 863s ok 1000 /checksum/SHA256/reset/72 863s ok 1001 /checksum/SHA256/reset/73 863s ok 1002 /checksum/SHA256/reset/74 863s ok 1003 /checksum/SHA256/reset/75 863s ok 1004 /checksum/SHA256/reset/76 863s ok 1005 /checksum/SHA256/reset/77 863s ok 1006 /checksum/SHA256/reset/78 863s ok 1007 /checksum/SHA256/reset/79 863s ok 1008 /checksum/SHA256/reset/80 863s ok 1009 /checksum/SHA256/reset/81 863s ok 1010 /checksum/SHA256/reset/82 863s ok 1011 /checksum/SHA256/reset/83 863s ok 1012 /checksum/SHA256/reset/84 863s ok 1013 /checksum/SHA256/reset/85 863s ok 1014 /checksum/SHA256/reset/86 863s ok 1015 /checksum/SHA256/reset/87 863s ok 1016 /checksum/SHA256/reset/88 863s ok 1017 /checksum/SHA256/reset/89 863s ok 1018 /checksum/SHA256/reset/90 863s ok 1019 /checksum/SHA256/reset/91 863s ok 1020 /checksum/SHA256/reset/92 863s ok 1021 /checksum/SHA256/reset/93 863s ok 1022 /checksum/SHA256/reset/94 863s ok 1023 /checksum/SHA256/reset/95 863s ok 1024 /checksum/SHA256/reset/96 863s ok 1025 /checksum/SHA256/reset/97 863s ok 1026 /checksum/SHA256/reset/98 863s ok 1027 /checksum/SHA256/reset/99 863s ok 1028 /checksum/SHA256/reset/100 863s ok 1029 /checksum/SHA256/reset/101 863s ok 1030 /checksum/SHA256/reset/102 863s ok 1031 /checksum/SHA256/reset/103 863s ok 1032 /checksum/SHA256/reset/104 863s ok 1033 /checksum/SHA256/reset/105 863s ok 1034 /checksum/SHA256/reset/106 863s ok 1035 /checksum/SHA256/reset/107 863s ok 1036 /checksum/SHA256/reset/108 863s ok 1037 /checksum/SHA256/reset/109 863s ok 1038 /checksum/SHA256/reset/110 863s ok 1039 /checksum/SHA256/reset/111 863s ok 1040 /checksum/SHA256/reset/112 863s ok 1041 /checksum/SHA256/reset/113 863s ok 1042 /checksum/SHA256/reset/114 863s ok 1043 /checksum/SHA256/reset/115 863s ok 1044 /checksum/SHA256/reset/116 863s ok 1045 /checksum/SHA256/reset/117 863s ok 1046 /checksum/SHA256/reset/118 863s ok 1047 /checksum/SHA256/reset/119 863s ok 1048 /checksum/SHA256/reset/120 863s ok 1049 /checksum/SHA256/reset/121 863s ok 1050 /checksum/SHA256/reset/122 863s ok 1051 /checksum/SHA256/reset/123 863s ok 1052 /checksum/SHA256/reset/124 863s ok 1053 /checksum/SHA256/reset/125 863s ok 1054 /checksum/SHA256/reset/126 863s ok 1055 /checksum/SHA256/reset/127 863s ok 1056 /checksum/SHA256/reset/128 863s ok 1057 /checksum/SHA256/reset/129 863s ok 1058 /checksum/SHA256/reset/130 863s ok 1059 /checksum/SHA256/reset/131 863s ok 1060 /checksum/SHA256/reset/132 863s ok 1061 /checksum/SHA256/reset/133 863s ok 1062 /checksum/SHA256/reset/134 863s ok 1063 /checksum/SHA256/reset/135 863s ok 1064 /checksum/SHA256/reset/136 863s ok 1065 /checksum/SHA256/reset/137 863s ok 1066 /checksum/SHA256/reset/138 863s ok 1067 /checksum/SHA256/reset/139 863s ok 1068 /checksum/SHA256/reset/140 863s ok 1069 /checksum/SHA256/reset/141 863s ok 1070 /checksum/SHA256/reset/142 863s ok 1071 /checksum/SHA256/reset/143 863s ok 1072 /checksum/SHA256/reset/144 863s ok 1073 /checksum/SHA256/reset/145 863s ok 1074 /checksum/SHA256/reset/146 863s ok 1075 /checksum/SHA256/reset/147 863s ok 1076 /checksum/SHA256/reset/148 863s ok 1077 /checksum/SHA256/reset/149 863s ok 1078 /checksum/SHA256/reset/150 863s ok 1079 /checksum/SHA256/reset/151 863s ok 1080 /checksum/SHA256/reset/152 863s ok 1081 /checksum/SHA256/reset/153 863s ok 1082 /checksum/SHA256/reset/154 863s ok 1083 /checksum/SHA256/reset/155 863s ok 1084 /checksum/SHA256/reset/156 863s ok 1085 /checksum/SHA256/reset/157 863s ok 1086 /checksum/SHA256/reset/158 863s ok 1087 /checksum/SHA256/reset/159 863s ok 1088 /checksum/SHA256/reset/160 863s ok 1089 /checksum/SHA256/reset/161 863s ok 1090 /checksum/SHA256/reset/162 863s ok 1091 /checksum/SHA256/reset/163 863s ok 1092 /checksum/SHA256/reset/164 863s ok 1093 /checksum/SHA256/reset/165 863s ok 1094 /checksum/SHA256/reset/166 863s ok 1095 /checksum/SHA256/reset/167 863s ok 1096 /checksum/SHA256/reset/168 863s ok 1097 /checksum/SHA256/reset/169 863s ok 1098 /checksum/SHA256/reset/170 863s ok 1099 /checksum/SHA256/reset/171 863s ok 1100 /checksum/SHA256/reset/172 863s ok 1101 /checksum/SHA256/reset/173 863s ok 1102 /checksum/SHA256/reset/174 863s ok 1103 /checksum/SHA256/reset/175 863s ok 1104 /checksum/SHA256/reset/176 863s ok 1105 /checksum/SHA256/reset/177 863s ok 1106 /checksum/SHA256/reset/178 863s ok 1107 /checksum/SHA256/reset/179 863s ok 1108 /checksum/SHA256/reset/180 863s ok 1109 /checksum/SHA256/reset/181 863s ok 1110 /checksum/SHA256/reset/182 863s ok 1111 /checksum/SHA256/reset/183 863s # End of reset tests 863s # End of SHA256 tests 863s # Start of SHA384 tests 863s ok 1112 /checksum/SHA384/0 863s ok 1113 /checksum/SHA384/1 863s ok 1114 /checksum/SHA384/2 863s ok 1115 /checksum/SHA384/3 863s ok 1116 /checksum/SHA384/4 863s ok 1117 /checksum/SHA384/5 863s ok 1118 /checksum/SHA384/6 863s ok 1119 /checksum/SHA384/7 863s ok 1120 /checksum/SHA384/8 863s ok 1121 /checksum/SHA384/9 863s ok 1122 /checksum/SHA384/10 863s ok 1123 /checksum/SHA384/11 863s ok 1124 /checksum/SHA384/12 863s ok 1125 /checksum/SHA384/13 863s ok 1126 /checksum/SHA384/14 863s ok 1127 /checksum/SHA384/15 863s ok 1128 /checksum/SHA384/16 863s ok 1129 /checksum/SHA384/17 863s ok 1130 /checksum/SHA384/18 863s ok 1131 /checksum/SHA384/19 863s ok 1132 /checksum/SHA384/20 863s ok 1133 /checksum/SHA384/21 863s ok 1134 /checksum/SHA384/22 863s ok 1135 /checksum/SHA384/23 863s ok 1136 /checksum/SHA384/24 863s ok 1137 /checksum/SHA384/25 863s ok 1138 /checksum/SHA384/26 863s ok 1139 /checksum/SHA384/27 863s ok 1140 /checksum/SHA384/28 863s ok 1141 /checksum/SHA384/29 863s ok 1142 /checksum/SHA384/30 863s ok 1143 /checksum/SHA384/31 863s ok 1144 /checksum/SHA384/32 863s ok 1145 /checksum/SHA384/33 863s ok 1146 /checksum/SHA384/34 863s ok 1147 /checksum/SHA384/35 863s ok 1148 /checksum/SHA384/36 863s ok 1149 /checksum/SHA384/37 863s ok 1150 /checksum/SHA384/38 863s ok 1151 /checksum/SHA384/39 863s ok 1152 /checksum/SHA384/40 863s ok 1153 /checksum/SHA384/41 863s ok 1154 /checksum/SHA384/42 863s ok 1155 /checksum/SHA384/43 863s ok 1156 /checksum/SHA384/44 863s ok 1157 /checksum/SHA384/45 863s ok 1158 /checksum/SHA384/46 863s ok 1159 /checksum/SHA384/47 863s ok 1160 /checksum/SHA384/48 863s ok 1161 /checksum/SHA384/49 863s ok 1162 /checksum/SHA384/50 863s ok 1163 /checksum/SHA384/51 863s ok 1164 /checksum/SHA384/52 863s ok 1165 /checksum/SHA384/53 863s ok 1166 /checksum/SHA384/54 863s ok 1167 /checksum/SHA384/55 863s ok 1168 /checksum/SHA384/56 863s ok 1169 /checksum/SHA384/57 863s ok 1170 /checksum/SHA384/58 863s ok 1171 /checksum/SHA384/59 863s ok 1172 /checksum/SHA384/60 863s ok 1173 /checksum/SHA384/61 863s ok 1174 /checksum/SHA384/62 863s ok 1175 /checksum/SHA384/63 863s ok 1176 /checksum/SHA384/64 863s ok 1177 /checksum/SHA384/65 863s ok 1178 /checksum/SHA384/66 863s ok 1179 /checksum/SHA384/67 863s ok 1180 /checksum/SHA384/68 863s ok 1181 /checksum/SHA384/69 863s ok 1182 /checksum/SHA384/70 863s ok 1183 /checksum/SHA384/71 863s ok 1184 /checksum/SHA384/72 863s ok 1185 /checksum/SHA384/73 863s ok 1186 /checksum/SHA384/74 863s ok 1187 /checksum/SHA384/75 863s ok 1188 /checksum/SHA384/76 863s ok 1189 /checksum/SHA384/77 863s ok 1190 /checksum/SHA384/78 863s ok 1191 /checksum/SHA384/79 863s ok 1192 /checksum/SHA384/80 863s ok 1193 /checksum/SHA384/81 863s ok 1194 /checksum/SHA384/82 863s ok 1195 /checksum/SHA384/83 863s ok 1196 /checksum/SHA384/84 863s ok 1197 /checksum/SHA384/85 863s ok 1198 /checksum/SHA384/86 863s ok 1199 /checksum/SHA384/87 863s ok 1200 /checksum/SHA384/88 863s ok 1201 /checksum/SHA384/89 863s ok 1202 /checksum/SHA384/90 863s ok 1203 /checksum/SHA384/91 863s ok 1204 /checksum/SHA384/92 863s ok 1205 /checksum/SHA384/93 863s ok 1206 /checksum/SHA384/94 863s ok 1207 /checksum/SHA384/95 863s ok 1208 /checksum/SHA384/96 863s ok 1209 /checksum/SHA384/97 863s ok 1210 /checksum/SHA384/98 863s ok 1211 /checksum/SHA384/99 863s ok 1212 /checksum/SHA384/100 863s ok 1213 /checksum/SHA384/101 863s ok 1214 /checksum/SHA384/102 863s ok 1215 /checksum/SHA384/103 863s ok 1216 /checksum/SHA384/104 863s ok 1217 /checksum/SHA384/105 863s ok 1218 /checksum/SHA384/106 863s ok 1219 /checksum/SHA384/107 863s ok 1220 /checksum/SHA384/108 863s ok 1221 /checksum/SHA384/109 863s ok 1222 /checksum/SHA384/110 863s ok 1223 /checksum/SHA384/111 863s ok 1224 /checksum/SHA384/112 863s ok 1225 /checksum/SHA384/113 863s ok 1226 /checksum/SHA384/114 863s ok 1227 /checksum/SHA384/115 863s ok 1228 /checksum/SHA384/116 863s ok 1229 /checksum/SHA384/117 863s ok 1230 /checksum/SHA384/118 863s ok 1231 /checksum/SHA384/119 863s ok 1232 /checksum/SHA384/120 863s ok 1233 /checksum/SHA384/121 863s ok 1234 /checksum/SHA384/122 863s ok 1235 /checksum/SHA384/123 863s ok 1236 /checksum/SHA384/124 863s ok 1237 /checksum/SHA384/125 863s ok 1238 /checksum/SHA384/126 863s ok 1239 /checksum/SHA384/127 863s ok 1240 /checksum/SHA384/128 863s ok 1241 /checksum/SHA384/129 863s ok 1242 /checksum/SHA384/130 863s ok 1243 /checksum/SHA384/131 863s ok 1244 /checksum/SHA384/132 863s ok 1245 /checksum/SHA384/133 863s ok 1246 /checksum/SHA384/134 863s ok 1247 /checksum/SHA384/135 863s ok 1248 /checksum/SHA384/136 863s ok 1249 /checksum/SHA384/137 863s ok 1250 /checksum/SHA384/138 863s ok 1251 /checksum/SHA384/139 863s ok 1252 /checksum/SHA384/140 863s ok 1253 /checksum/SHA384/141 863s ok 1254 /checksum/SHA384/142 863s ok 1255 /checksum/SHA384/143 863s ok 1256 /checksum/SHA384/144 863s ok 1257 /checksum/SHA384/145 863s ok 1258 /checksum/SHA384/146 863s ok 1259 /checksum/SHA384/147 863s ok 1260 /checksum/SHA384/148 863s ok 1261 /checksum/SHA384/149 863s ok 1262 /checksum/SHA384/150 863s ok 1263 /checksum/SHA384/151 863s ok 1264 /checksum/SHA384/152 863s ok 1265 /checksum/SHA384/153 863s ok 1266 /checksum/SHA384/154 863s ok 1267 /checksum/SHA384/155 863s ok 1268 /checksum/SHA384/156 863s ok 1269 /checksum/SHA384/157 863s ok 1270 /checksum/SHA384/158 863s ok 1271 /checksum/SHA384/159 863s ok 1272 /checksum/SHA384/160 863s ok 1273 /checksum/SHA384/161 863s ok 1274 /checksum/SHA384/162 863s ok 1275 /checksum/SHA384/163 863s ok 1276 /checksum/SHA384/164 863s ok 1277 /checksum/SHA384/165 863s ok 1278 /checksum/SHA384/166 863s ok 1279 /checksum/SHA384/167 864s ok 1280 /checksum/SHA384/168 864s ok 1281 /checksum/SHA384/169 864s ok 1282 /checksum/SHA384/170 864s ok 1283 /checksum/SHA384/171 864s ok 1284 /checksum/SHA384/172 864s ok 1285 /checksum/SHA384/173 864s ok 1286 /checksum/SHA384/174 864s ok 1287 /checksum/SHA384/175 864s ok 1288 /checksum/SHA384/176 864s ok 1289 /checksum/SHA384/177 864s ok 1290 /checksum/SHA384/178 864s ok 1291 /checksum/SHA384/179 864s ok 1292 /checksum/SHA384/180 864s ok 1293 /checksum/SHA384/181 864s ok 1294 /checksum/SHA384/182 864s ok 1295 /checksum/SHA384/183 864s ok 1296 /checksum/SHA384/string 864s ok 1297 /checksum/SHA384/bytes 864s # Start of reset tests 864s ok 1298 /checksum/SHA384/reset/0 864s ok 1299 /checksum/SHA384/reset/1 864s ok 1300 /checksum/SHA384/reset/2 864s ok 1301 /checksum/SHA384/reset/3 864s ok 1302 /checksum/SHA384/reset/4 864s ok 1303 /checksum/SHA384/reset/5 864s ok 1304 /checksum/SHA384/reset/6 864s ok 1305 /checksum/SHA384/reset/7 864s ok 1306 /checksum/SHA384/reset/8 864s ok 1307 /checksum/SHA384/reset/9 864s ok 1308 /checksum/SHA384/reset/10 864s ok 1309 /checksum/SHA384/reset/11 864s ok 1310 /checksum/SHA384/reset/12 864s ok 1311 /checksum/SHA384/reset/13 864s ok 1312 /checksum/SHA384/reset/14 864s ok 1313 /checksum/SHA384/reset/15 864s ok 1314 /checksum/SHA384/reset/16 864s ok 1315 /checksum/SHA384/reset/17 864s ok 1316 /checksum/SHA384/reset/18 864s ok 1317 /checksum/SHA384/reset/19 864s ok 1318 /checksum/SHA384/reset/20 864s ok 1319 /checksum/SHA384/reset/21 864s ok 1320 /checksum/SHA384/reset/22 864s ok 1321 /checksum/SHA384/reset/23 864s ok 1322 /checksum/SHA384/reset/24 864s ok 1323 /checksum/SHA384/reset/25 864s ok 1324 /checksum/SHA384/reset/26 864s ok 1325 /checksum/SHA384/reset/27 864s ok 1326 /checksum/SHA384/reset/28 864s ok 1327 /checksum/SHA384/reset/29 864s ok 1328 /checksum/SHA384/reset/30 864s ok 1329 /checksum/SHA384/reset/31 864s ok 1330 /checksum/SHA384/reset/32 864s ok 1331 /checksum/SHA384/reset/33 864s ok 1332 /checksum/SHA384/reset/34 864s ok 1333 /checksum/SHA384/reset/35 864s ok 1334 /checksum/SHA384/reset/36 864s ok 1335 /checksum/SHA384/reset/37 864s ok 1336 /checksum/SHA384/reset/38 864s ok 1337 /checksum/SHA384/reset/39 864s ok 1338 /checksum/SHA384/reset/40 864s ok 1339 /checksum/SHA384/reset/41 864s ok 1340 /checksum/SHA384/reset/42 864s ok 1341 /checksum/SHA384/reset/43 864s ok 1342 /checksum/SHA384/reset/44 864s ok 1343 /checksum/SHA384/reset/45 864s ok 1344 /checksum/SHA384/reset/46 864s ok 1345 /checksum/SHA384/reset/47 864s ok 1346 /checksum/SHA384/reset/48 864s ok 1347 /checksum/SHA384/reset/49 864s ok 1348 /checksum/SHA384/reset/50 864s ok 1349 /checksum/SHA384/reset/51 864s ok 1350 /checksum/SHA384/reset/52 864s ok 1351 /checksum/SHA384/reset/53 864s ok 1352 /checksum/SHA384/reset/54 864s ok 1353 /checksum/SHA384/reset/55 864s ok 1354 /checksum/SHA384/reset/56 864s ok 1355 /checksum/SHA384/reset/57 864s ok 1356 /checksum/SHA384/reset/58 864s ok 1357 /checksum/SHA384/reset/59 864s ok 1358 /checksum/SHA384/reset/60 864s ok 1359 /checksum/SHA384/reset/61 864s ok 1360 /checksum/SHA384/reset/62 864s ok 1361 /checksum/SHA384/reset/63 864s ok 1362 /checksum/SHA384/reset/64 864s ok 1363 /checksum/SHA384/reset/65 864s ok 1364 /checksum/SHA384/reset/66 864s ok 1365 /checksum/SHA384/reset/67 864s ok 1366 /checksum/SHA384/reset/68 864s ok 1367 /checksum/SHA384/reset/69 864s ok 1368 /checksum/SHA384/reset/70 864s ok 1369 /checksum/SHA384/reset/71 864s ok 1370 /checksum/SHA384/reset/72 864s ok 1371 /checksum/SHA384/reset/73 864s ok 1372 /checksum/SHA384/reset/74 864s ok 1373 /checksum/SHA384/reset/75 864s ok 1374 /checksum/SHA384/reset/76 864s ok 1375 /checksum/SHA384/reset/77 864s ok 1376 /checksum/SHA384/reset/78 864s ok 1377 /checksum/SHA384/reset/79 864s ok 1378 /checksum/SHA384/reset/80 864s ok 1379 /checksum/SHA384/reset/81 864s ok 1380 /checksum/SHA384/reset/82 864s ok 1381 /checksum/SHA384/reset/83 864s ok 1382 /checksum/SHA384/reset/84 864s ok 1383 /checksum/SHA384/reset/85 864s ok 1384 /checksum/SHA384/reset/86 864s ok 1385 /checksum/SHA384/reset/87 864s ok 1386 /checksum/SHA384/reset/88 864s ok 1387 /checksum/SHA384/reset/89 864s ok 1388 /checksum/SHA384/reset/90 864s ok 1389 /checksum/SHA384/reset/91 864s ok 1390 /checksum/SHA384/reset/92 864s ok 1391 /checksum/SHA384/reset/93 864s ok 1392 /checksum/SHA384/reset/94 864s ok 1393 /checksum/SHA384/reset/95 864s ok 1394 /checksum/SHA384/reset/96 864s ok 1395 /checksum/SHA384/reset/97 864s ok 1396 /checksum/SHA384/reset/98 864s ok 1397 /checksum/SHA384/reset/99 864s ok 1398 /checksum/SHA384/reset/100 864s ok 1399 /checksum/SHA384/reset/101 864s ok 1400 /checksum/SHA384/reset/102 864s ok 1401 /checksum/SHA384/reset/103 864s ok 1402 /checksum/SHA384/reset/104 864s ok 1403 /checksum/SHA384/reset/105 864s ok 1404 /checksum/SHA384/reset/106 864s ok 1405 /checksum/SHA384/reset/107 864s ok 1406 /checksum/SHA384/reset/108 864s ok 1407 /checksum/SHA384/reset/109 864s ok 1408 /checksum/SHA384/reset/110 864s ok 1409 /checksum/SHA384/reset/111 864s ok 1410 /checksum/SHA384/reset/112 864s ok 1411 /checksum/SHA384/reset/113 864s ok 1412 /checksum/SHA384/reset/114 864s ok 1413 /checksum/SHA384/reset/115 864s ok 1414 /checksum/SHA384/reset/116 864s ok 1415 /checksum/SHA384/reset/117 864s ok 1416 /checksum/SHA384/reset/118 864s ok 1417 /checksum/SHA384/reset/119 864s ok 1418 /checksum/SHA384/reset/120 864s ok 1419 /checksum/SHA384/reset/121 864s ok 1420 /checksum/SHA384/reset/122 864s ok 1421 /checksum/SHA384/reset/123 864s ok 1422 /checksum/SHA384/reset/124 864s ok 1423 /checksum/SHA384/reset/125 864s ok 1424 /checksum/SHA384/reset/126 864s ok 1425 /checksum/SHA384/reset/127 864s ok 1426 /checksum/SHA384/reset/128 864s ok 1427 /checksum/SHA384/reset/129 864s ok 1428 /checksum/SHA384/reset/130 864s ok 1429 /checksum/SHA384/reset/131 864s ok 1430 /checksum/SHA384/reset/132 864s ok 1431 /checksum/SHA384/reset/133 864s ok 1432 /checksum/SHA384/reset/134 864s ok 1433 /checksum/SHA384/reset/135 864s ok 1434 /checksum/SHA384/reset/136 864s ok 1435 /checksum/SHA384/reset/137 864s ok 1436 /checksum/SHA384/reset/138 864s ok 1437 /checksum/SHA384/reset/139 864s ok 1438 /checksum/SHA384/reset/140 864s ok 1439 /checksum/SHA384/reset/141 864s ok 1440 /checksum/SHA384/reset/142 864s ok 1441 /checksum/SHA384/reset/143 864s ok 1442 /checksum/SHA384/reset/144 864s ok 1443 /checksum/SHA384/reset/145 864s ok 1444 /checksum/SHA384/reset/146 864s ok 1445 /checksum/SHA384/reset/147 864s ok 1446 /checksum/SHA384/reset/148 864s ok 1447 /checksum/SHA384/reset/149 864s ok 1448 /checksum/SHA384/reset/150 864s ok 1449 /checksum/SHA384/reset/151 864s ok 1450 /checksum/SHA384/reset/152 864s ok 1451 /checksum/SHA384/reset/153 864s ok 1452 /checksum/SHA384/reset/154 864s ok 1453 /checksum/SHA384/reset/155 864s ok 1454 /checksum/SHA384/reset/156 864s ok 1455 /checksum/SHA384/reset/157 864s ok 1456 /checksum/SHA384/reset/158 864s ok 1457 /checksum/SHA384/reset/159 864s ok 1458 /checksum/SHA384/reset/160 864s ok 1459 /checksum/SHA384/reset/161 864s ok 1460 /checksum/SHA384/reset/162 864s ok 1461 /checksum/SHA384/reset/163 864s ok 1462 /checksum/SHA384/reset/164 864s ok 1463 /checksum/SHA384/reset/165 864s ok 1464 /checksum/SHA384/reset/166 864s ok 1465 /checksum/SHA384/reset/167 864s ok 1466 /checksum/SHA384/reset/168 864s ok 1467 /checksum/SHA384/reset/169 864s ok 1468 /checksum/SHA384/reset/170 864s ok 1469 /checksum/SHA384/reset/171 864s ok 1470 /checksum/SHA384/reset/172 864s ok 1471 /checksum/SHA384/reset/173 864s ok 1472 /checksum/SHA384/reset/174 864s ok 1473 /checksum/SHA384/reset/175 864s ok 1474 /checksum/SHA384/reset/176 864s ok 1475 /checksum/SHA384/reset/177 864s ok 1476 /checksum/SHA384/reset/178 864s ok 1477 /checksum/SHA384/reset/179 864s ok 1478 /checksum/SHA384/reset/180 864s ok 1479 /checksum/SHA384/reset/181 864s ok 1480 /checksum/SHA384/reset/182 864s ok 1481 /checksum/SHA384/reset/183 864s # End of reset tests 864s # End of SHA384 tests 864s # Start of SHA512 tests 864s ok 1482 /checksum/SHA512/0 864s ok 1483 /checksum/SHA512/1 864s ok 1484 /checksum/SHA512/2 864s ok 1485 /checksum/SHA512/3 864s ok 1486 /checksum/SHA512/4 864s ok 1487 /checksum/SHA512/5 864s ok 1488 /checksum/SHA512/6 864s ok 1489 /checksum/SHA512/7 864s ok 1490 /checksum/SHA512/8 864s ok 1491 /checksum/SHA512/9 864s ok 1492 /checksum/SHA512/10 864s ok 1493 /checksum/SHA512/11 864s ok 1494 /checksum/SHA512/12 864s ok 1495 /checksum/SHA512/13 864s ok 1496 /checksum/SHA512/14 864s ok 1497 /checksum/SHA512/15 864s ok 1498 /checksum/SHA512/16 864s ok 1499 /checksum/SHA512/17 864s ok 1500 /checksum/SHA512/18 864s ok 1501 /checksum/SHA512/19 864s ok 1502 /checksum/SHA512/20 864s ok 1503 /checksum/SHA512/21 864s ok 1504 /checksum/SHA512/22 864s ok 1505 /checksum/SHA512/23 864s ok 1506 /checksum/SHA512/24 864s ok 1507 /checksum/SHA512/25 864s ok 1508 /checksum/SHA512/26 864s ok 1509 /checksum/SHA512/27 864s ok 1510 /checksum/SHA512/28 864s ok 1511 /checksum/SHA512/29 864s ok 1512 /checksum/SHA512/30 864s ok 1513 /checksum/SHA512/31 864s ok 1514 /checksum/SHA512/32 864s ok 1515 /checksum/SHA512/33 864s ok 1516 /checksum/SHA512/34 864s ok 1517 /checksum/SHA512/35 864s ok 1518 /checksum/SHA512/36 864s ok 1519 /checksum/SHA512/37 864s ok 1520 /checksum/SHA512/38 864s ok 1521 /checksum/SHA512/39 864s ok 1522 /checksum/SHA512/40 864s ok 1523 /checksum/SHA512/41 864s ok 1524 /checksum/SHA512/42 864s ok 1525 /checksum/SHA512/43 864s ok 1526 /checksum/SHA512/44 864s ok 1527 /checksum/SHA512/45 864s ok 1528 /checksum/SHA512/46 864s ok 1529 /checksum/SHA512/47 864s ok 1530 /checksum/SHA512/48 864s ok 1531 /checksum/SHA512/49 864s ok 1532 /checksum/SHA512/50 864s ok 1533 /checksum/SHA512/51 864s ok 1534 /checksum/SHA512/52 864s ok 1535 /checksum/SHA512/53 864s ok 1536 /checksum/SHA512/54 864s ok 1537 /checksum/SHA512/55 864s ok 1538 /checksum/SHA512/56 864s ok 1539 /checksum/SHA512/57 864s ok 1540 /checksum/SHA512/58 864s ok 1541 /checksum/SHA512/59 864s ok 1542 /checksum/SHA512/60 864s ok 1543 /checksum/SHA512/61 864s ok 1544 /checksum/SHA512/62 864s ok 1545 /checksum/SHA512/63 864s ok 1546 /checksum/SHA512/64 864s ok 1547 /checksum/SHA512/65 864s ok 1548 /checksum/SHA512/66 864s ok 1549 /checksum/SHA512/67 864s ok 1550 /checksum/SHA512/68 864s ok 1551 /checksum/SHA512/69 864s ok 1552 /checksum/SHA512/70 864s ok 1553 /checksum/SHA512/71 864s ok 1554 /checksum/SHA512/72 864s ok 1555 /checksum/SHA512/73 864s ok 1556 /checksum/SHA512/74 864s ok 1557 /checksum/SHA512/75 864s ok 1558 /checksum/SHA512/76 864s ok 1559 /checksum/SHA512/77 864s ok 1560 /checksum/SHA512/78 864s ok 1561 /checksum/SHA512/79 864s ok 1562 /checksum/SHA512/80 864s ok 1563 /checksum/SHA512/81 864s ok 1564 /checksum/SHA512/82 864s ok 1565 /checksum/SHA512/83 864s ok 1566 /checksum/SHA512/84 864s ok 1567 /checksum/SHA512/85 864s ok 1568 /checksum/SHA512/86 864s ok 1569 /checksum/SHA512/87 864s ok 1570 /checksum/SHA512/88 864s ok 1571 /checksum/SHA512/89 864s ok 1572 /checksum/SHA512/90 864s ok 1573 /checksum/SHA512/91 864s ok 1574 /checksum/SHA512/92 864s ok 1575 /checksum/SHA512/93 864s ok 1576 /checksum/SHA512/94 864s ok 1577 /checksum/SHA512/95 864s ok 1578 /checksum/SHA512/96 864s ok 1579 /checksum/SHA512/97 864s ok 1580 /checksum/SHA512/98 864s ok 1581 /checksum/SHA512/99 864s ok 1582 /checksum/SHA512/100 864s ok 1583 /checksum/SHA512/101 864s ok 1584 /checksum/SHA512/102 864s ok 1585 /checksum/SHA512/103 864s ok 1586 /checksum/SHA512/104 864s ok 1587 /checksum/SHA512/105 864s ok 1588 /checksum/SHA512/106 864s ok 1589 /checksum/SHA512/107 864s ok 1590 /checksum/SHA512/108 864s ok 1591 /checksum/SHA512/109 864s ok 1592 /checksum/SHA512/110 864s ok 1593 /checksum/SHA512/111 864s ok 1594 /checksum/SHA512/112 864s ok 1595 /checksum/SHA512/113 864s ok 1596 /checksum/SHA512/114 864s ok 1597 /checksum/SHA512/115 864s ok 1598 /checksum/SHA512/116 864s ok 1599 /checksum/SHA512/117 864s ok 1600 /checksum/SHA512/118 864s ok 1601 /checksum/SHA512/119 864s ok 1602 /checksum/SHA512/120 864s ok 1603 /checksum/SHA512/121 864s ok 1604 /checksum/SHA512/122 864s ok 1605 /checksum/SHA512/123 864s ok 1606 /checksum/SHA512/124 864s ok 1607 /checksum/SHA512/125 864s ok 1608 /checksum/SHA512/126 864s ok 1609 /checksum/SHA512/127 864s ok 1610 /checksum/SHA512/128 864s ok 1611 /checksum/SHA512/129 864s ok 1612 /checksum/SHA512/130 864s ok 1613 /checksum/SHA512/131 864s ok 1614 /checksum/SHA512/132 864s ok 1615 /checksum/SHA512/133 864s ok 1616 /checksum/SHA512/134 864s ok 1617 /checksum/SHA512/135 864s ok 1618 /checksum/SHA512/136 864s ok 1619 /checksum/SHA512/137 864s ok 1620 /checksum/SHA512/138 864s ok 1621 /checksum/SHA512/139 864s ok 1622 /checksum/SHA512/140 864s ok 1623 /checksum/SHA512/141 864s ok 1624 /checksum/SHA512/142 864s ok 1625 /checksum/SHA512/143 864s ok 1626 /checksum/SHA512/144 864s ok 1627 /checksum/SHA512/145 864s ok 1628 /checksum/SHA512/146 864s ok 1629 /checksum/SHA512/147 864s ok 1630 /checksum/SHA512/148 864s ok 1631 /checksum/SHA512/149 864s ok 1632 /checksum/SHA512/150 864s ok 1633 /checksum/SHA512/151 864s ok 1634 /checksum/SHA512/152 864s ok 1635 /checksum/SHA512/153 864s ok 1636 /checksum/SHA512/154 864s ok 1637 /checksum/SHA512/155 864s ok 1638 /checksum/SHA512/156 864s ok 1639 /checksum/SHA512/157 864s ok 1640 /checksum/SHA512/158 864s ok 1641 /checksum/SHA512/159 864s ok 1642 /checksum/SHA512/160 864s ok 1643 /checksum/SHA512/161 864s ok 1644 /checksum/SHA512/162 864s ok 1645 /checksum/SHA512/163 864s ok 1646 /checksum/SHA512/164 864s ok 1647 /checksum/SHA512/165 864s ok 1648 /checksum/SHA512/166 864s ok 1649 /checksum/SHA512/167 864s ok 1650 /checksum/SHA512/168 864s ok 1651 /checksum/SHA512/169 864s ok 1652 /checksum/SHA512/170 864s ok 1653 /checksum/SHA512/171 864s ok 1654 /checksum/SHA512/172 864s ok 1655 /checksum/SHA512/173 864s ok 1656 /checksum/SHA512/174 864s ok 1657 /checksum/SHA512/175 864s ok 1658 /checksum/SHA512/176 864s ok 1659 /checksum/SHA512/177 864s ok 1660 /checksum/SHA512/178 864s ok 1661 /checksum/SHA512/179 864s ok 1662 /checksum/SHA512/180 864s ok 1663 /checksum/SHA512/181 864s ok 1664 /checksum/SHA512/182 864s ok 1665 /checksum/SHA512/183 864s ok 1666 /checksum/SHA512/string 864s ok 1667 /checksum/SHA512/bytes 864s # Start of reset tests 864s ok 1668 /checksum/SHA512/reset/0 864s ok 1669 /checksum/SHA512/reset/1 864s ok 1670 /checksum/SHA512/reset/2 864s ok 1671 /checksum/SHA512/reset/3 864s ok 1672 /checksum/SHA512/reset/4 864s ok 1673 /checksum/SHA512/reset/5 864s ok 1674 /checksum/SHA512/reset/6 864s ok 1675 /checksum/SHA512/reset/7 864s ok 1676 /checksum/SHA512/reset/8 864s ok 1677 /checksum/SHA512/reset/9 864s ok 1678 /checksum/SHA512/reset/10 864s ok 1679 /checksum/SHA512/reset/11 864s ok 1680 /checksum/SHA512/reset/12 864s ok 1681 /checksum/SHA512/reset/13 864s ok 1682 /checksum/SHA512/reset/14 864s ok 1683 /checksum/SHA512/reset/15 864s ok 1684 /checksum/SHA512/reset/16 864s ok 1685 /checksum/SHA512/reset/17 864s ok 1686 /checksum/SHA512/reset/18 864s ok 1687 /checksum/SHA512/reset/19 864s ok 1688 /checksum/SHA512/reset/20 864s ok 1689 /checksum/SHA512/reset/21 864s ok 1690 /checksum/SHA512/reset/22 864s ok 1691 /checksum/SHA512/reset/23 864s ok 1692 /checksum/SHA512/reset/24 864s ok 1693 /checksum/SHA512/reset/25 864s ok 1694 /checksum/SHA512/reset/26 864s ok 1695 /checksum/SHA512/reset/27 864s ok 1696 /checksum/SHA512/reset/28 864s ok 1697 /checksum/SHA512/reset/29 864s ok 1698 /checksum/SHA512/reset/30 864s ok 1699 /checksum/SHA512/reset/31 864s ok 1700 /checksum/SHA512/reset/32 864s ok 1701 /checksum/SHA512/reset/33 864s ok 1702 /checksum/SHA512/reset/34 864s ok 1703 /checksum/SHA512/reset/35 864s ok 1704 /checksum/SHA512/reset/36 864s ok 1705 /checksum/SHA512/reset/37 864s ok 1706 /checksum/SHA512/reset/38 864s ok 1707 /checksum/SHA512/reset/39 864s ok 1708 /checksum/SHA512/reset/40 864s ok 1709 /checksum/SHA512/reset/41 864s ok 1710 /checksum/SHA512/reset/42 864s ok 1711 /checksum/SHA512/reset/43 864s ok 1712 /checksum/SHA512/reset/44 864s ok 1713 /checksum/SHA512/reset/45 864s ok 1714 /checksum/SHA512/reset/46 864s ok 1715 /checksum/SHA512/reset/47 864s ok 1716 /checksum/SHA512/reset/48 864s ok 1717 /checksum/SHA512/reset/49 864s ok 1718 /checksum/SHA512/reset/50 864s ok 1719 /checksum/SHA512/reset/51 864s ok 1720 /checksum/SHA512/reset/52 864s ok 1721 /checksum/SHA512/reset/53 864s ok 1722 /checksum/SHA512/reset/54 864s ok 1723 /checksum/SHA512/reset/55 864s ok 1724 /checksum/SHA512/reset/56 864s ok 1725 /checksum/SHA512/reset/57 864s ok 1726 /checksum/SHA512/reset/58 864s ok 1727 /checksum/SHA512/reset/59 864s ok 1728 /checksum/SHA512/reset/60 864s ok 1729 /checksum/SHA512/reset/61 864s ok 1730 /checksum/SHA512/reset/62 864s ok 1731 /checksum/SHA512/reset/63 864s ok 1732 /checksum/SHA512/reset/64 864s ok 1733 /checksum/SHA512/reset/65 864s ok 1734 /checksum/SHA512/reset/66 864s ok 1735 /checksum/SHA512/reset/67 864s ok 1736 /checksum/SHA512/reset/68 864s ok 1737 /checksum/SHA512/reset/69 864s ok 1738 /checksum/SHA512/reset/70 864s ok 1739 /checksum/SHA512/reset/71 864s ok 1740 /checksum/SHA512/reset/72 864s ok 1741 /checksum/SHA512/reset/73 864s ok 1742 /checksum/SHA512/reset/74 864s ok 1743 /checksum/SHA512/reset/75 864s ok 1744 /checksum/SHA512/reset/76 864s ok 1745 /checksum/SHA512/reset/77 864s ok 1746 /checksum/SHA512/reset/78 864s ok 1747 /checksum/SHA512/reset/79 864s ok 1748 /checksum/SHA512/reset/80 864s ok 1749 /checksum/SHA512/reset/81 864s ok 1750 /checksum/SHA512/reset/82 864s ok 1751 /checksum/SHA512/reset/83 864s ok 1752 /checksum/SHA512/reset/84 864s ok 1753 /checksum/SHA512/reset/85 864s ok 1754 /checksum/SHA512/reset/86 864s ok 1755 /checksum/SHA512/reset/87 864s ok 1756 /checksum/SHA512/reset/88 864s ok 1757 /checksum/SHA512/reset/89 864s ok 1758 /checksum/SHA512/reset/90 864s ok 1759 /checksum/SHA512/reset/91 864s ok 1760 /checksum/SHA512/reset/92 864s ok 1761 /checksum/SHA512/reset/93 864s ok 1762 /checksum/SHA512/reset/94 864s ok 1763 /checksum/SHA512/reset/95 864s ok 1764 /checksum/SHA512/reset/96 864s ok 1765 /checksum/SHA512/reset/97 864s ok 1766 /checksum/SHA512/reset/98 864s ok 1767 /checksum/SHA512/reset/99 864s ok 1768 /checksum/SHA512/reset/100 864s ok 1769 /checksum/SHA512/reset/101 864s ok 1770 /checksum/SHA512/reset/102 864s ok 1771 /checksum/SHA512/reset/103 864s ok 1772 /checksum/SHA512/reset/104 864s ok 1773 /checksum/SHA512/reset/105 864s ok 1774 /checksum/SHA512/reset/106 864s ok 1775 /checksum/SHA512/reset/107 864s ok 1776 /checksum/SHA512/reset/108 864s ok 1777 /checksum/SHA512/reset/109 864s ok 1778 /checksum/SHA512/reset/110 864s ok 1779 /checksum/SHA512/reset/111 864s ok 1780 /checksum/SHA512/reset/112 864s ok 1781 /checksum/SHA512/reset/113 864s ok 1782 /checksum/SHA512/reset/114 864s ok 1783 /checksum/SHA512/reset/115 864s ok 1784 /checksum/SHA512/reset/116 864s ok 1785 /checksum/SHA512/reset/117 864s ok 1786 /checksum/SHA512/reset/118 864s ok 1787 /checksum/SHA512/reset/119 864s ok 1788 /checksum/SHA512/reset/120 864s ok 1789 /checksum/SHA512/reset/121 864s ok 1790 /checksum/SHA512/reset/122 864s ok 1791 /checksum/SHA512/reset/123 864s ok 1792 /checksum/SHA512/reset/124 864s ok 1793 /checksum/SHA512/reset/125 864s ok 1794 /checksum/SHA512/reset/126 864s ok 1795 /checksum/SHA512/reset/127 864s ok 1796 /checksum/SHA512/reset/128 864s ok 1797 /checksum/SHA512/reset/129 864s ok 1798 /checksum/SHA512/reset/130 864s ok 1799 /checksum/SHA512/reset/131 864s ok 1800 /checksum/SHA512/reset/132 864s ok 1801 /checksum/SHA512/reset/133 864s ok 1802 /checksum/SHA512/reset/134 864s ok 1803 /checksum/SHA512/reset/135 864s ok 1804 /checksum/SHA512/reset/136 864s ok 1805 /checksum/SHA512/reset/137 864s ok 1806 /checksum/SHA512/reset/138 864s ok 1807 /checksum/SHA512/reset/139 864s ok 1808 /checksum/SHA512/reset/140 864s ok 1809 /checksum/SHA512/reset/141 864s ok 1810 /checksum/SHA512/reset/142 864s ok 1811 /checksum/SHA512/reset/143 864s ok 1812 /checksum/SHA512/reset/144 864s ok 1813 /checksum/SHA512/reset/145 864s ok 1814 /checksum/SHA512/reset/146 864s ok 1815 /checksum/SHA512/reset/147 864s ok 1816 /checksum/SHA512/reset/148 864s ok 1817 /checksum/SHA512/reset/149 864s ok 1818 /checksum/SHA512/reset/150 864s ok 1819 /checksum/SHA512/reset/151 864s ok 1820 /checksum/SHA512/reset/152 864s ok 1821 /checksum/SHA512/reset/153 864s ok 1822 /checksum/SHA512/reset/154 864s ok 1823 /checksum/SHA512/reset/155 864s ok 1824 /checksum/SHA512/reset/156 864s ok 1825 /checksum/SHA512/reset/157 864s ok 1826 /checksum/SHA512/reset/158 864s ok 1827 /checksum/SHA512/reset/159 864s ok 1828 /checksum/SHA512/reset/160 864s ok 1829 /checksum/SHA512/reset/161 864s ok 1830 /checksum/SHA512/reset/162 864s ok 1831 /checksum/SHA512/reset/163 864s ok 1832 /checksum/SHA512/reset/164 864s ok 1833 /checksum/SHA512/reset/165 864s ok 1834 /checksum/SHA512/reset/166 864s ok 1835 /checksum/SHA512/reset/167 864s ok 1836 /checksum/SHA512/reset/168 864s ok 1837 /checksum/SHA512/reset/169 864s ok 1838 /checksum/SHA512/reset/170 864s ok 1839 /checksum/SHA512/reset/171 864s ok 1840 /checksum/SHA512/reset/172 864s ok 1841 /checksum/SHA512/reset/173 864s ok 1842 /checksum/SHA512/reset/174 864s ok 1843 /checksum/SHA512/reset/175 864s ok 1844 /checksum/SHA512/reset/176 864s ok 1845 /checksum/SHA512/reset/177 864s ok 1846 /checksum/SHA512/reset/178 864s ok 1847 /checksum/SHA512/reset/179 864s ok 1848 /checksum/SHA512/reset/180 864s ok - glib/checksum.test 864s ok 1849 /checksum/SHA512/reset/181 864s ok 1850 /checksum/SHA512/reset/182 864s ok 1851 /checksum/SHA512/reset/183 864s # End of reset tests 864s # End of SHA512 tests 864s # End of checksum tests 864s # Running test: glib/autoptr.test 864s TAP version 14 864s # random seed: R02S9abdecc0fdee22a4ffd9b0810dba7bbb 864s 1..6 864s # Start of autoptr tests 864s ok 1 /autoptr/autoptr 864s ok 2 /autoptr/autoptr_steal 864s ok 3 /autoptr/autolist 864s ok 4 /autoptr/autoslist 864s ok 5 /autoptr/autoqueue 864s ok 6 /autoptr/autoclass 864s # End of autoptr tests 864s ok - glib/autoptr.test 864s # Running test: glib/gdbus-bz627724.test 864s TAP version 14 864s # random seed: R02Se0fdd3f398656b803e2d5b524a9d94ab 864s 1..1 864s # Start of gdbus tests 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_M6YRJ3/gdbus/bz627724/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_M6YRJ3/gdbus/bz627724/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_M6YRJ3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_M6YRJ3/gdbus/bz627724/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_M6YRJ3/gdbus/bz627724/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_M6YRJ3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_M6YRJ3/gdbus/bz627724/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_M6YRJ3/gdbus/bz627724/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_M6YRJ3/gdbus/bz627724/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_M6YRJ3/gdbus/bz627724/.dirs/runtime 864s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 864s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 864s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 864s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 864s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 864s ok 1 /gdbus/bz627724 864s # End of gdbus tests 864s ok - glib/gdbus-bz627724.test 864s # Running test: glib/callable-info.test 864s ok - glib/callable-info.test 864s # Running test: glib/data-input-stream.test 864s TAP version 14 864s # random seed: R02S713959a92f584c8617b797ef5ea15f66 864s 1..6 864s # Start of callable-info tests 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7AJRJ3/callable-info/sync-function/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/sync-function/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_7AJRJ3/callable-info/sync-function/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/sync-function/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_7AJRJ3/callable-info/sync-function/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/sync-function/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/sync-function/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7AJRJ3/callable-info/sync-function/.dirs/runtime 864s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 864s ok 1 /callable-info/sync-function 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7AJRJ3/callable-info/async-function/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/async-function/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_7AJRJ3/callable-info/async-function/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/async-function/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_7AJRJ3/callable-info/async-function/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/async-function/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/async-function/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7AJRJ3/callable-info/async-function/.dirs/runtime 864s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 864s ok 2 /callable-info/async-function 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7AJRJ3/callable-info/is-method/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/is-method/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_7AJRJ3/callable-info/is-method/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/is-method/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_7AJRJ3/callable-info/is-method/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/is-method/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/is-method/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7AJRJ3/callable-info/is-method/.dirs/runtime 864s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 864s ok 3 /callable-info/is-method 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7AJRJ3/callable-info/static-method/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/static-method/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_7AJRJ3/callable-info/static-method/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/static-method/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_7AJRJ3/callable-info/static-method/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/static-method/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/static-method/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7AJRJ3/callable-info/static-method/.dirs/runtime 864s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 864s ok 4 /callable-info/static-method 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7AJRJ3/callable-info/static-vfunc/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/static-vfunc/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_7AJRJ3/callable-info/static-vfunc/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/static-vfunc/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_7AJRJ3/callable-info/static-vfunc/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/static-vfunc/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/static-vfunc/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7AJRJ3/callable-info/static-vfunc/.dirs/runtime 864s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 864s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 864s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 864s # Start of platform tests 864s # Start of unix tests 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7AJRJ3/callable-info/platform/unix/is-method/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/platform/unix/is-method/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_7AJRJ3/callable-info/platform/unix/is-method/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/platform/unix/is-method/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7AJRJ3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_7AJRJ3/callable-info/platform/unix/is-method/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/platform/unix/is-method/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7AJRJ3/callable-info/platform/unix/is-method/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7AJRJ3/callable-info/platform/unix/is-method/.dirs/runtime 864s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 864s # Checking DesktopAppInfo in Gio 864s # Checking DesktopAppInfo in GioUnix 864s ok 6 /callable-info/platform/unix/is-method 864s # End of unix tests 864s # End of platform tests 864s # End of callable-info tests 864s TAP version 14 864s # random seed: R02Sd9ccfb3cff89691439edac6c1b11fd5c 864s 1..10 864s # Start of data-input-stream tests 864s ok 1 /data-input-stream/basic 864s ok 2 /data-input-stream/read-lines-LF 864s ok 3 /data-input-stream/read-lines-LF-valid-utf8 864s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 864s ok 5 /data-input-stream/read-lines-CR 864s ok 6 /data-input-stream/read-lines-CR-LF 864s ok 7 /data-input-stream/read-lines-any 864s ok 8 /data-input-stream/read-until 864s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 864s # Test vector 1: {"key": "value"}? and ? 864s ok 9 /data-input-stream/read-upto 864s ok - glib/data-input-stream.test 864s ok 10 /data-input-stream/read-int 864s # End of data-input-stream tests 864s # Running test: glib/gdbus-message.test 864s TAP version 14 864s # random seed: R02S13c360051df9b08fdd54dd9451267e9d 864s 1..3 864s # Start of gdbus tests 864s # Start of message tests 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/lock/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/lock/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_SFU0J3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_SFU0J3/gdbus/message/lock/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/lock/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_SFU0J3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_SFU0J3/gdbus/message/lock/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/lock/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/lock/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_SFU0J3/gdbus/message/lock/.dirs/runtime 864s ok 1 /gdbus/message/lock 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/copy/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/copy/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_SFU0J3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_SFU0J3/gdbus/message/copy/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/copy/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_SFU0J3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_SFU0J3/gdbus/message/copy/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/copy/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/copy/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_SFU0J3/gdbus/message/copy/.dirs/runtime 864s ok 2 /gdbus/message/copy 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/bytes-needed/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/bytes-needed/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_SFU0J3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_SFU0J3/gdbus/message/bytes-needed/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/bytes-needed/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_SFU0J3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_SFU0J3/gdbus/message/bytes-needed/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/bytes-needed/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_SFU0J3/gdbus/message/bytes-needed/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_SFU0J3/gdbus/message/bytes-needed/.dirs/runtime 864s # Vector: 0 864s # Vector: 1 864s # Vector: 2 864s # Vector: 3 864s # Vector: 4 864s # Vector: 5 864s ok 3 /gdbus/message/bytes-needed 864s # End of message tests 864s # End of gdbus tests 864s ok - glib/gdbus-message.test 865s # Running test: glib/io-channel-basic.test 865s TAP version 14 865s # random seed: R02S4630a9b2958b15a2914ae285491d0ef6 865s 1..1 865s # Start of gio tests 865s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 865s # random seed: R02S54c1487d9fca112693bf19dbb65fdded 865s # GLib-DEBUG: io-channel-basic: child writing 8+859 bytes to 6 865s # GLib-DEBUG: io-channel-basic: ...from 5: IN 865s # GLib-DEBUG: io-channel-basic: ...from 5: 859 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 5: OK 865s # GLib-DEBUG: io-channel-basic: child writing 8+4862 bytes to 6 865s # GLib-DEBUG: io-channel-basic: ...from 5: IN 865s # GLib-DEBUG: io-channel-basic: ...from 5: 4862 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 5: OK 865s # GLib-DEBUG: io-channel-basic: child writing 8+3443 bytes to 6 865s # GLib-DEBUG: io-channel-basic: ...from 5: IN 865s # GLib-DEBUG: io-channel-basic: ...from 5: 3443 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 5: OK 866s # GLib-DEBUG: io-channel-basic: child writing 8+3730 bytes to 6 866s # GLib-DEBUG: io-channel-basic: ...from 5: IN 866s # GLib-DEBUG: io-channel-basic: ...from 5: 3730 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 5: OK 866s # GLib-DEBUG: io-channel-basic: child writing 8+2341 bytes to 6 866s # GLib-DEBUG: io-channel-basic: ...from 5: IN 866s # GLib-DEBUG: io-channel-basic: ...from 5: 2341 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 5: OK 866s # GLib-DEBUG: io-channel-basic: child writing 8+4974 bytes to 6 866s # GLib-DEBUG: io-channel-basic: ...from 5: IN 866s # GLib-DEBUG: io-channel-basic: ...from 5: 4974 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 5: OK 866s # GLib-DEBUG: io-channel-basic: child writing 8+2458 bytes to 6 866s # GLib-DEBUG: io-channel-basic: ...from 5: IN 866s # GLib-DEBUG: io-channel-basic: ...from 5: 2458 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 5: OK 867s # GLib-DEBUG: io-channel-basic: child writing 8+3391 bytes to 6 867s # GLib-DEBUG: io-channel-basic: ...from 5: IN 867s # GLib-DEBUG: io-channel-basic: ...from 5: 3391 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 5: OK 867s # GLib-DEBUG: io-channel-basic: child writing 8+3392 bytes to 6 867s # GLib-DEBUG: io-channel-basic: ...from 5: IN 867s # GLib-DEBUG: io-channel-basic: ...from 5: 3392 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 5: OK 867s # GLib-DEBUG: io-channel-basic: child writing 8+1994 bytes to 6 867s # GLib-DEBUG: io-channel-basic: ...from 5: IN 867s # GLib-DEBUG: io-channel-basic: ...from 5: 1994 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 5: OK 867s # GLib-DEBUG: io-channel-basic: child writing 8+2112 bytes to 6 867s # GLib-DEBUG: io-channel-basic: ...from 5: IN 867s # GLib-DEBUG: io-channel-basic: ...from 5: 2112 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 5: OK 868s # GLib-DEBUG: io-channel-basic: child writing 8+4512 bytes to 6 868s # GLib-DEBUG: io-channel-basic: ...from 5: IN 868s # GLib-DEBUG: io-channel-basic: ...from 5: 4512 bytes 868s # GLib-DEBUG: io-channel-basic: ...from 5: OK 868s # GLib-DEBUG: io-channel-basic: child writing 8+715 bytes to 6 868s # GLib-DEBUG: io-channel-basic: ...from 5: IN 868s # GLib-DEBUG: io-channel-basic: ...from 5: 715 bytes 868s # GLib-DEBUG: io-channel-basic: ...from 5: OK 868s # GLib-DEBUG: io-channel-basic: child writing 8+2206 bytes to 6 868s # GLib-DEBUG: io-channel-basic: ...from 5: IN 868s # GLib-DEBUG: io-channel-basic: ...from 5: 2206 bytes 868s # GLib-DEBUG: io-channel-basic: ...from 5: OK 868s # Executing: glib/io-channel-basic.test 869s # GLib-DEBUG: io-channel-basic: child writing 8+2177 bytes to 6 869s # GLib-DEBUG: io-channel-basic: ...from 5: IN 869s # GLib-DEBUG: io-channel-basic: ...from 5: 2177 bytes 869s # GLib-DEBUG: io-channel-basic: ...from 5: OK 869s # GLib-DEBUG: io-channel-basic: child writing 8+1410 bytes to 6 869s # GLib-DEBUG: io-channel-basic: ...from 5: IN 869s # GLib-DEBUG: io-channel-basic: ...from 5: 1410 bytes 869s # GLib-DEBUG: io-channel-basic: ...from 5: OK 869s # GLib-DEBUG: io-channel-basic: child writing 8+773 bytes to 6 869s # GLib-DEBUG: io-channel-basic: ...from 5: IN 869s # GLib-DEBUG: io-channel-basic: ...from 5: 773 bytes 869s # GLib-DEBUG: io-channel-basic: ...from 5: OK 869s # GLib-DEBUG: io-channel-basic: child writing 8+374 bytes to 6 869s # GLib-DEBUG: io-channel-basic: ...from 5: IN 869s # GLib-DEBUG: io-channel-basic: ...from 5: 374 bytes 869s # GLib-DEBUG: io-channel-basic: ...from 5: OK 870s # GLib-DEBUG: io-channel-basic: child writing 8+60 bytes to 6 870s # GLib-DEBUG: io-channel-basic: ...from 5: IN 870s # GLib-DEBUG: io-channel-basic: ...from 5: 60 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 5: OK 870s # GLib-DEBUG: io-channel-basic: child writing 8+4781 bytes to 6 870s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 870s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 870s # GLib-DEBUG: io-channel-basic: ...from 5: 4781 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 5: OK 870s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 870s # random seed: R02S8126cbc15ed0d16005c91655fe64d005 870s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 870s # random seed: R02S3221222e750e64250e1b98f993298542 870s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 870s # random seed: R02S43349fd8670c8ee307de63f5d8b35319 870s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 870s # random seed: R02S9ba834c623387d2c0e035f89a3c488b4 870s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 870s # random seed: R02S7db74c7dcd3062bddc8e328b03bf1620 870s # GLib-DEBUG: io-channel-basic: child writing 8+4441 bytes to 9 870s # GLib-DEBUG: io-channel-basic: ...from 8: IN 870s # GLib-DEBUG: io-channel-basic: ...from 8: 4441 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 8: OK 870s # GLib-DEBUG: io-channel-basic: child writing 8+2161 bytes to 15 870s # GLib-DEBUG: io-channel-basic: ...from 14: IN 870s # GLib-DEBUG: io-channel-basic: ...from 14: 2161 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 14: OK 870s # GLib-DEBUG: io-channel-basic: child writing 8+2640 bytes to 17 870s # GLib-DEBUG: io-channel-basic: ...from 16: IN 870s # GLib-DEBUG: io-channel-basic: ...from 16: 2640 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 16: OK 870s # GLib-DEBUG: io-channel-basic: child writing 8+3570 bytes to 11 870s # GLib-DEBUG: io-channel-basic: ...from 10: IN 870s # GLib-DEBUG: io-channel-basic: ...from 10: 3570 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 10: OK 870s # GLib-DEBUG: io-channel-basic: child writing 8+4854 bytes to 13 870s # GLib-DEBUG: io-channel-basic: ...from 12: IN 870s # GLib-DEBUG: io-channel-basic: ...from 12: 4854 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 12: OK 870s # GLib-DEBUG: io-channel-basic: child writing 8+3980 bytes to 11 870s # GLib-DEBUG: io-channel-basic: child writing 8+2360 bytes to 13 870s # GLib-DEBUG: io-channel-basic: ...from 10: IN 870s # GLib-DEBUG: io-channel-basic: ...from 10: 3980 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 10: OK 870s # GLib-DEBUG: io-channel-basic: ...from 12: IN 870s # GLib-DEBUG: io-channel-basic: ...from 12: 2360 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 12: OK 870s # GLib-DEBUG: io-channel-basic: child writing 8+3060 bytes to 17 870s # GLib-DEBUG: io-channel-basic: ...from 16: IN 870s # GLib-DEBUG: io-channel-basic: ...from 16: 3060 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 16: OK 870s # GLib-DEBUG: io-channel-basic: child writing 8+4391 bytes to 9 870s # GLib-DEBUG: io-channel-basic: ...from 8: IN 870s # GLib-DEBUG: io-channel-basic: ...from 8: 4391 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 8: OK 870s # GLib-DEBUG: io-channel-basic: child writing 8+4116 bytes to 15 870s # GLib-DEBUG: io-channel-basic: ...from 14: IN 870s # GLib-DEBUG: io-channel-basic: ...from 14: 4116 bytes 870s # GLib-DEBUG: io-channel-basic: ...from 14: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+4261 bytes to 15 871s # GLib-DEBUG: io-channel-basic: ...from 14: IN 871s # GLib-DEBUG: io-channel-basic: ...from 14: 4261 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 14: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+2125 bytes to 11 871s # GLib-DEBUG: io-channel-basic: ...from 10: IN 871s # GLib-DEBUG: io-channel-basic: ...from 10: 2125 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 10: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+4683 bytes to 13 871s # GLib-DEBUG: io-channel-basic: ...from 12: IN 871s # GLib-DEBUG: io-channel-basic: ...from 12: 4683 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 12: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+3825 bytes to 17 871s # GLib-DEBUG: io-channel-basic: child writing 8+4990 bytes to 9 871s # GLib-DEBUG: io-channel-basic: ...from 8: IN 871s # GLib-DEBUG: io-channel-basic: ...from 8: 4990 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 8: OK 871s # GLib-DEBUG: io-channel-basic: ...from 16: IN 871s # GLib-DEBUG: io-channel-basic: ...from 16: 3825 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 16: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+79 bytes to 11 871s # GLib-DEBUG: io-channel-basic: ...from 10: IN 871s # GLib-DEBUG: io-channel-basic: ...from 10: 79 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 10: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+4340 bytes to 13 871s # GLib-DEBUG: io-channel-basic: ...from 12: IN 871s # GLib-DEBUG: io-channel-basic: ...from 12: 4340 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 12: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+4053 bytes to 15 871s # GLib-DEBUG: io-channel-basic: ...from 14: IN 871s # GLib-DEBUG: io-channel-basic: ...from 14: 4053 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 14: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+2178 bytes to 17 871s # GLib-DEBUG: io-channel-basic: ...from 16: IN 871s # GLib-DEBUG: io-channel-basic: ...from 16: 2178 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 16: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+2497 bytes to 9 871s # GLib-DEBUG: io-channel-basic: ...from 8: IN 871s # GLib-DEBUG: io-channel-basic: ...from 8: 2497 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 8: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+2917 bytes to 11 871s # GLib-DEBUG: io-channel-basic: ...from 10: IN 871s # GLib-DEBUG: io-channel-basic: ...from 10: 2917 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 10: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+3850 bytes to 13 871s # GLib-DEBUG: io-channel-basic: ...from 12: IN 871s # GLib-DEBUG: io-channel-basic: ...from 12: 3850 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 12: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+1244 bytes to 15 871s # GLib-DEBUG: io-channel-basic: ...from 14: IN 871s # GLib-DEBUG: io-channel-basic: ...from 14: 1244 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 14: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+3279 bytes to 17 871s # GLib-DEBUG: io-channel-basic: ...from 16: IN 871s # GLib-DEBUG: io-channel-basic: ...from 16: 3279 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 16: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+1362 bytes to 9 871s # GLib-DEBUG: io-channel-basic: ...from 8: IN 871s # GLib-DEBUG: io-channel-basic: ...from 8: 1362 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 8: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+4271 bytes to 17 871s # GLib-DEBUG: io-channel-basic: ...from 16: IN 871s # GLib-DEBUG: io-channel-basic: ...from 16: 4271 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 16: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+4083 bytes to 11 871s # GLib-DEBUG: io-channel-basic: ...from 10: IN 871s # GLib-DEBUG: io-channel-basic: ...from 10: 4083 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 10: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+3563 bytes to 13 871s # GLib-DEBUG: io-channel-basic: ...from 12: IN 871s # GLib-DEBUG: io-channel-basic: ...from 12: 3563 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 12: OK 871s # GLib-DEBUG: io-channel-basic: child writing 8+3616 bytes to 15 871s # GLib-DEBUG: io-channel-basic: ...from 14: IN 871s # GLib-DEBUG: io-channel-basic: ...from 14: 3616 bytes 871s # GLib-DEBUG: io-channel-basic: ...from 14: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+2532 bytes to 9 872s # GLib-DEBUG: io-channel-basic: ...from 8: IN 872s # GLib-DEBUG: io-channel-basic: ...from 8: 2532 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 8: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+4978 bytes to 11 872s # GLib-DEBUG: io-channel-basic: ...from 10: IN 872s # GLib-DEBUG: io-channel-basic: ...from 10: 4978 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 10: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+4167 bytes to 13 872s # GLib-DEBUG: io-channel-basic: ...from 12: IN 872s # GLib-DEBUG: io-channel-basic: ...from 12: 4167 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 12: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+2075 bytes to 17 872s # GLib-DEBUG: io-channel-basic: ...from 16: IN 872s # GLib-DEBUG: io-channel-basic: ...from 16: 2075 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 16: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+1108 bytes to 9 872s # GLib-DEBUG: io-channel-basic: ...from 8: IN 872s # GLib-DEBUG: io-channel-basic: ...from 8: 1108 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 8: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+633 bytes to 15 872s # GLib-DEBUG: io-channel-basic: ...from 14: IN 872s # GLib-DEBUG: io-channel-basic: ...from 14: 633 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 14: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+1703 bytes to 11 872s # GLib-DEBUG: io-channel-basic: ...from 10: IN 872s # GLib-DEBUG: io-channel-basic: ...from 10: 1703 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 10: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+2787 bytes to 17 872s # GLib-DEBUG: io-channel-basic: ...from 16: IN 872s # GLib-DEBUG: io-channel-basic: ...from 16: 2787 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 16: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+1522 bytes to 13 872s # GLib-DEBUG: io-channel-basic: ...from 12: IN 872s # GLib-DEBUG: io-channel-basic: ...from 12: 1522 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 12: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+1716 bytes to 9 872s # GLib-DEBUG: io-channel-basic: ...from 8: IN 872s # GLib-DEBUG: io-channel-basic: ...from 8: 1716 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 8: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+2389 bytes to 15 872s # GLib-DEBUG: io-channel-basic: ...from 14: IN 872s # GLib-DEBUG: io-channel-basic: ...from 14: 2389 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 14: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+1207 bytes to 11 872s # GLib-DEBUG: io-channel-basic: ...from 10: IN 872s # GLib-DEBUG: io-channel-basic: ...from 10: 1207 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 10: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+281 bytes to 17 872s # GLib-DEBUG: io-channel-basic: ...from 16: IN 872s # GLib-DEBUG: io-channel-basic: ...from 16: 281 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 16: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+3788 bytes to 13 872s # GLib-DEBUG: io-channel-basic: ...from 12: IN 872s # GLib-DEBUG: io-channel-basic: ...from 12: 3788 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 12: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+4496 bytes to 9 872s # GLib-DEBUG: io-channel-basic: ...from 8: IN 872s # GLib-DEBUG: io-channel-basic: ...from 8: 4496 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 8: OK 872s # GLib-DEBUG: io-channel-basic: child writing 8+973 bytes to 15 872s # GLib-DEBUG: io-channel-basic: ...from 14: IN 872s # GLib-DEBUG: io-channel-basic: ...from 14: 973 bytes 872s # GLib-DEBUG: io-channel-basic: ...from 14: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+3480 bytes to 11 873s # GLib-DEBUG: io-channel-basic: ...from 10: IN 873s # GLib-DEBUG: io-channel-basic: ...from 10: 3480 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 10: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+2243 bytes to 13 873s # GLib-DEBUG: io-channel-basic: ...from 12: IN 873s # GLib-DEBUG: io-channel-basic: ...from 12: 2243 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 12: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+2310 bytes to 17 873s # GLib-DEBUG: io-channel-basic: ...from 16: IN 873s # GLib-DEBUG: io-channel-basic: ...from 16: 2310 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 16: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+4923 bytes to 9 873s # GLib-DEBUG: io-channel-basic: ...from 8: IN 873s # GLib-DEBUG: io-channel-basic: ...from 8: 4923 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 8: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+106 bytes to 15 873s # GLib-DEBUG: io-channel-basic: ...from 14: IN 873s # GLib-DEBUG: io-channel-basic: ...from 14: 106 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 14: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+2089 bytes to 11 873s # GLib-DEBUG: io-channel-basic: ...from 10: IN 873s # GLib-DEBUG: io-channel-basic: ...from 10: 2089 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 10: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+1985 bytes to 9 873s # GLib-DEBUG: io-channel-basic: ...from 8: IN 873s # GLib-DEBUG: io-channel-basic: ...from 8: 1985 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 8: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+4927 bytes to 17 873s # GLib-DEBUG: io-channel-basic: ...from 16: IN 873s # GLib-DEBUG: io-channel-basic: ...from 16: 4927 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 16: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+2450 bytes to 13 873s # GLib-DEBUG: io-channel-basic: ...from 12: IN 873s # GLib-DEBUG: io-channel-basic: ...from 12: 2450 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 12: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+4712 bytes to 15 873s # GLib-DEBUG: io-channel-basic: ...from 14: IN 873s # GLib-DEBUG: io-channel-basic: ...from 14: 4712 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 14: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+1320 bytes to 11 873s # GLib-DEBUG: io-channel-basic: child writing 8+3795 bytes to 17 873s # GLib-DEBUG: io-channel-basic: ...from 10: IN 873s # GLib-DEBUG: io-channel-basic: ...from 10: 1320 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 10: OK 873s # GLib-DEBUG: io-channel-basic: ...from 16: IN 873s # GLib-DEBUG: io-channel-basic: ...from 16: 3795 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 16: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+4951 bytes to 9 873s # GLib-DEBUG: io-channel-basic: ...from 8: IN 873s # GLib-DEBUG: io-channel-basic: ...from 8: 4951 bytes 873s # GLib-DEBUG: io-channel-basic: child writing 8+1819 bytes to 13 873s # GLib-DEBUG: io-channel-basic: ...from 8: OK 873s # GLib-DEBUG: io-channel-basic: ...from 12: IN 873s # GLib-DEBUG: io-channel-basic: ...from 12: 1819 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 12: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+3179 bytes to 15 873s # GLib-DEBUG: io-channel-basic: ...from 14: IN 873s # GLib-DEBUG: io-channel-basic: ...from 14: 3179 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 14: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+1481 bytes to 11 873s # GLib-DEBUG: io-channel-basic: ...from 10: IN 873s # GLib-DEBUG: io-channel-basic: ...from 10: 1481 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 10: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+3020 bytes to 9 873s # GLib-DEBUG: io-channel-basic: ...from 8: IN 873s # GLib-DEBUG: io-channel-basic: ...from 8: 3020 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 8: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+863 bytes to 17 873s # GLib-DEBUG: io-channel-basic: ...from 16: IN 873s # GLib-DEBUG: io-channel-basic: ...from 16: 863 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 16: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+3793 bytes to 13 873s # GLib-DEBUG: io-channel-basic: ...from 12: IN 873s # GLib-DEBUG: io-channel-basic: ...from 12: 3793 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 12: OK 873s # GLib-DEBUG: io-channel-basic: child writing 8+1719 bytes to 15 873s # GLib-DEBUG: io-channel-basic: ...from 14: IN 873s # GLib-DEBUG: io-channel-basic: ...from 14: 1719 bytes 873s # GLib-DEBUG: io-channel-basic: ...from 14: OK 873s # Executing: glib/io-channel-basic.test 874s # GLib-DEBUG: io-channel-basic: child writing 8+367 bytes to 11 874s # GLib-DEBUG: io-channel-basic: ...from 10: IN 874s # GLib-DEBUG: io-channel-basic: ...from 10: 367 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 10: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+1163 bytes to 9 874s # GLib-DEBUG: io-channel-basic: ...from 8: IN 874s # GLib-DEBUG: io-channel-basic: ...from 8: 1163 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 8: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+2174 bytes to 17 874s # GLib-DEBUG: io-channel-basic: ...from 16: IN 874s # GLib-DEBUG: io-channel-basic: ...from 16: 2174 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 16: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+1767 bytes to 13 874s # GLib-DEBUG: io-channel-basic: ...from 12: IN 874s # GLib-DEBUG: io-channel-basic: ...from 12: 1767 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 12: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+2137 bytes to 15 874s # GLib-DEBUG: io-channel-basic: ...from 14: IN 874s # GLib-DEBUG: io-channel-basic: ...from 14: 2137 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 14: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+4584 bytes to 11 874s # GLib-DEBUG: io-channel-basic: ...from 10: IN 874s # GLib-DEBUG: io-channel-basic: ...from 10: 4584 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 10: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+2361 bytes to 9 874s # GLib-DEBUG: io-channel-basic: ...from 8: IN 874s # GLib-DEBUG: io-channel-basic: ...from 8: 2361 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 8: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+1756 bytes to 17 874s # GLib-DEBUG: io-channel-basic: ...from 16: IN 874s # GLib-DEBUG: io-channel-basic: ...from 16: 1756 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 16: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+3678 bytes to 13 874s # GLib-DEBUG: io-channel-basic: ...from 12: IN 874s # GLib-DEBUG: io-channel-basic: ...from 12: 3678 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 12: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+3065 bytes to 15 874s # GLib-DEBUG: io-channel-basic: ...from 14: IN 874s # GLib-DEBUG: io-channel-basic: ...from 14: 3065 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 14: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+4729 bytes to 11 874s # GLib-DEBUG: io-channel-basic: ...from 10: IN 874s # GLib-DEBUG: io-channel-basic: ...from 10: 4729 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 10: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+1818 bytes to 9 874s # GLib-DEBUG: io-channel-basic: ...from 8: IN 874s # GLib-DEBUG: io-channel-basic: ...from 8: 1818 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 8: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+487 bytes to 17 874s # GLib-DEBUG: io-channel-basic: ...from 16: IN 874s # GLib-DEBUG: io-channel-basic: ...from 16: 487 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 16: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+3407 bytes to 13 874s # GLib-DEBUG: io-channel-basic: ...from 12: IN 874s # GLib-DEBUG: io-channel-basic: ...from 12: 3407 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 12: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+4134 bytes to 15 874s # GLib-DEBUG: io-channel-basic: ...from 14: IN 874s # GLib-DEBUG: io-channel-basic: ...from 14: 4134 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 14: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+1929 bytes to 11 874s # GLib-DEBUG: io-channel-basic: ...from 10: IN 874s # GLib-DEBUG: io-channel-basic: ...from 10: 1929 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 10: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+3458 bytes to 17 874s # GLib-DEBUG: io-channel-basic: ...from 16: IN 874s # GLib-DEBUG: io-channel-basic: ...from 16: 3458 bytes 874s # GLib-DEBUG: io-channel-basic: child writing 8+179 bytes to 9 874s # GLib-DEBUG: io-channel-basic: child writing 8+521 bytes to 13 874s # GLib-DEBUG: io-channel-basic: ...from 16: OK 874s # GLib-DEBUG: io-channel-basic: ...from 8: IN 874s # GLib-DEBUG: io-channel-basic: ...from 8: 179 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 8: OK 874s # GLib-DEBUG: io-channel-basic: ...from 12: IN 874s # GLib-DEBUG: io-channel-basic: ...from 12: 521 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 12: OK 874s # GLib-DEBUG: io-channel-basic: child writing 8+3716 bytes to 15 874s # GLib-DEBUG: io-channel-basic: ...from 14: IN 874s # GLib-DEBUG: io-channel-basic: ...from 14: 3716 bytes 874s # GLib-DEBUG: io-channel-basic: ...from 14: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+245 bytes to 11 875s # GLib-DEBUG: io-channel-basic: ...from 10: IN 875s # GLib-DEBUG: io-channel-basic: ...from 10: 245 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 10: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+4283 bytes to 17 875s # GLib-DEBUG: io-channel-basic: ...from 16: IN 875s # GLib-DEBUG: io-channel-basic: ...from 16: 4283 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 16: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+1719 bytes to 13 875s # GLib-DEBUG: io-channel-basic: ...from 12: IN 875s # GLib-DEBUG: io-channel-basic: ...from 12: 1719 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 12: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+103 bytes to 9 875s # GLib-DEBUG: io-channel-basic: ...from 8: IN 875s # GLib-DEBUG: io-channel-basic: ...from 8: 103 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 8: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+1413 bytes to 15 875s # GLib-DEBUG: io-channel-basic: ...from 14: IN 875s # GLib-DEBUG: io-channel-basic: ...from 14: 1413 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 14: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+1634 bytes to 11 875s # GLib-DEBUG: io-channel-basic: ...from 10: IN 875s # GLib-DEBUG: io-channel-basic: ...from 10: 1634 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 10: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+4931 bytes to 17 875s # GLib-DEBUG: io-channel-basic: ...from 16: IN 875s # GLib-DEBUG: io-channel-basic: ...from 16: 4931 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 16: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+2357 bytes to 13 875s # GLib-DEBUG: io-channel-basic: ...from 12: IN 875s # GLib-DEBUG: io-channel-basic: ...from 12: 2357 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 12: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+4453 bytes to 9 875s # GLib-DEBUG: io-channel-basic: ...from 8: IN 875s # GLib-DEBUG: io-channel-basic: ...from 8: 4453 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 8: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+3028 bytes to 15 875s # GLib-DEBUG: io-channel-basic: ...from 14: IN 875s # GLib-DEBUG: io-channel-basic: ...from 14: 3028 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 14: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+3157 bytes to 11 875s # GLib-DEBUG: io-channel-basic: ...from 10: IN 875s # GLib-DEBUG: io-channel-basic: ...from 10: 3157 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 10: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+4099 bytes to 17 875s # GLib-DEBUG: io-channel-basic: ...from 16: IN 875s # GLib-DEBUG: io-channel-basic: ...from 16: 4099 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 16: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+2033 bytes to 13 875s # GLib-DEBUG: io-channel-basic: ...from 12: IN 875s # GLib-DEBUG: io-channel-basic: ...from 12: 2033 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 12: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+40 bytes to 9 875s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 875s # GLib-DEBUG: io-channel-basic: ...from 8: IN 875s # GLib-DEBUG: io-channel-basic: ...from 8: 40 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 8: OK 875s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 875s # GLib-DEBUG: io-channel-basic: child writing 8+829 bytes to 15 875s # GLib-DEBUG: io-channel-basic: ...from 14: IN 875s # GLib-DEBUG: io-channel-basic: ...from 14: 829 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 14: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+2397 bytes to 11 875s # GLib-DEBUG: io-channel-basic: ...from 10: IN 875s # GLib-DEBUG: io-channel-basic: ...from 10: 2397 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 10: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+4175 bytes to 17 875s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 875s # GLib-DEBUG: io-channel-basic: ...from 16: IN 875s # GLib-DEBUG: io-channel-basic: ...from 16: 4175 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 16: OK 875s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 875s # GLib-DEBUG: io-channel-basic: child writing 8+3372 bytes to 13 875s # GLib-DEBUG: io-channel-basic: ...from 12: IN 875s # GLib-DEBUG: io-channel-basic: ...from 12: 3372 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 12: OK 875s # GLib-DEBUG: io-channel-basic: child writing 8+3967 bytes to 15 875s # GLib-DEBUG: io-channel-basic: ...from 14: IN 875s # GLib-DEBUG: io-channel-basic: ...from 14: 3967 bytes 875s # GLib-DEBUG: io-channel-basic: ...from 14: OK 876s # GLib-DEBUG: io-channel-basic: child writing 8+1812 bytes to 11 876s # GLib-DEBUG: io-channel-basic: ...from 10: IN 876s # GLib-DEBUG: io-channel-basic: ...from 10: 1812 bytes 876s # GLib-DEBUG: io-channel-basic: ...from 10: OK 876s # GLib-DEBUG: io-channel-basic: child writing 8+566 bytes to 13 876s # GLib-DEBUG: io-channel-basic: ...from 12: IN 876s # GLib-DEBUG: io-channel-basic: ...from 12: 566 bytes 876s # GLib-DEBUG: io-channel-basic: ...from 12: OK 876s # GLib-DEBUG: io-channel-basic: child writing 8+1894 bytes to 15 876s # GLib-DEBUG: io-channel-basic: ...from 14: IN 876s # GLib-DEBUG: io-channel-basic: ...from 14: 1894 bytes 876s # GLib-DEBUG: io-channel-basic: ...from 14: OK 876s # GLib-DEBUG: io-channel-basic: child writing 8+3466 bytes to 11 876s # GLib-DEBUG: io-channel-basic: ...from 10: IN 876s # GLib-DEBUG: io-channel-basic: ...from 10: 3466 bytes 876s # GLib-DEBUG: io-channel-basic: ...from 10: OK 876s # GLib-DEBUG: io-channel-basic: child writing 8+1715 bytes to 13 876s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 876s # GLib-DEBUG: io-channel-basic: ...from 12: IN 876s # GLib-DEBUG: io-channel-basic: ...from 12: 1715 bytes 876s # GLib-DEBUG: io-channel-basic: ...from 12: OK 876s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 876s # GLib-DEBUG: io-channel-basic: child writing 8+1433 bytes to 15 876s # GLib-DEBUG: io-channel-basic: ...from 14: IN 876s # GLib-DEBUG: io-channel-basic: ...from 14: 1433 bytes 876s # GLib-DEBUG: io-channel-basic: ...from 14: OK 876s # GLib-DEBUG: io-channel-basic: child writing 8+1027 bytes to 11 876s # GLib-DEBUG: io-channel-basic: ...from 10: IN 876s # GLib-DEBUG: io-channel-basic: ...from 10: 1027 bytes 876s # GLib-DEBUG: io-channel-basic: ...from 10: OK 876s # GLib-DEBUG: io-channel-basic: child writing 8+2252 bytes to 15 876s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 876s # GLib-DEBUG: io-channel-basic: ...from 14: IN 876s # GLib-DEBUG: io-channel-basic: ...from 14: 2252 bytes 876s # GLib-DEBUG: io-channel-basic: ...from 14: OK 876s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 876s # GLib-DEBUG: io-channel-basic: child writing 8+3266 bytes to 11 876s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 876s # GLib-DEBUG: io-channel-basic: ...from 10: IN 876s # GLib-DEBUG: io-channel-basic: ...from 10: 3266 bytes 876s # GLib-DEBUG: io-channel-basic: ...from 10: OK 876s # GLib-DEBUG: io-channel-basic: ...from 10: HUP 876s ok 1 /gio/io-basics 876s # slow test /gio/io-basics executed in 11.91 secs 876s # End of gio tests 876s ok - glib/io-channel-basic.test 876s # Running test: glib/closure.test 876s TAP version 14 876s # random seed: R02S31d499fc5db4f2839ffc9d8f3f5e8984 876s 1..6 876s # Start of closure tests 876s ok 1 /closure/idle 876s ok 2 /closure/timeout 876s ok 3 /closure/iochannel 876s ok 4 /closure/child 876s ok 5 /closure/fd 876s ok 6 /closure/signal 876s # End of closure tests 876s ok - glib/closure.test 876s # Running test: glib/gdbus-peer-object-manager.test 876s TAP version 14 876s # random seed: R02S9db71413859ddf18086241e81f9bcd4a 876s 1..2 876s # Start of gdbus tests 876s # Start of peer-object-manager tests 876s ok - glib/gdbus-peer-object-manager.test 876s # Running test: glib/mapping.test 876s ok - glib/mapping.test 876s # Running test: glib/markup.test 876s ok - glib/markup.test 876s # Running test: glib/shell.test 876s ok - glib/shell.test 876s # Running test: glib/messages-low-memory.py.test 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/normal/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/normal/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/normal/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/normal/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/normal/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/normal/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/normal/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/normal/.dirs/runtime 876s ok 1 /gdbus/peer-object-manager/normal 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/root/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/root/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/root/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/root/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/root/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/root/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/root/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_DNZ1J3/gdbus/peer-object-manager/root/.dirs/runtime 876s ok 2 /gdbus/peer-object-manager/root 876s # End of peer-object-manager tests 876s # End of gdbus tests 876s TAP version 14 876s # random seed: R02S351421323e15319d6447e1932f7227fa 876s 1..3 876s # Start of mapping tests 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_BPW1J3/mapping/flags/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_BPW1J3/mapping/flags/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_BPW1J3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_BPW1J3/mapping/flags/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_BPW1J3/mapping/flags/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_BPW1J3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_BPW1J3/mapping/flags/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_BPW1J3/mapping/flags/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_BPW1J3/mapping/flags/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_BPW1J3/mapping/flags/.dirs/runtime 876s # test_mapping: ok 876s ok 1 /mapping/flags 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_BPW1J3/mapping/private/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_BPW1J3/mapping/private/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_BPW1J3/mapping/private/.dirs/system-config1:/tmp/test_mapping_BPW1J3/mapping/private/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_BPW1J3/mapping/private/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_BPW1J3/mapping/private/.dirs/system-data1:/tmp/test_mapping_BPW1J3/mapping/private/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_BPW1J3/mapping/private/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_BPW1J3/mapping/private/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_BPW1J3/mapping/private/.dirs/runtime 876s ok 2 /mapping/private 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_BPW1J3/mapping/private-child/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_BPW1J3/mapping/private-child/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_BPW1J3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_BPW1J3/mapping/private-child/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_BPW1J3/mapping/private-child/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_BPW1J3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_BPW1J3/mapping/private-child/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_BPW1J3/mapping/private-child/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_BPW1J3/mapping/private-child/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_BPW1J3/mapping/private-child/.dirs/runtime 876s # test_child_private: child spawned 876s # Subtest: /usr/libexec/installed-tests/glib/mapping 876s # random seed: R02Sf9656bad9d9c7747f85d948390e706ee 876s # test_child_private: received first child signal 876s # test_child_private: received parent signal 876s # Child exited with status 0 876s # test_child_private: received second child signal 876s ok 3 /mapping/private-child 876s # End of mapping tests 876s TAP version 14 876s # random seed: R02Sdaef5ace935fe1e554e11a72b5ef6ef0 876s 1..1 876s # Start of markup tests 876s ok 1 /markup/stack 876s # End of markup tests 876s TAP version 14 876s # random seed: R02Sad09dea3e91a3d379def79ac2f15c046 876s 1..52 876s # Start of shell tests 876s # Start of cmdline tests 876s test cmdline: foo bar 876s ok 1 /shell/cmdline/0 876s test cmdline: foo 'bar' 876s ok 2 /shell/cmdline/1 876s test cmdline: foo "bar" 876s ok 3 /shell/cmdline/2 876s test cmdline: foo '' 'bar' 876s ok 4 /shell/cmdline/3 876s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 876s ok 5 /shell/cmdline/4 876s test cmdline: foo blah foo bar baz 876s ok 6 /shell/cmdline/5 876s test cmdline: foo ' spaces more spaces lots of spaces in this ' 876s ok 7 /shell/cmdline/6 876s test cmdline: foo \ 876s bar 876s ok 8 /shell/cmdline/7 876s test cmdline: foo '' '' 876s ok 9 /shell/cmdline/8 876s test cmdline: foo \" la la la 876s ok 10 /shell/cmdline/9 876s test cmdline: foo \ foo woo woo\ 876s ok 11 /shell/cmdline/10 876s test cmdline: foo "yada yada \$\"" 876s ok 12 /shell/cmdline/11 876s test cmdline: foo "c:\\" 876s ok 13 /shell/cmdline/12 876s test cmdline: foo # bla bla bla 876s bar 876s ok 14 /shell/cmdline/13 876s test cmdline: foo a#b 876s ok 15 /shell/cmdline/14 876s test cmdline: #foo 876s ok 16 /shell/cmdline/15 876s test cmdline: foo bar \ 876s ok 17 /shell/cmdline/16 876s test cmdline: foo 'bar baz 876s ok 18 /shell/cmdline/17 876s test cmdline: foo '"bar" baz 876s ok 19 /shell/cmdline/18 876s test cmdline: 876s ok 20 /shell/cmdline/19 876s test cmdline: 876s ok 21 /shell/cmdline/20 876s test cmdline: # foo bar 876s ok 22 /shell/cmdline/21 876s test cmdline: # 876s ok 23 /shell/cmdline/22 876s test cmdline: foo '/bar/summer'\''09 tours.pdf' 876s ok 24 /shell/cmdline/23 876s # End of cmdline tests 876s # Start of quote tests 876s ok 25 /shell/quote/0 876s ok 26 /shell/quote/1 876s ok 27 /shell/quote/2 876s ok 28 /shell/quote/3 876s ok 29 /shell/quote/4 876s ok 30 /shell/quote/5 876s ok 31 /shell/quote/6 876s # End of quote tests 876s # Start of unquote tests 876s ok 32 /shell/unquote/0 876s ok 33 /shell/unquote/1 876s ok 34 /shell/unquote/2 876s ok 35 /shell/unquote/3 876s ok 36 /shell/unquote/4 876s ok 37 /shell/unquote/5 876s ok 38 /shell/unquote/6 876s ok 39 /shell/unquote/7 876s ok 40 /shell/unquote/8 876s ok 41 /shell/unquote/9 876s ok 42 /shell/unquote/10 876s ok 43 /shell/unquote/11 876s ok 44 /shell/unquote/12 876s ok 45 /shell/unquote/13 876s ok 46 /shell/unquote/14 876s ok 47 /shell/unquote/15 876s ok 48 /shell/unquote/16 876s ok 49 /shell/unquote/17 876s ok 50 /shell/unquote/18 876s ok 51 /shell/unquote/19 876s ok 52 /shell/unquote/20 876s # End of unquote tests 876s # End of shell tests 877s TAP version 13 877s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 877s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 877s # tmpdir: /tmp/tmppvrm5age 877s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 877s # Return code: -6 877s # Output: 877s # 877s # Error: 877s # GLib-Message: 12:28:47.593: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 877s # GLib-Message: 12:28:47.593: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 877s # ../../../glib/gprintf.c:351: failed to allocate memory 877s 1..1 877s ok - glib/messages-low-memory.py.test 877s # Running test: glib/module-test-library.test 877s TAP version 14 877s # random seed: R02Sdb321a754363dfd82775c4135c32eee2 877s 1..3 877s # Start of module tests 877s ok 1 /module/basics 877s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 877s ok 2 /module/invalid-libtool-archive 877s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 877s ok 3 /module/local-binding 877s # End of module tests 877s ok - glib/module-test-library.test 877s # Running test: glib/mainloop.test 877s TAP version 14 877s # random seed: R02S75108f4ea5d68472678017c2ebd5f512 877s 1..47 877s # Start of maincontext tests 877s ok 1 /maincontext/basic 877s # Add same-priority sources: 13 877s # Find each source: 1 877s # Remove in random order: 16 877s ok 2 /maincontext/nsources_same_priority 877s # Add different-priority sources: 19 877s # Find each source: 1 877s # Remove in random order: 16 877s ok 3 /maincontext/nsources_different_priority 877s # Add sources from threads: 32 877s # Remove sources from threads: 18 877s ok 4 /maincontext/nsources_threadpool 877s ok 5 /maincontext/source_finalization 877s # /maincontext/idle-once summary: Test g_idle_add_once() works 877s ok 6 /maincontext/idle-once 877s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 877s ok 7 /maincontext/timeout-once 877s # /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. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 877s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 877s # Start of source_finalization_from_source tests 877s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 877s ok 9 /maincontext/source_finalization_from_source/0 877s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 877s ok 10 /maincontext/source_finalization_from_source/1 877s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 877s ok 11 /maincontext/source_finalization_from_source/2 877s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 877s ok 12 /maincontext/source_finalization_from_source/3 877s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 877s ok 13 /maincontext/source_finalization_from_source/4 877s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 877s ok 14 /maincontext/source_finalization_from_source/5 877s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 877s ok 15 /maincontext/source_finalization_from_source/6 877s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 877s ok 16 /maincontext/source_finalization_from_source/7 877s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 877s ok 17 /maincontext/source_finalization_from_source/8 877s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 877s ok 18 /maincontext/source_finalization_from_source/9 877s # End of source_finalization_from_source tests 877s # Start of source_finalization_from_dispatch tests 877s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 877s ok 19 /maincontext/source_finalization_from_dispatch/0 877s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 877s ok 20 /maincontext/source_finalization_from_dispatch/1 877s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 877s ok 21 /maincontext/source_finalization_from_dispatch/2 877s # End of source_finalization_from_dispatch tests 877s # End of maincontext tests 877s # Start of mainloop tests 877s ok 22 /mainloop/basic 877s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 877s ok 24 /mainloop/priorities 878s ok 25 /mainloop/invoke 878s # slow test /mainloop/invoke executed in 0.93 secs 878s # Executing: glib/mainloop.test 879s ok 26 /mainloop/child_sources 879s # slow test /mainloop/child_sources executed in 1.35 secs 882s ok 27 /mainloop/recursive_child_sources 882s # slow test /mainloop/recursive_child_sources executed in 2.39 secs 882s ok 28 /mainloop/recursive_loop_child_sources 882s ok 29 /mainloop/swapping_child_sources 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 882s ok 30 /mainloop/blocked_child_sources 883s ok 31 /mainloop/source_time 883s # slow test /mainloop/source_time executed in 1.00 secs 883s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 883s ok 32 /mainloop/overflow 883s ok 33 /mainloop/ready-time 883s # slow test /mainloop/ready-time executed in 0.50 secs 883s ok 34 /mainloop/wakeup 883s ok 35 /mainloop/remove-invalid 883s ok 36 /mainloop/unref-while-pending 883s # Executing: glib/mainloop.test 884s ok 37 /mainloop/unix-fd 884s # slow test /mainloop/unix-fd executed in 0.59 secs 884s ok 38 /mainloop/unix-fd-source 884s ok 39 /mainloop/source-unix-fd-api 884s ok 40 /mainloop/wait 884s ok 41 /mainloop/unix-file-poll 884s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 884s ok 42 /mainloop/unix-fd-priority 884s ok 43 /mainloop/nfds 884s ok 44 /mainloop/steal-fd 886s ok - glib/mainloop.test 886s ok 45 /mainloop/simultaneous-source-context-destruction 886s # slow test /mainloop/simultaneous-source-context-destruction executed in 2.06 secs 886s # Start of ownerless-polling tests 886s ok 46 /mainloop/ownerless-polling/attach-first 886s ok 47 /mainloop/ownerless-polling/pop-first 886s # End of ownerless-polling tests 886s # End of mainloop tests 886s # Running test: glib/test-printf.test 886s TAP version 14 886s # random seed: R02Sf011217848189eef241ce1144163b471 886s 1..24 886s # Start of snprintf tests 886s ok 1 /snprintf/retval-and-trunc 886s ok 2 /snprintf/%d 886s ok 3 /snprintf/%d-invalid 886s ok 4 /snprintf/%o 886s ok 5 /snprintf/%u 886s ok 6 /snprintf/%x 886s ok 7 /snprintf/%X 886s ok 8 /snprintf/%f 886s ok 9 /snprintf/%e 886s ok 10 /snprintf/%c 886s ok 11 /snprintf/%s 886s ok 12 /snprintf/%n 886s ok 13 /snprintf/test-percent 886s ok 14 /snprintf/test-positional-params 886s ok 15 /snprintf/test-64bit 886s ok 16 /snprintf/produce-embedded-nulls 886s # End of snprintf tests 886s # Start of printf tests 886s ok 17 /printf/test-percent 886s ok 18 /printf/test-positional-params 886s ok 19 /printf/test-64bit 886s # Start of test-64bit tests 886s # Start of subprocess tests 886s # End of subprocess tests 886s # End of test-64bit tests 886s # End of printf tests 886s # Start of fprintf tests 886s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 886s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 886s ok 20 /fprintf/produce-embedded-nulls 886s # End of fprintf tests 886s # Start of sprintf tests 886s ok 21 /sprintf/test-positional-params 886s ok 22 /sprintf/upper-bound 886s # End of sprintf tests 886s # Start of vasprintf tests 886s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 886s ok 23 /vasprintf/invalid-format-placeholder 886s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 886s ok 24 /vasprintf/invalid-wide-string 886s # End of vasprintf tests 886s TAP version 14 886s # random seed: R02S8ad18e212ec17525477b3a5b7ac23501 886s 1..7 886s # Start of tree tests 886s ok 1 /tree/search 886s ok 2 /tree/remove 886s ok 3 /tree/destroy 886s ok 4 /tree/traverse 886s ok 5 /tree/insert 886s ok 6 /tree/bounds 886s ok 7 /tree/remove-all 886s # End of tree tests 886s TAP version 14 886s # random seed: R02Sdba8374b26346c46b5f13d2defd14405 886s 1..4 886s # Start of hostutils tests 886s ok 1 /hostutils/hostname_is_non_ascii 886s ok 2 /hostutils/to_ascii 886s ok - glib/test-printf.test 886s # Running test: glib/tree.test 886s ok - glib/tree.test 886s # Running test: glib/hostutils.test 886s ok - glib/hostutils.test 886s # Running test: glib/unicode.test 886s ok 3 /hostutils/to_unicode 886s ok 4 /hostutils/is_ip_addr 886s # End of hostutils tests 886s TAP version 14 886s # random seed: R02S500d200c5af75798cacdfdf2054e890c 886s 1..39 886s # Start of unicode tests 886s ok 1 /unicode/alnum 886s ok 2 /unicode/alpha 886s ok 3 /unicode/break-type 886s ok 4 /unicode/canonical-decomposition 886s ok 5 /unicode/casefold 886s # Cannot set locale to lt_LT, skipping 886s # Cannot set locale to lt_LT, skipping 886s # Cannot set locale to lt_LT, skipping 886s # Cannot set locale to lt_LT, skipping 886s # Cannot set locale to lt_LT, skipping 886s # Cannot set locale to lt_LT, skipping 886s # Cannot set locale to lt_LT, skipping 886s # Cannot set locale to lt_LT, skipping 886s # Cannot set locale to lt_LT, skipping 886s # Cannot set locale to lt_LT, skipping 886s # Cannot set locale to lt_LT, skipping 886s ok 6 /unicode/casemap_and_casefold 886s ok 7 /unicode/cases 886s ok 8 /unicode/character-type 886s ok 9 /unicode/cntrl 886s ok 10 /unicode/combining-class 886s # Composing U+000041 and U+000042; expecting U+000000 886s # Composing U+000041 and U+000000; expecting U+000000 886s # Composing U+000066 and U+000069; expecting U+000000 886s # Composing U+000308 and U+000301; expecting U+000000 886s # Composing U+000f71 and U+000f72; expecting U+000000 886s # Composing U+00212b and U+000000; expecting U+000000 886s # Composing U+0000c5 and U+000000; expecting U+000000 886s # Composing U+002126 and U+000000; expecting U+000000 886s # Composing U+0003a9 and U+000000; expecting U+000000 886s # Composing U+000041 and U+00030a; expecting U+0000c5 886s # Composing U+00006f and U+000302; expecting U+0000f4 886s # Composing U+001e63 and U+000307; expecting U+001e69 886s # Composing U+000073 and U+000323; expecting U+001e63 886s # Composing U+000064 and U+000307; expecting U+001e0b 886s # Composing U+000064 and U+000323; expecting U+001e0d 886s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 886s # Composing U+001111 and U+001171; expecting U+00d4cc 886s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 886s # Composing U+00110e and U+001173; expecting U+00ce20 886s # Composing U+001100 and U+001160; expecting U+000000 886s # Composing U+001100 and U+001177; expecting U+000000 886s # Composing U+00abff and U+0011b6; expecting U+000000 886s # Composing U+00d7a5 and U+0011b6; expecting U+000000 886s # Composing U+00ac01 and U+0011b6; expecting U+000000 886s # Composing U+00d4cc and U+0011a6; expecting U+000000 886s # Composing U+00d4cc and U+0011c4; expecting U+000000 886s # Composing U+01611e and U+01611e; expecting U+016121 886s # Composing U+01611e and U+01611f; expecting U+016123 886s # Composing U+0000f6 and U+000304; expecting U+00022b 886s # Composing U+000b47 and U+000b57; expecting U+000b4c 886s # Composing U+0000a0 and U+000b57; expecting U+000000 886s # Composing U+016e00 and U+00030a; expecting U+000000 886s # Composing U+00212b and U+016e00; expecting U+000000 886s # Composing U+001e63 and U+000306; expecting U+000000 886s # Composing U+001e63 and U+000304; expecting U+000000 886s # Composing U+001e63 and U+000b57; expecting U+000000 886s # Composing U+001e63 and U+000000; expecting U+000000 886s # Composing U+001e63 and U+0113c2; expecting U+000000 886s # Composing U+001f01 and U+0113c2; expecting U+000000 886s # Composing U+00006e and U+000302; expecting U+000000 886s # Composing U+001e63 and U+01611f; expecting U+000000 886s # Composing U+01138e and U+0113b8; expecting U+000000 886s # Composing U+01611e and U+000000; expecting U+000000 886s # Composing U+000000 and U+01611f; expecting U+000000 886s # Composing U+011390 and U+0113c2; expecting U+000000 886s ok 11 /unicode/compose 886s ok 12 /unicode/decompose 886s ok 13 /unicode/decompose-tail 886s ok 14 /unicode/defined 886s ok 15 /unicode/digit 886s ok 16 /unicode/digit-value 886s # Fully decomposing U+000041; expecting 1 codepoints 886s # Fully decomposing U+00fb01; expecting 1 codepoints 886s # Fully decomposing U+00212b; expecting 2 codepoints 886s # Fully decomposing U+002126; expecting 1 codepoints 886s # Fully decomposing U+000344; expecting 2 codepoints 886s # Fully decomposing U+000f73; expecting 2 codepoints 886s # Fully decomposing U+0000c5; expecting 2 codepoints 886s # Fully decomposing U+0000f4; expecting 2 codepoints 886s # Fully decomposing U+001e69; expecting 3 codepoints 886s # Fully decomposing U+001e63; expecting 2 codepoints 886s # Fully decomposing U+001e0b; expecting 2 codepoints 886s # Fully decomposing U+001e0d; expecting 2 codepoints 886s # Fully decomposing U+00d4db; expecting 3 codepoints 886s # Fully decomposing U+00d4cc; expecting 2 codepoints 886s # Fully decomposing U+00ce31; expecting 3 codepoints 886s # Fully decomposing U+00ce20; expecting 2 codepoints 886s ok 17 /unicode/fully-decompose-canonical 886s ok 18 /unicode/fully-decompose-len 886s ok 19 /unicode/normalization 886s ok 20 /unicode/graph 886s # Testing script Zyyy (code 1517910393) 886s # Testing script Zinh (code 1516858984) 886s # Testing script Zmth (code 1517122664) 886s # Testing script Arab (code 1098015074) 886s # Testing script Armn (code 1098018158) 886s # Testing script Beng (code 1113943655) 886s # Testing script Bopo (code 1114599535) 886s # Testing script Cher (code 1130915186) 886s # Testing script Copt (code 1131376756) 886s # Testing script Cyrl (code 1132032620) 886s # Testing script Dsrt (code 1148416628) 886s # Testing script Deva (code 1147500129) 886s # Testing script Ethi (code 1165256809) 886s # Testing script Geor (code 1197830002) 886s # Testing script Goth (code 1198486632) 886s # Testing script Grek (code 1198679403) 886s # Testing script Gujr (code 1198877298) 886s # Testing script Guru (code 1198879349) 886s # Testing script Hani (code 1214344809) 886s # Testing script Hang (code 1214344807) 886s # Testing script Hebr (code 1214603890) 886s # Testing script Hira (code 1214870113) 886s # Testing script Knda (code 1265525857) 886s # Testing script Kana (code 1264676449) 886s # Testing script Khmr (code 1265134962) 886s # Testing script Laoo (code 1281453935) 886s # Testing script Latn (code 1281455214) 886s # Testing script Mlym (code 1298954605) 886s # Testing script Mong (code 1299148391) 886s # Testing script Mymr (code 1299803506) 886s # Testing script Ogam (code 1332175213) 886s # Testing script Ital (code 1232363884) 886s # Testing script Orya (code 1332902241) 886s # Testing script Runr (code 1383427698) 886s # Testing script Sinh (code 1399418472) 886s # Testing script Syrc (code 1400468067) 886s # Testing script Taml (code 1415671148) 886s # Testing script Telu (code 1415933045) 886s # Testing script Thaa (code 1416126817) 886s # Testing script Thai (code 1416126825) 886s # Testing script Tibt (code 1416192628) 886s # Testing script Cans (code 1130458739) 886s # Testing script Yiii (code 1500080489) 886s # Testing script Tglg (code 1416064103) 886s # Testing script Hano (code 1214344815) 886s # Testing script Buhd (code 1114990692) 886s # Testing script Tagb (code 1415669602) 886s # Testing script Brai (code 1114792297) 886s # Testing script Cprt (code 1131442804) 886s # Testing script Limb (code 1281977698) 886s # Testing script Osma (code 1332964705) 886s # Testing script Shaw (code 1399349623) 886s # Testing script Linb (code 1281977954) 886s # Testing script Tale (code 1415670885) 886s # Testing script Ugar (code 1432838514) 886s # Testing script Talu (code 1415670901) 886s # Testing script Bugi (code 1114990441) 886s # Testing script Glag (code 1198285159) 886s # Testing script Tfng (code 1415999079) 886s # Testing script Sylo (code 1400466543) 886s # Testing script Xpeo (code 1483761007) 886s # Testing script Khar (code 1265131890) 886s # Testing script Zzzz (code 1517976186) 886s # Testing script Bali (code 1113681001) 886s # Testing script Xsux (code 1483961720) 886s # Testing script Phnx (code 1349021304) 886s # Testing script Phag (code 1349017959) 886s # Testing script Nkoo (code 1315663727) 886s # Testing script Kali (code 1264675945) 886s # Testing script Lepc (code 1281716323) 886s # Testing script Rjng (code 1382706791) 886s # Testing script Sund (code 1400204900) 886s # Testing script Saur (code 1398895986) 886s ok - glib/unicode.test 886s # Running test: glib/642026.test 886s # Testing script Cham (code 1130914157) 886s # Testing script Olck (code 1332503403) 886s # Testing script Vaii (code 1449224553) 886s # Testing script Cari (code 1130459753) 886s # Testing script Lyci (code 1283023721) 886s # Testing script Lydi (code 1283023977) 886s # Testing script Avst (code 1098281844) 886s # Testing script Bamu (code 1113681269) 886s # Testing script Egyp (code 1164409200) 886s # Testing script Armi (code 1098018153) 886s # Testing script Phli (code 1349020777) 886s # Testing script Prti (code 1349678185) 886s # Testing script Java (code 1247901281) 886s # Testing script Kthi (code 1265920105) 886s # Testing script Lisu (code 1281979253) 886s # Testing script Mtei (code 1299473769) 886s # Testing script Sarb (code 1398895202) 886s # Testing script Orkh (code 1332898664) 886s # Testing script Samr (code 1398893938) 886s # Testing script Lana (code 1281453665) 886s # Testing script Tavt (code 1415673460) 886s # Testing script Batk (code 1113683051) 886s # Testing script Brah (code 1114792296) 886s # Testing script Mand (code 1298230884) 886s # Testing script Cakm (code 1130457965) 886s # Testing script Merc (code 1298494051) 886s # Testing script Mero (code 1298494063) 886s # Testing script Plrd (code 1349284452) 886s # Testing script Shrd (code 1399353956) 886s # Testing script Sora (code 1399812705) 886s # Testing script Takr (code 1415670642) 886s # Testing script Bass (code 1113682803) 886s # Testing script Aghb (code 1097295970) 886s # Testing script Dupl (code 1148547180) 886s # Testing script Elba (code 1164730977) 886s # Testing script Gran (code 1198678382) 886s # Testing script Khoj (code 1265135466) 886s # Testing script Sind (code 1399418468) 886s # Testing script Lina (code 1281977953) 886s # Testing script Mahj (code 1298229354) 886s # Testing script Mani (code 1298230889) 886s # Testing script Mend (code 1298493028) 886s # Testing script Modi (code 1299145833) 886s # Testing script Mroo (code 1299345263) 886s # Testing script Nbat (code 1315070324) 886s # Testing script Narb (code 1315009122) 886s # Testing script Perm (code 1348825709) 886s # Testing script Hmng (code 1215131239) 886s # Testing script Palm (code 1348562029) 886s # Testing script Pauc (code 1348564323) 886s # Testing script Phlp (code 1349020784) 886s # Testing script Sidd (code 1399415908) 886s # Testing script Tirh (code 1416196712) 886s # Testing script Wara (code 1466004065) 886s # Testing script Ahom (code 1097363309) 886s # Testing script Hluw (code 1215067511) 886s # Testing script Hatr (code 1214346354) 886s # Testing script Mult (code 1299541108) 886s # Testing script Hung (code 1215655527) 886s # Testing script Sgnw (code 1399287415) 886s # Testing script Adlm (code 1097100397) 886s # Testing script Bhks (code 1114139507) 886s # Testing script Marc (code 1298231907) 886s # Testing script Newa (code 1315272545) 886s # Testing script Osge (code 1332963173) 886s # Testing script Tang (code 1415671399) 886s # Testing script Gonm (code 1198485101) 886s # Testing script Nshu (code 1316186229) 886s # Testing script Soyo (code 1399814511) 886s # Testing script Zanb (code 1516334690) 886s # Testing script Dogr (code 1148151666) 886s # Testing script Gong (code 1198485095) 886s # Testing script Rohg (code 1383032935) 886s # Testing script Maka (code 1298230113) 886s # Testing script Medf (code 1298490470) 886s # Testing script Sogo (code 1399809903) 886s # Testing script Sogd (code 1399809892) 886s # Testing script Elym (code 1164736877) 886s # Testing script Nand (code 1315008100) 886s # Testing script Hmnp (code 1215131248) 886s # Testing script Wcho (code 1466132591) 886s # Testing script Chrs (code 1130918515) 886s # Testing script Diak (code 1147756907) 886s # Testing script Kits (code 1265202291) 886s # Testing script Yezi (code 1499822697) 886s # Testing script Cpmn (code 1131441518) 886s # Testing script Ougr (code 1333094258) 886s # Testing script Tnsa (code 1416524641) 886s # Testing script Toto (code 1416590447) 886s # Testing script Vith (code 1449751656) 886s # Testing script Kawi (code 1264678761) 886s # Testing script Nagm (code 1315006317) 886s # Testing script Todr (code 1416586354) 886s # Testing script Gara (code 1197568609) 886s # Testing script Tutg (code 1416983655) 886s # Testing script Sunu (code 1400204917) 886s # Testing script Gukh (code 1198877544) 886s # Testing script Krai (code 1265787241) 886s # Testing script Onao (code 1332633967) 886s ok 21 /unicode/iso15924 886s ok 22 /unicode/lower 886s ok 23 /unicode/mark 886s ok 24 /unicode/mirror 886s ok 25 /unicode/print 886s ok 26 /unicode/punctuation 886s ok 27 /unicode/script 886s ok 28 /unicode/space 886s ok 29 /unicode/strdown 886s ok 30 /unicode/strup 886s ok 31 /unicode/turkish-strupdown 886s ok 32 /unicode/title 886s ok 33 /unicode/upper 886s ok 34 /unicode/validate 886s ok 35 /unicode/wide 886s ok 36 /unicode/xdigit 886s ok 37 /unicode/xdigit-value 886s ok 38 /unicode/zero-width 886s ok 39 /unicode/normalize 886s # End of unicode tests 886s TAP version 14 886s # random seed: R02S7d76d77eea7fc7a9f2e6b05fcdee1811 886s 1..1 886s # Start of glib tests 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 886s ok - glib/642026.test 886s # Running test: glib/utf8-performance.test 886s ok - glib/utf8-performance.test 886s # Running test: glib/utils-unisolated.test 886s ok - glib/utils-unisolated.test 886s # Running test: glib/macros.test 886s ok - glib/macros.test 886s # Running test: glib/defaultiface.test 886s ok - glib/defaultiface.test 886s # Running test: glib/tls-bindings.test 886s ok - glib/tls-bindings.test 886s # Running test: glib/option-context.test 886s ok 1 /glib/642026 886s # End of glib tests 886s TAP version 14 886s # random seed: R02S3fc135c9bd4eaf1f77d920df76768527 886s 1..36 886s # Start of utf8 tests 886s # Start of perf tests 886s # Start of get_char tests 886s # max perf: 43.0 MB/s 886s ok 1 /utf8/perf/get_char/ascii 886s # max perf: inf MB/s 886s ok 2 /utf8/perf/get_char/latin1 886s # max perf: 160.0 MB/s 886s ok 3 /utf8/perf/get_char/cyrillic 886s # max perf: inf MB/s 886s ok 4 /utf8/perf/get_char/han 886s # End of get_char tests 886s # Start of get_char-backwards tests 886s # max perf: inf MB/s 886s ok 5 /utf8/perf/get_char-backwards/ascii 886s # max perf: 67.0 MB/s 886s ok 6 /utf8/perf/get_char-backwards/latin1 886s # max perf: 26.7 MB/s 886s ok 7 /utf8/perf/get_char-backwards/cyrillic 886s # max perf: 156.0 MB/s 886s ok 8 /utf8/perf/get_char-backwards/han 886s # End of get_char-backwards tests 886s # Start of get_char_validated tests 886s # max perf: inf MB/s 886s ok 9 /utf8/perf/get_char_validated/ascii 886s # max perf: 67.0 MB/s 886s ok 10 /utf8/perf/get_char_validated/latin1 886s # max perf: 160.0 MB/s 886s ok 11 /utf8/perf/get_char_validated/cyrillic 886s # max perf: inf MB/s 886s ok 12 /utf8/perf/get_char_validated/han 886s # End of get_char_validated tests 886s # Start of utf8_to_ucs4 tests 886s # max perf: 43.0 MB/s 886s ok 13 /utf8/perf/utf8_to_ucs4/ascii 886s # max perf: 33.5 MB/s 886s ok 14 /utf8/perf/utf8_to_ucs4/latin1 886s # max perf: 160.0 MB/s 886s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 886s # max perf: 156.0 MB/s 886s ok 16 /utf8/perf/utf8_to_ucs4/han 886s # End of utf8_to_ucs4 tests 886s # Start of utf8_to_ucs4-sized tests 886s # max perf: inf MB/s 886s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 886s # max perf: 67.0 MB/s 886s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 886s # max perf: 160.0 MB/s 886s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 886s # max perf: inf MB/s 886s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 886s # End of utf8_to_ucs4-sized tests 886s # Start of utf8_to_ucs4_fast tests 886s # max perf: 43.0 MB/s 886s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 886s # max perf: inf MB/s 886s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 886s # max perf: inf MB/s 886s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 886s # max perf: inf MB/s 886s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 886s # End of utf8_to_ucs4_fast tests 886s # Start of utf8_to_ucs4_fast-sized tests 886s # max perf: 43.0 MB/s 886s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 886s # max perf: 67.0 MB/s 886s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 886s # max perf: 26.7 MB/s 886s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 886s # max perf: inf MB/s 886s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 886s # End of utf8_to_ucs4_fast-sized tests 886s # Start of utf8_validate tests 886s # max perf: 21.5 MB/s 886s ok 29 /utf8/perf/utf8_validate/ascii 886s # max perf: inf MB/s 886s ok 30 /utf8/perf/utf8_validate/latin1 886s # max perf: 160.0 MB/s 886s ok 31 /utf8/perf/utf8_validate/cyrillic 886s # max perf: inf MB/s 886s ok 32 /utf8/perf/utf8_validate/han 886s # End of utf8_validate tests 886s # Start of utf8_validate-sized tests 886s # max perf: inf MB/s 886s ok 33 /utf8/perf/utf8_validate-sized/ascii 886s # max perf: inf MB/s 886s ok 34 /utf8/perf/utf8_validate-sized/latin1 886s # max perf: inf MB/s 886s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 886s # max perf: inf MB/s 886s ok 36 /utf8/perf/utf8_validate-sized/han 886s # End of utf8_validate-sized tests 886s # End of perf tests 886s # End of utf8 tests 886s TAP version 14 886s # random seed: R02Sb5c30c1d2c85f42d0d4393fc81892d5d 886s 1..1 886s # Start of utils tests 886s ok 1 /utils/xdgdirs 886s # End of utils tests 886s TAP version 14 886s # random seed: R02Sfdd21ecbc8be82aa6247cba00357690c 886s 1..3 886s # Start of alignof tests 886s ok 1 /alignof/fallback 886s # End of alignof tests 886s # Start of assert tests 886s ok 2 /assert/static 886s # End of assert tests 886s # Start of struct tests 886s ok 3 /struct/sizeof_member 886s # End of struct tests 886s TAP version 14 886s # random seed: R02S62796dbba244a6cf19c328f2c5f318c2 886s 1..2 886s # Start of gobject tests 886s ok 1 /gobject/static-iface 886s ok 2 /gobject/dynamic-iface 886s # End of gobject tests 886s TAP version 14 886s # random seed: R02S94917c8fe0638c1cea8593f207cbc802 886s 1..2 886s # Start of tls-connection tests 886s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 886s ok 1 /tls-connection/get-tls-channel-binding 886s ok 2 /tls-connection/get-dtls-channel-binding 886s # End of tls-connection tests 886s TAP version 14 886s # random seed: R02S85acd89c38d673dcaae4724f5b4f2ac1 886s 1..61 886s # Start of option tests 886s ok 1 /option/basic 886s ok 2 /option/translate 886s ok 3 /option/strict-posix 886s # Testing command: program --double abc 886s # Testing command: program --double 2e309 886s # Testing command: program --int abc 886s # Testing command: program --int 99999999999999999999999999999999999 886s # Testing command: program --int64 abc 886s # Testing command: program --int64 99999999999999999999999999999999999 886s ok 4 /option/parsing-errors 886s # Start of help tests 886s ok 5 /option/help/options 886s ok 6 /option/help/no-options 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 886s ok 7 /option/help/no-help-options 886s # Usage: 886s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 886s # 886s # Summary 886s # 886s # Help Options: 886s # -h, --help Show help options 886s # 886s # Application Options: 886s # -t, --test=Argument to use in test (deprecated) Test tests 886s # --test2 Tests also 886s # 886s # Description 886s # 886s ok 8 /option/help/deprecated 886s ok 9 /option/help/main-get_help-format 886s ok 10 /option/help/group-get_help-format 886s # End of help tests 886s # Start of group tests 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 886s ok 11 /option/group/captions 886s ok 12 /option/group/main 886s ok 13 /option/group/error-hook 886s ok 14 /option/group/parse 886s # Start of captions tests 886s # Start of subprocess tests 886s # End of subprocess tests 886s # End of captions tests 886s # End of group tests 886s # Start of restoration tests 886s ok 15 /option/restoration/int 886s ok 16 /option/restoration/string 886s ok 17 /option/restoration/boolean 886s # End of restoration tests 886s # Start of arg tests 886s ok 18 /option/arg/reverse-string 886s ok 19 /option/arg/optional-int 886s # Start of repetition tests 886s ok 20 /option/arg/repetition/int 886s ok 21 /option/arg/repetition/string 886s ok 22 /option/arg/repetition/filename 886s ok 23 /option/arg/repetition/double 886s ok 24 /option/arg/repetition/locale 886s ok 25 /option/arg/repetition/int64 886s # End of repetition tests 886s # Start of array tests 886s ok 26 /option/arg/array/string 886s # End of array tests 886s # Start of callback tests 886s ok 27 /option/arg/callback/string 886s ok 28 /option/arg/callback/count 886s ok 29 /option/arg/callback/optional1 886s ok 30 /option/arg/callback/optional2 886s ok 31 /option/arg/callback/optional3 886s ok 32 /option/arg/callback/optional4 886s ok 33 /option/arg/callback/optional5 886s ok 34 /option/arg/callback/optional6 886s ok 35 /option/arg/callback/optional7 886s ok 36 /option/arg/callback/optional8 886s # End of callback tests 886s # Start of remaining tests 886s ok 37 /option/arg/remaining/callback 886s ok 38 /option/arg/remaining/callback-false 886s ok 39 /option/arg/remaining/non-option 886s ok 40 /option/arg/remaining/separator 886s ok 41 /option/arg/remaining/array 886s # End of remaining tests 886s # Start of ignore tests 886s ok 42 /option/arg/ignore/long 886s ok 43 /option/arg/ignore/short 886s ok 44 /option/arg/ignore/arg 886s # End of ignore tests 886s # Start of rest tests 886s ok 45 /option/arg/rest/non-option 886s ok 46 /option/arg/rest/separator1 886s ok 47 /option/arg/rest/separator2 886s ok 48 /option/arg/rest/separator3 886s ok 49 /option/arg/rest/separator4 886s ok 50 /option/arg/rest/separator5 886s # End of rest tests 886s # End of arg tests 886s # Start of context tests 886s ok 51 /option/context/add 886s ok 52 /option/context/empty2 886s ok 53 /option/context/empty3 886s # End of context tests 886s # Start of bug tests 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 886s ok 54 /option/bug/unknown-short 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 886s ok 55 /option/bug/lonely-dash 886s ok 56 /option/bug/triple-dash 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 886s ok 57 /option/bug/missing-arg 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 886s ok 58 /option/bug/dash-arg 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 886s ok 59 /option/bug/short-remaining 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 886s ok 60 /option/bug/double-free 886s ok 61 /option/bug/double-zero 886s # End of bug tests 886s # End of option tests 886s TAP version 14 886s # random seed: R02Se68aea2e7e28d4abac14d78465e290d2 886s 1..1 886s # Start of memory-monitor-psi tests 886s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_WPBXJ3/memory-monitor-psi/receive-signal/.dirs/home 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_WPBXJ3/memory-monitor-psi/receive-signal/.dirs/cache 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_WPBXJ3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_WPBXJ3/memory-monitor-psi/receive-signal/.dirs/system-config2 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_WPBXJ3/memory-monitor-psi/receive-signal/.dirs/config 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_WPBXJ3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_WPBXJ3/memory-monitor-psi/receive-signal/.dirs/system-data2 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_WPBXJ3/memory-monitor-psi/receive-signal/.dirs/data 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_WPBXJ3/memory-monitor-psi/receive-signal/.dirs/state 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_WPBXJ3/memory-monitor-psi/receive-signal/.dirs/runtime 886s ok - glib/option-context.test 886s # Running test: glib/memory-monitor-psi.test 886s ok - glib/memory-monitor-psi.test 886s # Running test: glib/cancellable.test 886s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 886s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 886s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 886s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 886s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 886s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 886s ok 1 /memory-monitor-psi/receive-signal 886s # End of memory-monitor-psi tests 886s TAP version 14 886s # random seed: R02S0ebeabd65106b01be64de37cf98c9fe6 886s 1..18 886s # Start of cancellable tests 886s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 886s ok 2 /cancellable/null 886s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 886s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 886s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 886s ok 4 /cancellable/connect-to-disposing-callback 886s ok 5 /cancellable/connect-cancelled-data-is-destroyed 886s # Toggle reference callback for GCancellable (0x2aa10766c00), last: 1 886s # Toggle reference callback for GCancellable (0x2aa10766c00), last: 0 886s # Toggle reference callback for GCancellable (0x2aa10766c00), last: 1 886s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 886s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 886s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 886s ok 7 /cancellable/connect-cancelled-to-disposing-callback 886s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 886s # Toggle reference callback for GCancellable (0x2aa10766c00), last: 1 886s # Toggle reference callback for GCancellable (0x2aa10766c00), last: 0 886s # Toggle reference callback for GCancellable (0x2aa10766c00), last: 1 886s # Toggle reference callback for GCancellable (0x2aa10766c00), last: 0 886s # Toggle reference callback for GCancellable (0x2aa10766c00), last: 1 886s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 886s # /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 886s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 886s # /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 886s ok 11 /cancellable/resets-on-cancel-callback-hangs 886s ok 12 /cancellable/poll-fd 886s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 886s ok 13 /cancellable/poll-fd-cancelled 886s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 887s ok 14 /cancellable/poll-fd-cancelled-threaded 887s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 887s ok 15 /cancellable/cancel-reset-races 887s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 887s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 887s # End of cancellable tests 887s # Start of cancellable-source tests 887s # /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) 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 888s ok 17 /cancellable-source/threaded-dispose 888s # slow test /cancellable-source/threaded-dispose executed in 1.01 secs 888s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 888s ok 18 /cancellable-source/can-be-fired-multiple-times 888s # End of cancellable-source tests 888s ok - glib/cancellable.test 888s # Running test: glib/gutils-user-database.test 888s TAP version 14 888s ok - glib/gutils-user-database.test 888s # random seed: R02S6bc069f23b6edbdaefb90c1546a97ae0 888s 1..1 888s # Start of gutils tests 888s ok 1 /gutils/get_user_database_entry 888s # End of gutils tests 888s # Running test: glib/bookmarkfile.test 888s TAP version 14 888s # random seed: R02S3bb8bf34b8e87e7d223b9466fa82eec8 888s 1..96 888s # Start of bookmarks tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/load-from-data-dirs/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/load-from-data-dirs/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/load-from-data-dirs/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/load-from-data-dirs/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/load-from-data-dirs/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/load-from-data-dirs/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/load-from-data-dirs/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/load-from-data-dirs/.dirs/runtime 888s ok 1 /bookmarks/load-from-data-dirs 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/to-file/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/to-file/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/to-file/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/to-file/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/to-file/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/to-file/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/to-file/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/to-file/.dirs/runtime 888s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_3DWXJ3/bookmarkfile-test-1V3XJ3.xbel 888s # Roundtrip from a valid bookmark file 888s ok 2 /bookmarks/to-file 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/move-item/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/move-item/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/move-item/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/move-item/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/move-item/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/move-item/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/move-item/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/move-item/.dirs/runtime 888s ok 3 /bookmarks/move-item 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/corner-cases/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/corner-cases/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/corner-cases/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/corner-cases/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/corner-cases/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/corner-cases/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/corner-cases/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/corner-cases/.dirs/runtime 888s ok 4 /bookmarks/corner-cases 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/misc/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/misc/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/misc/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/misc/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/misc/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/misc/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/misc/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/misc/.dirs/runtime 888s ok 5 /bookmarks/misc 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/deprecated/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/deprecated/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/deprecated/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/deprecated/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/deprecated/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/deprecated/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/deprecated/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/deprecated/.dirs/runtime 888s ok 6 /bookmarks/deprecated 888s # Start of parse tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-33.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-33.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-33.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-33.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-33.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-33.xbel/.dirs/runtime 888s ok 7 /bookmarks/parse/fail-33.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-40.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-40.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-40.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-40.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-40.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-40.xbel/.dirs/runtime 888s ok 8 /bookmarks/parse/fail-40.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-41.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-41.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-41.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-41.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-41.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-41.xbel/.dirs/runtime 888s ok 9 /bookmarks/parse/fail-41.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-20.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-20.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-20.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-20.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-20.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-20.xbel/.dirs/runtime 888s ok 10 /bookmarks/parse/fail-20.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-42.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-42.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-42.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-42.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-42.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-42.xbel/.dirs/runtime 888s ok 11 /bookmarks/parse/fail-42.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-32.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-32.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-32.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-32.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-32.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-32.xbel/.dirs/runtime 888s ok 12 /bookmarks/parse/fail-32.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-09.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-09.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-09.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-09.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-09.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-09.xbel/.dirs/runtime 888s ok 13 /bookmarks/parse/fail-09.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-03.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-03.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-03.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-03.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-03.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-03.xbel/.dirs/runtime 888s ok 14 /bookmarks/parse/valid-03.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-37.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-37.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-37.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-37.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-37.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-37.xbel/.dirs/runtime 888s ok 15 /bookmarks/parse/fail-37.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-23.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-23.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-23.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-23.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-23.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-23.xbel/.dirs/runtime 888s ok 16 /bookmarks/parse/fail-23.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-31.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-31.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-31.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-31.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-31.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-31.xbel/.dirs/runtime 888s ok 17 /bookmarks/parse/fail-31.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-26.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-26.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-26.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-26.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-26.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-26.xbel/.dirs/runtime 888s ok 18 /bookmarks/parse/fail-26.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-07.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-07.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-07.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-07.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-07.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-07.xbel/.dirs/runtime 888s ok 19 /bookmarks/parse/fail-07.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-03.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-03.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-03.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-03.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-03.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-03.xbel/.dirs/runtime 888s ok 20 /bookmarks/parse/fail-03.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-01.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-01.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-01.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-01.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-01.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-01.xbel/.dirs/runtime 888s ok 21 /bookmarks/parse/fail-01.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-17.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-17.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-17.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-17.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-17.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-17.xbel/.dirs/runtime 888s ok 22 /bookmarks/parse/fail-17.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-08.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-08.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-08.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-08.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-08.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-08.xbel/.dirs/runtime 888s ok 23 /bookmarks/parse/fail-08.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-38.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-38.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-38.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-38.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-38.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-38.xbel/.dirs/runtime 888s ok 24 /bookmarks/parse/fail-38.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-14.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-14.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-14.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-14.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-14.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-14.xbel/.dirs/runtime 888s ok 25 /bookmarks/parse/fail-14.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-13.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-13.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-13.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-13.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-13.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-13.xbel/.dirs/runtime 888s ok 26 /bookmarks/parse/fail-13.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-05.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-05.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-05.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-05.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-05.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-05.xbel/.dirs/runtime 888s ok 27 /bookmarks/parse/fail-05.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-35.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-35.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-35.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-35.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-35.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-35.xbel/.dirs/runtime 888s ok 28 /bookmarks/parse/fail-35.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-21.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-21.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-21.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-21.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-21.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-21.xbel/.dirs/runtime 888s ok 29 /bookmarks/parse/fail-21.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-02.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-02.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-02.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-02.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-02.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-02.xbel/.dirs/runtime 888s ok 30 /bookmarks/parse/fail-02.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-28.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-28.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-28.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-28.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-28.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-28.xbel/.dirs/runtime 888s ok 31 /bookmarks/parse/fail-28.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-04.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-04.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-04.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-04.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-04.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-04.xbel/.dirs/runtime 888s ok 32 /bookmarks/parse/fail-04.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-18.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-18.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-18.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-18.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-18.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-18.xbel/.dirs/runtime 888s ok 33 /bookmarks/parse/fail-18.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-19.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-19.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-19.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-19.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-19.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-19.xbel/.dirs/runtime 888s ok 34 /bookmarks/parse/fail-19.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-11.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-11.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-11.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-11.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-11.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-11.xbel/.dirs/runtime 888s ok 35 /bookmarks/parse/fail-11.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-16.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-16.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-16.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-16.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-16.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-16.xbel/.dirs/runtime 888s ok 36 /bookmarks/parse/fail-16.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-27.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-27.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-27.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-27.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-27.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-27.xbel/.dirs/runtime 888s ok 37 /bookmarks/parse/fail-27.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-06.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-06.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-06.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-06.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-06.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-06.xbel/.dirs/runtime 888s ok 38 /bookmarks/parse/fail-06.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-36.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-36.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-36.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-36.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-36.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-36.xbel/.dirs/runtime 888s ok 39 /bookmarks/parse/fail-36.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-01.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-01.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-01.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-01.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-01.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-01.xbel/.dirs/runtime 888s ok 40 /bookmarks/parse/valid-01.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-34.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-34.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-34.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-34.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-34.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-34.xbel/.dirs/runtime 888s ok 41 /bookmarks/parse/fail-34.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-30.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-30.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-30.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-30.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-30.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-30.xbel/.dirs/runtime 888s ok 42 /bookmarks/parse/fail-30.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-15.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-15.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-15.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-15.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-15.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-15.xbel/.dirs/runtime 888s ok 43 /bookmarks/parse/fail-15.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-25.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-25.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-25.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-25.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-25.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-25.xbel/.dirs/runtime 888s ok 44 /bookmarks/parse/fail-25.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-10.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-10.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-10.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-10.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-10.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-10.xbel/.dirs/runtime 888s ok 45 /bookmarks/parse/fail-10.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-39.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-39.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-39.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-39.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-39.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-39.xbel/.dirs/runtime 888s ok 46 /bookmarks/parse/fail-39.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-22.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-22.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-22.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-22.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-22.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-22.xbel/.dirs/runtime 888s ok 47 /bookmarks/parse/fail-22.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-29.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-29.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-29.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-29.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-29.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-29.xbel/.dirs/runtime 888s ok 48 /bookmarks/parse/fail-29.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-12.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-12.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-12.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-12.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-12.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-12.xbel/.dirs/runtime 888s ok 49 /bookmarks/parse/fail-12.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-24.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-24.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-24.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-24.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-24.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/fail-24.xbel/.dirs/runtime 888s ok 50 /bookmarks/parse/fail-24.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-02.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-02.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-02.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-02.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-02.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/parse/valid-02.xbel/.dirs/runtime 888s ok 51 /bookmarks/parse/valid-02.xbel 888s # End of parse tests 888s # Start of copy tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-33.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-33.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-33.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-33.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-33.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-33.xbel/.dirs/runtime 888s ok 52 /bookmarks/copy/fail-33.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-40.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-40.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-40.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-40.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-40.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-40.xbel/.dirs/runtime 888s ok 53 /bookmarks/copy/fail-40.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-41.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-41.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-41.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-41.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-41.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-41.xbel/.dirs/runtime 888s ok 54 /bookmarks/copy/fail-41.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-20.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-20.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-20.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-20.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-20.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-20.xbel/.dirs/runtime 888s ok 55 /bookmarks/copy/fail-20.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-42.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-42.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-42.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-42.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-42.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-42.xbel/.dirs/runtime 888s ok 56 /bookmarks/copy/fail-42.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-32.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-32.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-32.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-32.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-32.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-32.xbel/.dirs/runtime 888s ok 57 /bookmarks/copy/fail-32.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-09.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-09.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-09.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-09.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-09.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-09.xbel/.dirs/runtime 888s ok 58 /bookmarks/copy/fail-09.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-03.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-03.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-03.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-03.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-03.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-03.xbel/.dirs/runtime 888s ok 59 /bookmarks/copy/valid-03.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-37.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-37.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-37.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-37.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-37.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-37.xbel/.dirs/runtime 888s ok 60 /bookmarks/copy/fail-37.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-23.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-23.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-23.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-23.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-23.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-23.xbel/.dirs/runtime 888s ok 61 /bookmarks/copy/fail-23.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-31.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-31.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-31.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-31.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-31.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-31.xbel/.dirs/runtime 888s ok 62 /bookmarks/copy/fail-31.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-26.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-26.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-26.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-26.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-26.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-26.xbel/.dirs/runtime 888s ok 63 /bookmarks/copy/fail-26.xbel 888s ok - glib/bookmarkfile.test 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-07.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-07.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-07.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-07.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-07.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-07.xbel/.dirs/runtime 888s ok 64 /bookmarks/copy/fail-07.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-03.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-03.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-03.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-03.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-03.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-03.xbel/.dirs/runtime 888s ok 65 /bookmarks/copy/fail-03.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-01.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-01.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-01.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-01.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-01.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-01.xbel/.dirs/runtime 888s ok 66 /bookmarks/copy/fail-01.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-17.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-17.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-17.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-17.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-17.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-17.xbel/.dirs/runtime 888s ok 67 /bookmarks/copy/fail-17.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-08.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-08.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-08.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-08.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-08.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-08.xbel/.dirs/runtime 888s ok 68 /bookmarks/copy/fail-08.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-38.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-38.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-38.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-38.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-38.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-38.xbel/.dirs/runtime 888s ok 69 /bookmarks/copy/fail-38.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-14.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-14.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-14.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-14.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-14.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-14.xbel/.dirs/runtime 888s ok 70 /bookmarks/copy/fail-14.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-13.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-13.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-13.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-13.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-13.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-13.xbel/.dirs/runtime 888s ok 71 /bookmarks/copy/fail-13.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-05.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-05.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-05.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-05.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-05.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-05.xbel/.dirs/runtime 888s ok 72 /bookmarks/copy/fail-05.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-35.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-35.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-35.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-35.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-35.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-35.xbel/.dirs/runtime 888s ok 73 /bookmarks/copy/fail-35.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-21.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-21.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-21.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-21.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-21.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-21.xbel/.dirs/runtime 888s ok 74 /bookmarks/copy/fail-21.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-02.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-02.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-02.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-02.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-02.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-02.xbel/.dirs/runtime 888s ok 75 /bookmarks/copy/fail-02.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-28.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-28.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-28.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-28.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-28.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-28.xbel/.dirs/runtime 888s ok 76 /bookmarks/copy/fail-28.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-04.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-04.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-04.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-04.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-04.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-04.xbel/.dirs/runtime 888s ok 77 /bookmarks/copy/fail-04.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-18.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-18.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-18.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-18.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-18.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-18.xbel/.dirs/runtime 888s ok 78 /bookmarks/copy/fail-18.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-19.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-19.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-19.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-19.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-19.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-19.xbel/.dirs/runtime 888s ok 79 /bookmarks/copy/fail-19.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-11.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-11.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-11.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-11.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-11.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-11.xbel/.dirs/runtime 888s ok 80 /bookmarks/copy/fail-11.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-16.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-16.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-16.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-16.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-16.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-16.xbel/.dirs/runtime 888s ok 81 /bookmarks/copy/fail-16.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-27.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-27.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-27.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-27.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-27.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-27.xbel/.dirs/runtime 888s ok 82 /bookmarks/copy/fail-27.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-06.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-06.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-06.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-06.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-06.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-06.xbel/.dirs/runtime 888s ok 83 /bookmarks/copy/fail-06.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-36.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-36.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-36.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-36.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-36.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-36.xbel/.dirs/runtime 888s ok 84 /bookmarks/copy/fail-36.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-01.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-01.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-01.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-01.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-01.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-01.xbel/.dirs/runtime 888s ok 85 /bookmarks/copy/valid-01.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-34.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-34.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-34.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-34.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-34.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-34.xbel/.dirs/runtime 888s ok 86 /bookmarks/copy/fail-34.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-30.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-30.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-30.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-30.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-30.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-30.xbel/.dirs/runtime 888s ok 87 /bookmarks/copy/fail-30.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-15.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-15.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-15.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-15.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-15.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-15.xbel/.dirs/runtime 888s ok 88 /bookmarks/copy/fail-15.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-25.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-25.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-25.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-25.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-25.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-25.xbel/.dirs/runtime 888s ok 89 /bookmarks/copy/fail-25.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-10.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-10.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-10.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-10.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-10.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-10.xbel/.dirs/runtime 888s ok 90 /bookmarks/copy/fail-10.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-39.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-39.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-39.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-39.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-39.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-39.xbel/.dirs/runtime 888s ok 91 /bookmarks/copy/fail-39.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-22.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-22.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-22.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-22.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-22.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-22.xbel/.dirs/runtime 888s ok 92 /bookmarks/copy/fail-22.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-29.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-29.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-29.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-29.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-29.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-29.xbel/.dirs/runtime 888s ok 93 /bookmarks/copy/fail-29.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-12.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-12.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-12.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-12.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-12.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-12.xbel/.dirs/runtime 888s ok 94 /bookmarks/copy/fail-12.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-24.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-24.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-24.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-24.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-24.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/fail-24.xbel/.dirs/runtime 888s ok 95 /bookmarks/copy/fail-24.xbel 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-02.xbel/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-02.xbel/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-02.xbel/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-02.xbel/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-02.xbel/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_3DWXJ3/bookmarks/copy/valid-02.xbel/.dirs/runtime 888s ok 96 /bookmarks/copy/valid-02.xbel 888s # End of copy tests 888s # End of bookmarks tests 888s # Running test: glib/signals-refcount2.test 888s TAP version 14 888s # random seed: R02S69cb329a7d8a7625132a00df2975285a 888s 1..1 888s # Start of gobject tests 888s # Start of refcount tests 888s # init 0x2aa17a284a0 888s # 888s # init 0x2aa17a20580 888s # 889s # Executing: glib/signals-refcount2.test 893s ok - glib/signals-refcount2.test 893s # Running test: glib/node.test 893s # dispose 0x2aa17a284a0! 893s # 893s # dispose 0x2aa17a20580! 893s # 893s ok 1 /gobject/refcount/signals 893s # slow test /gobject/refcount/signals executed in 5.15 secs 893s # End of refcount tests 893s # End of gobject tests 893s TAP version 14 893s # random seed: R02S9580a68bbef9871701b37e32678462b2 893s 1..6 893s # Start of node tests 893s ok 1 /node/allocation 893s ok 2 /node/construction 893s ok 3 /node/traversal 893s ok 4 /node/misc 893s ok 5 /node/unlink 893s ok 6 /node/copy 893s # End of node tests 893s TAP version 14 893s # random seed: R02S473816313a5148977afb690827af78ea 893s 1..2 893s # Start of gtask tests 893s # 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. 893s ok 1 /gtask/name 893s # Start of name tests 893s # 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. 893s ok 2 /gtask/name/macro-wrapper 893s # End of name tests 893s # End of gtask tests 893s ok - glib/node.test 893s # Running test: glib/cxx-2b.test 893s ok - glib/cxx-2b.test 893s # Running test: glib/memory-monitor-dbus.test 893s TAP version 13 893s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 893s 1..1 893s ok - glib/memory-monitor-dbus.test 893s TAP version 14 893s # random seed: R02Sbbfb7f7e8804247608c3895db73b7123 893s 1..7 893s # Start of thread tests 893s ok 1 /thread/thread1 893s ok 2 /thread/thread2 893s # Running test: glib/thread.test 893s ok 3 /thread/thread3 893s ok 4 /thread/thread4 893s ok 5 /thread/thread5 893s ok 6 /thread/thread6 893s ok 7 /thread/thread7 893s # End of thread tests 893s ok - glib/thread.test 893s # Running test: glib/rand.test 893s TAP version 14 893s # random seed: R02Saa7c48590071aec59ff17ca01068ecd3 893s 1..2 893s # Start of rand tests 893s ok 1 /rand/test-rand 893s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 893s ok 2 /rand/double-range 893s # End of rand tests 893s ok - glib/rand.test 893s # Running test: glib/markup-collect.test 893s ok - glib/markup-collect.test 893s # Running test: glib/simple-async-result.test 893s TAP version 14 893s # random seed: R02Sac3c349495264574532f5a3b67ce2a6b 893s 1..21 893s # Start of markup tests 893s # Start of collect tests 893s ok 1 /markup/collect/0 893s ok 2 /markup/collect/1 893s ok 3 /markup/collect/2 893s ok 4 /markup/collect/3 893s ok 5 /markup/collect/4 893s ok 6 /markup/collect/5 893s ok 7 /markup/collect/6 893s ok 8 /markup/collect/7 893s ok 9 /markup/collect/8 893s ok 10 /markup/collect/9 893s ok 11 /markup/collect/10 893s ok 12 /markup/collect/11 893s ok 13 /markup/collect/12 893s ok 14 /markup/collect/13 893s ok 15 /markup/collect/14 893s ok 16 /markup/collect/15 893s ok 17 /markup/collect/16 893s ok 18 /markup/collect/17 893s ok 19 /markup/collect/18 893s ok 20 /markup/collect/19 893s ok 21 /markup/collect/cleanup 893s # End of collect tests 893s # End of markup tests 893s TAP version 14 893s # random seed: R02S74a00e31b37446502f867f4cef153954 893s 1..2 893s # Start of gio tests 893s # Start of simple-async-result tests 893s ok 1 /gio/simple-async-result/test 893s # GLib-GIO-DEBUG: GTask 0x2aa1e7deb10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 893s ok 2 /gio/simple-async-result/valid 893s # End of simple-async-result tests 893s # End of gio tests 893s TAP version 14 893s # random seed: R02S6294c3dcc7eb938df9944a9e2e4b5c7a 893s 1..15 893s # Start of quark tests 893s ok 1 /quark/basic 893s ok 2 /quark/string 893s # End of quark tests 893s # Start of dataset tests 893s ok 3 /dataset/basic 893s ok 4 /dataset/id 893s ok 5 /dataset/full 893s ok 6 /dataset/foreach 893s ok 7 /dataset/destroy 893s # End of dataset tests 893s # Start of datalist tests 893s ok 8 /datalist/id 893s ok 9 /datalist/recursive-clear 893s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 893s ok 10 /datalist/id-remove-multiple 893s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 893s ok 11 /datalist/id-remove-multiple-destroy-order 893s ok 12 /datalist/update-atomic 893s # Start of basic tests 893s ok 13 /datalist/basic/few 893s ok 14 /datalist/basic/many 893s # End of basic tests 893s # Start of id-remove-multiple tests 893s ok 15 /datalist/id-remove-multiple/resize 893s # End of id-remove-multiple tests 893s # End of datalist tests 893s ok - glib/simple-async-result.test 893s # Running test: glib/dataset.test 893s ok - glib/dataset.test 893s # Running test: glib/cxx-11.test 893s TAP version 14 893s # random seed: R02S77c0ab109d2626af0f0803a9f93bd48d 893s 1..2 893s # Start of gtask tests 893s # 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. 893s ok 1 /gtask/name 893s # Start of name tests 893s # 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. 893s ok 2 /gtask/name/macro-wrapper 893s # End of name tests 893s # End of gtask tests 893s ok - glib/cxx-11.test 893s # Running test: glib/param.test 893s TAP version 14 893s # random seed: R02S08587419c9f834f04b4998cae1bb70d5 894s # Executing: glib/param.test 894s 1..32 894s # Start of param tests 894s ok 1 /param/value 894s ok 2 /param/strings 894s ok 3 /param/qdata 894s ok 4 /param/validate 894s ok 5 /param/convert 894s ok 6 /param/implement # SKIP Skipping slow /param/implement test 894s ok 7 /param/default 894s ok 8 /param/is-valid-name 894s # Start of invalid-name tests 894s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 895s ok 9 /param/invalid-name/colon 895s # slow test /param/invalid-name/colon executed in 0.98 secs 895s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 895s ok 10 /param/invalid-name/first-char 895s # slow test /param/invalid-name/first-char executed in 0.53 secs 895s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 895s ok 11 /param/invalid-name/empty 895s # End of invalid-name tests 895s # Start of implement tests 895s # Start of subprocess tests 895s # End of subprocess tests 895s # End of implement tests 895s # End of param tests 895s # Start of value tests 895s ok 12 /value/transform 895s # End of value tests 895s # Start of paramspec tests 895s ok 13 /paramspec/char 895s ok 14 /paramspec/uchar 895s ok 15 /paramspec/int 895s ok 16 /paramspec/uint 895s ok 17 /paramspec/long 895s ok 18 /paramspec/ulong 895s ok 19 /paramspec/int64 895s ok 20 /paramspec/uint64 895s ok 21 /paramspec/float 895s ok 22 /paramspec/double 895s ok 23 /paramspec/unichar 895s ok 24 /paramspec/param 895s ok 25 /paramspec/null-param 896s ok - glib/param.test 896s ok 26 /paramspec/string 896s ok 27 /paramspec/override 896s ok 28 /paramspec/gtype 896s ok 29 /paramspec/variant 896s ok 30 /paramspec/custom 896s ok 31 /paramspec/pool 896s # Start of variant tests 896s ok 32 /paramspec/variant/cmp 896s # End of variant tests 896s # End of paramspec tests 896s # Running test: glib/utils.test 896s TAP version 14 896s # random seed: R02Sf8b6652d09a12ec83db6e01fc2917406 896s 1..41 896s # Start of utils tests 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/language-names/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/language-names/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/language-names/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/language-names/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/language-names/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/language-names/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/language-names/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/language-names/.dirs/runtime 896s ok 1 /utils/language-names 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/locale-variants/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/locale-variants/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/locale-variants/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/locale-variants/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/locale-variants/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/locale-variants/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/locale-variants/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/locale-variants/.dirs/runtime 896s # Testing locale ‘en’ 896s # Testing locale ‘sr@latin’ 896s # Testing locale ‘fr_BE’ 896s # Testing locale ‘sr_SR@latin’ 896s # Testing locale ‘sr_SR@latin.UTF-8’ 896s # Testing locale ‘sr@latin_invalid’ 896s # Testing locale ‘sr.UTF-8@latin’ 896s # Testing locale ‘sr.UTF-8_latin’ 896s # Testing locale ‘sr.UTF-8@latin_invalid’ 896s ok 2 /utils/locale-variants 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/version/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/version/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/version/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/version/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/version/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/version/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/version/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/version/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/version/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/version/.dirs/runtime 896s ok 3 /utils/version 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/appname/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/appname/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/appname/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/appname/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/appname/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/appname/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/appname/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/appname/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/appname/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/appname/.dirs/runtime 896s ok 4 /utils/appname 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/prgname-thread-safety/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/prgname-thread-safety/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/prgname-thread-safety/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/prgname-thread-safety/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/prgname-thread-safety/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/prgname-thread-safety/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/prgname-thread-safety/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/prgname-thread-safety/.dirs/runtime 896s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 896s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 896s ok 5 /utils/prgname-thread-safety 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/tmpdir/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/tmpdir/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/tmpdir/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/tmpdir/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/tmpdir/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/tmpdir/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/tmpdir/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/tmpdir/.dirs/runtime 896s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 896s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 896s Unable to clean up temporary directory /tmp/test_utils_QBDZJ3/utils/tmpdir: No such file or directory 896s ok 6 /utils/tmpdir 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/basic_bits/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/basic_bits/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/basic_bits/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/basic_bits/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/basic_bits/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/basic_bits/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/basic_bits/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/basic_bits/.dirs/runtime 896s ok 7 /utils/basic_bits 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/bits/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/bits/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/bits/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/bits/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/bits/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/bits/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/bits/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/bits/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/bits/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/bits/.dirs/runtime 896s ok 8 /utils/bits 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/swap/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/swap/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/swap/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/swap/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/swap/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/swap/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/swap/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/swap/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/swap/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/swap/.dirs/runtime 896s ok 9 /utils/swap 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/find-program/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/find-program/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/find-program/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/find-program/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/find-program/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/find-program/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/find-program/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/find-program/.dirs/runtime 896s ok 10 /utils/find-program 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/find-program-for-path/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/find-program-for-path/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/find-program-for-path/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/find-program-for-path/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/find-program-for-path/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/find-program-for-path/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/find-program-for-path/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/find-program-for-path/.dirs/runtime 896s ok 11 /utils/find-program-for-path 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/debug/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/debug/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/debug/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/debug/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/debug/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/debug/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/debug/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/debug/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/debug/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/debug/.dirs/runtime 896s Unable to clean up temporary directory /tmp/test_utils_QBDZJ3/utils/debug: No such file or directory 896s ok 12 /utils/debug 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/codeset/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/codeset/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/codeset/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/codeset/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/codeset/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/codeset/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/codeset/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/codeset/.dirs/runtime 896s ok 13 /utils/codeset 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/codeset2/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/codeset2/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/codeset2/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/codeset2/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/codeset2/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/codeset2/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/codeset2/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/codeset2/.dirs/runtime 896s Unable to clean up temporary directory /tmp/test_utils_QBDZJ3/utils/codeset2: No such file or directory 896s ok 14 /utils/codeset2 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/console-charset/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/console-charset/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/console-charset/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/console-charset/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/console-charset/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/console-charset/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/console-charset/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/console-charset/.dirs/runtime 896s ok 15 /utils/console-charset 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/gettext/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/gettext/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/gettext/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/gettext/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/gettext/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/gettext/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/gettext/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/gettext/.dirs/runtime 896s ok 16 /utils/gettext 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/username/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/username/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/username/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/username/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/username/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/username/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/username/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/username/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/username/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/username/.dirs/runtime 896s ok 17 /utils/username 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/realname/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/realname/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/realname/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/realname/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/realname/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/realname/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/realname/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/realname/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/realname/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/realname/.dirs/runtime 896s ok 18 /utils/realname 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/hostname/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/hostname/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/hostname/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/hostname/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/hostname/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/hostname/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/hostname/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/hostname/.dirs/runtime 896s ok 19 /utils/hostname 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/os-info/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/os-info/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/os-info/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/os-info/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/os-info/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/os-info/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/os-info/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/os-info/.dirs/runtime 896s # NAME: Ubuntu 896s ok 20 /utils/os-info 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/clear-pointer/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/clear-pointer/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/clear-pointer/.dirs/runtime 896s ok 21 /utils/clear-pointer 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer-cast/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer-cast/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/clear-pointer-cast/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer-cast/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/clear-pointer-cast/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer-cast/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer-cast/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/clear-pointer-cast/.dirs/runtime 896s ok 22 /utils/clear-pointer-cast 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/take-pointer/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/take-pointer/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/take-pointer/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/take-pointer/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/take-pointer/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/take-pointer/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/take-pointer/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/take-pointer/.dirs/runtime 896s ok 23 /utils/take-pointer 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/clear-source/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-source/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/clear-source/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/clear-source/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/clear-source/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/clear-source/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-source/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/clear-source/.dirs/runtime 896s ok 24 /utils/clear-source 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/misc-mem/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/misc-mem/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/misc-mem/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/misc-mem/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/misc-mem/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/misc-mem/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/misc-mem/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/misc-mem/.dirs/runtime 896s ok 25 /utils/misc-mem 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/aligned-mem/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/aligned-mem/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/aligned-mem/.dirs/runtime 896s # /utils/aligned-mem summary: Aligned memory allocator 896s # Alignment must not be zero 896s # Alignment must be a power of two 896s # Alignment must be a multiple of sizeof(void*) 896s ok 26 /utils/aligned-mem 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/free-sized/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/free-sized/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/free-sized/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/free-sized/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/free-sized/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/free-sized/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/free-sized/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/free-sized/.dirs/runtime 896s # /utils/free-sized summary: Check that g_free_sized() works 896s ok 27 /utils/free-sized 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/nullify/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/nullify/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/nullify/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/nullify/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/nullify/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/nullify/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/nullify/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/nullify/.dirs/runtime 896s ok 28 /utils/nullify 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/atexit/.dirs/home 896s ok - glib/utils.test 896s # Running test: glib/rcbox.test 896s ok - glib/rcbox.test 896s # Running test: glib/g-icon.test 896s ok - glib/g-icon.test 896s # Running test: glib/gdbus-exit-on-close.test 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/atexit/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/atexit/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/atexit/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/atexit/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/atexit/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/atexit/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/atexit/.dirs/runtime 896s Unable to clean up temporary directory /tmp/test_utils_QBDZJ3/utils/atexit: No such file or directory 896s ok 29 /utils/atexit 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/check-setuid/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/check-setuid/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/check-setuid/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/check-setuid/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/check-setuid/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/check-setuid/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/check-setuid/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/check-setuid/.dirs/runtime 896s ok 30 /utils/check-setuid 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/int-limits/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/int-limits/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/int-limits/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/int-limits/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/int-limits/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/int-limits/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/int-limits/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/int-limits/.dirs/runtime 896s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 896s ok 31 /utils/int-limits 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/clear-list/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-list/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/clear-list/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/clear-list/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/clear-list/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/clear-list/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-list/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/clear-list/.dirs/runtime 896s ok 32 /utils/clear-list 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/clear-slist/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-slist/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/clear-slist/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/clear-slist/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/clear-slist/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/clear-slist/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-slist/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/clear-slist/.dirs/runtime 896s ok 33 /utils/clear-slist 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/steal-handle-id/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/steal-handle-id/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/steal-handle-id/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/steal-handle-id/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/steal-handle-id/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/steal-handle-id/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/steal-handle-id/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/steal-handle-id/.dirs/runtime 896s ok 34 /utils/steal-handle-id 896s # Start of user-special-dirs tests 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/desktop/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/desktop/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/user-special-dirs/desktop/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/desktop/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/user-special-dirs/desktop/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/desktop/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/desktop/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/desktop/.dirs/runtime 896s ok 35 /utils/user-special-dirs/desktop 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 896s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 896s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 896s Unable to clean up temporary directory /tmp/test_utils_QBDZJ3/utils/user-special-dirs/load-unlocked: No such file or directory 896s ok 36 /utils/user-special-dirs/load-unlocked 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 896s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 896s Unable to clean up temporary directory /tmp/test_utils_QBDZJ3/utils/user-special-dirs/reload-leaks: No such file or directory 896s ok 37 /utils/user-special-dirs/reload-leaks 896s # End of user-special-dirs tests 896s # Start of clear-pointer tests 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer/side-effects/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer/side-effects/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/clear-pointer/side-effects/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer/side-effects/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/clear-pointer/side-effects/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer/side-effects/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/clear-pointer/side-effects/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/clear-pointer/side-effects/.dirs/runtime 896s ok 38 /utils/clear-pointer/side-effects 896s # End of clear-pointer tests 896s # Start of aligned-mem tests 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/alignment/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/alignment/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/aligned-mem/alignment/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/alignment/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/aligned-mem/alignment/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/alignment/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/alignment/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/aligned-mem/alignment/.dirs/runtime 896s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 896s ok 39 /utils/aligned-mem/alignment 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/zeroed/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/zeroed/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/aligned-mem/zeroed/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/zeroed/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/aligned-mem/zeroed/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/zeroed/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/zeroed/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/aligned-mem/zeroed/.dirs/runtime 896s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 896s ok 40 /utils/aligned-mem/zeroed 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/free-sized/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/free-sized/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QBDZJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_QBDZJ3/utils/aligned-mem/free-sized/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/free-sized/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QBDZJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_QBDZJ3/utils/aligned-mem/free-sized/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/free-sized/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QBDZJ3/utils/aligned-mem/free-sized/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QBDZJ3/utils/aligned-mem/free-sized/.dirs/runtime 896s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 896s ok 41 /utils/aligned-mem/free-sized 896s # Start of subprocess tests 896s # End of subprocess tests 896s # End of aligned-mem tests 896s # End of utils tests 896s TAP version 14 896s # random seed: R02S3b8119f278e13e11d50ed965e04490b5 896s 1..8 896s # Start of rcbox tests 896s ok 1 /rcbox/new 896s # global_point = 0x2aa3746b720 896s ok 2 /rcbox/release-full 896s # global_point_a = 0x2aa3746b720 896s # global_point_b = 0x2aa3746b7f0 896s ok 3 /rcbox/dup 896s ok 4 /rcbox/alignment 896s # End of rcbox tests 896s # Start of atomic-rcbox tests 896s ok 5 /atomic-rcbox/new 896s # global_point = 0x2aa3746b7f0 896s ok 6 /atomic-rcbox/release-full 896s # global_point_a = 0x2aa3746b7f0 896s # global_point_b = 0x2aa3746b720 896s ok 7 /atomic-rcbox/dup 896s ok 8 /atomic-rcbox/alignment 896s # End of atomic-rcbox tests 896s TAP version 14 896s # random seed: R02S5a0ed54032f97739a9b9d8cc5291e9f6 896s 1..6 896s # Start of icons tests 896s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 896s ok 1 /icons/to-string 896s ok 2 /icons/serialize 896s ok 3 /icons/themed 896s ok 4 /icons/emblemed 896s ok 5 /icons/file 896s ok 6 /icons/bytes 896s # End of icons tests 896s TAP version 14 896s # random seed: R02S9cf013d3aab0ddcdbdbb1d98bea34b79 896s 1..4 896s # Start of gdbus tests 896s # Start of exit-on-close tests 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/default/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/default/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/default/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/default/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/default/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/default/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/default/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/default/.dirs/runtime 896s ok 1 /gdbus/exit-on-close/default 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/true/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/true/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/true/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/true/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/true/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/true/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/true/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/true/.dirs/runtime 896s ok 2 /gdbus/exit-on-close/true 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/false/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/false/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/false/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/false/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/false/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/false/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/false/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/false/.dirs/runtime 896s ok 3 /gdbus/exit-on-close/false 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/we-close/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/we-close/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/we-close/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/we-close/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/we-close/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/we-close/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/we-close/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_B06YJ3/gdbus/exit-on-close/we-close/.dirs/runtime 896s ok 4 /gdbus/exit-on-close/we-close 896s # Start of default tests 896s # End of default tests 896s # Start of true tests 896s # End of true tests 896s # Start of false tests 896s # End of false tests 896s # Start of we-close tests 896s # End of we-close tests 896s # End of exit-on-close tests 896s # End of gdbus tests 896s ok - glib/gdbus-exit-on-close.test 896s # Running test: glib/ifaceproperties.test 896s ok - glib/ifaceproperties.test 896s TAP version 14 896s # random seed: R02S3dc8987ee311c7c53b26c8ef109df617 896s 1..7 896s # Start of interface tests 896s # Start of properties tests 896s ok 1 /interface/properties/set 896s ok 2 /interface/properties/notify 896s ok 3 /interface/properties/find-overridden 896s ok 4 /interface/properties/list-overridden 896s ok 5 /interface/properties/find-interface 896s ok 6 /interface/properties/list-interface 896s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 896s ok 7 /interface/properties/not-overridden 896s # End of properties tests 896s # End of interface tests 896s # Running test: glib/gdbus-error.test 896s ok - glib/gdbus-error.test 896s # Running test: glib/base64.test 896s TAP version 14 896s # random seed: R02S5e8ca962c0b9673a71267010a3c2cc7a 896s 1..4 896s # Start of gdbus tests 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_991WJ3/gdbus/registered-errors/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/registered-errors/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_991WJ3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_991WJ3/gdbus/registered-errors/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/registered-errors/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_991WJ3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_991WJ3/gdbus/registered-errors/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/registered-errors/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/registered-errors/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_991WJ3/gdbus/registered-errors/.dirs/runtime 896s ok 1 /gdbus/registered-errors 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_991WJ3/gdbus/unregistered-errors/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/unregistered-errors/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_991WJ3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_991WJ3/gdbus/unregistered-errors/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/unregistered-errors/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_991WJ3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_991WJ3/gdbus/unregistered-errors/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/unregistered-errors/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/unregistered-errors/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_991WJ3/gdbus/unregistered-errors/.dirs/runtime 896s ok 2 /gdbus/unregistered-errors 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_991WJ3/gdbus/transparent-gerror/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/transparent-gerror/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_991WJ3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_991WJ3/gdbus/transparent-gerror/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/transparent-gerror/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_991WJ3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_991WJ3/gdbus/transparent-gerror/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/transparent-gerror/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/transparent-gerror/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_991WJ3/gdbus/transparent-gerror/.dirs/runtime 896s ok 3 /gdbus/transparent-gerror 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_991WJ3/gdbus/register-error/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/register-error/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_991WJ3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_991WJ3/gdbus/register-error/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/register-error/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_991WJ3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_991WJ3/gdbus/register-error/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/register-error/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_991WJ3/gdbus/register-error/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_991WJ3/gdbus/register-error/.dirs/runtime 896s ok 4 /gdbus/register-error 896s # End of gdbus tests 896s TAP version 14 896s # random seed: R02Sfaaf3c0f105579debbdd926bbd8d2d12 896s 1..28 896s # Start of base64 tests 896s ok 1 /base64/encode 896s ok 2 /base64/decode 896s ok 3 /base64/decode-inplace 896s ok 4 /base64/encode-decode 896s # Start of full tests 896s ok 5 /base64/full/1 896s ok 6 /base64/full/2 896s ok 7 /base64/full/3 896s ok 8 /base64/full/4 896s # End of full tests 896s # Start of encode tests 896s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 896s ok 9 /base64/encode/empty 896s # Start of incremental tests 896s # Start of small-block tests 896s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 896s ok 10 /base64/encode/incremental/small-block/1 896s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 896s ok 11 /base64/encode/incremental/small-block/2 896s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 896s ok 12 /base64/encode/incremental/small-block/3 896s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 896s ok 13 /base64/encode/incremental/small-block/4 896s # End of small-block tests 896s # End of incremental tests 896s # End of encode tests 896s # Start of incremental tests 896s # Start of nobreak tests 896s ok 14 /base64/incremental/nobreak/1 896s ok 15 /base64/incremental/nobreak/2 896s ok 16 /base64/incremental/nobreak/3 896s ok 17 /base64/incremental/nobreak/4-a 896s ok 18 /base64/incremental/nobreak/4-b 896s ok 19 /base64/incremental/nobreak/4-c 896s # End of nobreak tests 896s # Start of break tests 896s ok 20 /base64/incremental/break/1 896s ok 21 /base64/incremental/break/2 896s ok 22 /base64/incremental/break/3 896s # End of break tests 896s # Start of smallblock tests 896s ok 23 /base64/incremental/smallblock/1 896s ok 24 /base64/incremental/smallblock/2 896s ok 25 /base64/incremental/smallblock/3 896s ok 26 /base64/incremental/smallblock/4 896s # End of smallblock tests 896s # End of incremental tests 896s # Start of decode tests 896s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 896s ok 27 /base64/decode/empty 896s # End of decode tests 896s # Start of encode-decode tests 896s # Vector 0: 896s # Vector 1: f 896s # Vector 2: fo 896s # Vector 3: foo 896s # Vector 4: foob 896s # Vector 5: fooba 896s # Vector 6: foobar 896s ok 28 /base64/encode-decode/rfc4648 896s # End of encode-decode tests 896s # End of base64 tests 896s TAP version 14 896s # random seed: R02Sa6ac14752ef8ac61d4fd48812e434a90 896s ok - glib/base64.test 896s # Running test: glib/gdbus-connection-loss.test 896s 1..1 896s # Start of gdbus tests 896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_ISIWJ3/gdbus/connection-loss/.dirs/home 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_ISIWJ3/gdbus/connection-loss/.dirs/cache 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_ISIWJ3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_ISIWJ3/gdbus/connection-loss/.dirs/system-config2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_ISIWJ3/gdbus/connection-loss/.dirs/config 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_ISIWJ3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_ISIWJ3/gdbus/connection-loss/.dirs/system-data2 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_ISIWJ3/gdbus/connection-loss/.dirs/data 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_ISIWJ3/gdbus/connection-loss/.dirs/state 896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_ISIWJ3/gdbus/connection-loss/.dirs/runtime 896s ok 1 /gdbus/connection-loss 896s # End of gdbus tests 896s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 896s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 896s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 896s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 896s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 896s ok - glib/gdbus-connection-loss.test 896s # Running test: glib/srvtarget.test 896s TAP version 14 896s # random seed: R02S1dedb4431b8af2b86519a40f5b807ca6 896s 1..1 896s # Start of srvtarget tests 898s ok - glib/srvtarget.test 898s # Running test: glib/registered-type-info.test 898s ok - glib/registered-type-info.test 898s # Running test: glib/gobject-private.test 898s ok 1 /srvtarget/srv-target-ordering 898s # slow test /srvtarget/srv-target-ordering executed in 1.28 secs 898s # End of srvtarget tests 898s TAP version 14 898s # random seed: R02S08f4b20f013109683303231062b9d59b 898s 1..1 898s # Start of registered-type-info tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_IITZJ3/registered-type-info/boxed/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_IITZJ3/registered-type-info/boxed/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_IITZJ3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_IITZJ3/registered-type-info/boxed/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_IITZJ3/registered-type-info/boxed/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_IITZJ3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_IITZJ3/registered-type-info/boxed/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_IITZJ3/registered-type-info/boxed/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_IITZJ3/registered-type-info/boxed/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_IITZJ3/registered-type-info/boxed/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 898s # Expecting CClosure to not be boxed 898s # Expecting TypeCValue to not be boxed 898s # Expecting InitiallyUnownedClass to not be boxed 898s # Expecting BookmarkFile to be boxed 898s # Expecting Closure to be boxed 898s # Expecting Object to not be boxed 898s ok 1 /registered-type-info/boxed 898s # End of registered-type-info tests 898s TAP version 14 898s # random seed: R02Sc625a604dd6b3a1e751844e02158ca9d 898s 1..3 898s # Start of private tests 898s ok 1 /private/instance 898s ok 2 /private/derived-instance 898s ok 3 /private/mixed-derived-instance 898s # End of private tests 898s ok - glib/gobject-private.test 898s # Running test: glib/include.test 898s ok - glib/include.test 898s # Running test: glib/regex.test 898s TAP version 14 898s # random seed: R02S0130bf2240cab2e2a167efefd4b1e52f 898s 1..1 898s # Start of include tests 898s ok 1 /include/rwlock 898s # End of include tests 898s TAP version 14 898s # random seed: R02Sdd4f968bc0ad910c1a853dc6ec655b67 898s 1..849 898s # Start of regex tests 898s ok 1 /regex/properties 898s ok 2 /regex/class 898s ok 3 /regex/lookahead 898s ok 4 /regex/lookbehind 898s ok 5 /regex/subpattern 898s ok 6 /regex/condition 898s ok 7 /regex/recursion 898s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 898s ok 8 /regex/multiline 898s ok 9 /regex/explicit-crlf 898s ok 10 /regex/max-lookbehind 898s ok 11 /regex/compile-errors 898s ok 12 /regex/jit-unsupported-matching 898s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 898s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 898s ok 13 /regex/unmatched-named-subpattern 898s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 898s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 898s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 898s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 898s ok 14 /regex/compiled-regex-after-jit-failure 898s # Start of new tests 898s ok 15 /regex/new/1 898s ok 16 /regex/new/2 898s ok 17 /regex/new/3 898s ok 18 /regex/new/4 898s ok 19 /regex/new/5 898s ok 20 /regex/new/6 898s ok 21 /regex/new/7 898s ok 22 /regex/new/8 898s ok 23 /regex/new/9 898s ok 24 /regex/new/10 898s ok 25 /regex/new/11 898s ok 26 /regex/new/12 898s ok 27 /regex/new/13 898s ok 28 /regex/new/14 898s ok 29 /regex/new/15 898s ok 30 /regex/new/16 898s ok 31 /regex/new/17 898s ok 32 /regex/new/18 898s ok 33 /regex/new/19 898s ok 34 /regex/new/71 898s ok 35 /regex/new/81 898s ok 36 /regex/new/83 898s # End of new tests 898s # Start of new-check-flags tests 898s ok 37 /regex/new-check-flags/20 898s ok 38 /regex/new-check-flags/21 898s ok 39 /regex/new-check-flags/22 898s ok 40 /regex/new-check-flags/23 898s ok 41 /regex/new-check-flags/24 898s ok 42 /regex/new-check-flags/25 898s ok 43 /regex/new-check-flags/26 898s ok 44 /regex/new-check-flags/27 898s ok 45 /regex/new-check-flags/28 898s ok 46 /regex/new-check-flags/29 898s ok 47 /regex/new-check-flags/30 898s ok 48 /regex/new-check-flags/31 898s ok 49 /regex/new-check-flags/32 898s ok 50 /regex/new-check-flags/33 898s ok 51 /regex/new-check-flags/34 898s ok 52 /regex/new-check-flags/35 898s ok 53 /regex/new-check-flags/36 898s # End of new-check-flags tests 898s # Start of new-fail tests 898s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating ) 898s ok 54 /regex/new-fail/37 898s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating ) 898s ok 55 /regex/new-fail/38 898s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class 898s ok 56 /regex/new-fail/39 898s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat 898s ok 57 /regex/new-fail/40 898s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat 898s ok 58 /regex/new-fail/41 898s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 898s ok 59 /regex/new-fail/42 898s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 898s ok 60 /regex/new-fail/43 898s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 898s ok 61 /regex/new-fail/44 898s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 898s ok 62 /regex/new-fail/45 898s # 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 898s ok 63 /regex/new-fail/46 898s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 898s ok 64 /regex/new-fail/47 898s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 898s ok 65 /regex/new-fail/48 898s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 898s ok 66 /regex/new-fail/49 898s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 898s ok 67 /regex/new-fail/50 898s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 898s ok 68 /regex/new-fail/51 898s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 898s ok 69 /regex/new-fail/52 898s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 898s ok 70 /regex/new-fail/53 898s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 898s ok 71 /regex/new-fail/54 898s # 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 898s ok 72 /regex/new-fail/55 898s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 898s ok 73 /regex/new-fail/56 898s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 898s ok 74 /regex/new-fail/57 898s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 898s ok 75 /regex/new-fail/58 898s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 898s ok 76 /regex/new-fail/59 898s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 898s ok 77 /regex/new-fail/60 898s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 898s ok 78 /regex/new-fail/61 898s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 898s ok 79 /regex/new-fail/62 898s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 898s ok 80 /regex/new-fail/63 898s # 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 898s ok 81 /regex/new-fail/64 898s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 898s ok 82 /regex/new-fail/65 898s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 898s ok 83 /regex/new-fail/66 898s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 898s ok 84 /regex/new-fail/67 898s # 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 898s ok 85 /regex/new-fail/68 898s # 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 898s ok 86 /regex/new-fail/69 898s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 898s ok 87 /regex/new-fail/70 898s # 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 898s ok 90 /regex/new-fail/74 898s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 898s ok 91 /regex/new-fail/75 898s # 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 898s ok 92 /regex/new-fail/76 898s # Compiling pattern /a/ failed with error: Invalid newline flags 898s ok 93 /regex/new-fail/77 898s # 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 898s ok 94 /regex/new-fail/78 898s # 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 898s ok 95 /regex/new-fail/79 898s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 898s ok 96 /regex/new-fail/80 898s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 898s ok 97 /regex/new-fail/82 898s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 898s ok 98 /regex/new-fail/84 898s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 898s ok 99 /regex/new-fail/85 898s # 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 898s ok 100 /regex/new-fail/86 898s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 898s ok 101 /regex/new-fail/87 898s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 898s ok 102 /regex/new-fail/88 898s # 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 898s ok 103 /regex/new-fail/89 898s # 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 898s ok 104 /regex/new-fail/90 898s # 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) 898s ok 105 /regex/new-fail/91 898s # 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 898s ok 106 /regex/new-fail/92 898s # End of new-fail tests 898s # Start of match-simple tests 898s ok 107 /regex/match-simple/93 898s ok 108 /regex/match-simple/94 898s ok 109 /regex/match-simple/95 898s ok 110 /regex/match-simple/96 898s ok 111 /regex/match-simple/97 898s ok 112 /regex/match-simple/98 898s ok 113 /regex/match-simple/99 898s ok 114 /regex/match-simple/100 898s ok 115 /regex/match-simple/101 898s ok 116 /regex/match-simple/102 898s ok 117 /regex/match-simple/103 898s ok 118 /regex/match-simple/104 898s ok 119 /regex/match-simple/105 898s ok 120 /regex/match-simple/106 898s ok 121 /regex/match-simple/107 898s ok 122 /regex/match-simple/108 898s ok 123 /regex/match-simple/109 898s ok 124 /regex/match-simple/110 898s ok 125 /regex/match-simple/111 898s ok 126 /regex/match-simple/112 898s ok 127 /regex/match-simple/113 898s ok 128 /regex/match-simple/114 898s ok 129 /regex/match-simple/115 898s ok 130 /regex/match-simple/116 898s ok 131 /regex/match-simple/117 898s ok 132 /regex/match-simple/118 898s ok 133 /regex/match-simple/119 898s ok 134 /regex/match-simple/120 898s ok 135 /regex/match-simple/121 898s ok 136 /regex/match-simple/122 898s ok 137 /regex/match-simple/123 898s ok 138 /regex/match-simple/124 898s ok 139 /regex/match-simple/125 898s ok 140 /regex/match-simple/126 898s ok 141 /regex/match-simple/127 898s ok 142 /regex/match-simple/128 898s ok 143 /regex/match-simple/129 898s ok 144 /regex/match-simple/130 898s ok 145 /regex/match-simple/131 898s ok 146 /regex/match-simple/132 898s ok 147 /regex/match-simple/133 898s ok 148 /regex/match-simple/134 898s ok 149 /regex/match-simple/135 898s ok 150 /regex/match-simple/136 898s ok 151 /regex/match-simple/137 898s ok 152 /regex/match-simple/138 898s ok 153 /regex/match-simple/139 898s ok 154 /regex/match-simple/140 898s ok 155 /regex/match-simple/141 898s ok 156 /regex/match-simple/142 898s ok 157 /regex/match-simple/143 898s ok 158 /regex/match-simple/144 898s ok 159 /regex/match-simple/145 898s ok 160 /regex/match-simple/146 898s ok 161 /regex/match-simple/147 898s ok 162 /regex/match-simple/148 898s ok 163 /regex/match-simple/149 898s ok 164 /regex/match-simple/150 898s ok 165 /regex/match-simple/151 898s ok 166 /regex/match-simple/152 898s ok 167 /regex/match-simple/153 898s ok 168 /regex/match-simple/154 898s ok 169 /regex/match-simple/155 898s ok 170 /regex/match-simple/156 898s ok 171 /regex/match-simple/157 898s ok 172 /regex/match-simple/158 898s ok 173 /regex/match-simple/159 898s ok 174 /regex/match-simple/160 898s ok 175 /regex/match-simple/161 898s ok 176 /regex/match-simple/162 898s ok 177 /regex/match-simple/163 898s ok 178 /regex/match-simple/164 898s ok 179 /regex/match-simple/165 898s # End of match-simple tests 898s # Start of match-simple-optimized tests 898s ok 180 /regex/match-simple-optimized/93 898s ok 181 /regex/match-simple-optimized/94 898s ok 182 /regex/match-simple-optimized/95 898s ok 183 /regex/match-simple-optimized/96 898s ok 184 /regex/match-simple-optimized/97 898s ok 185 /regex/match-simple-optimized/98 898s ok 186 /regex/match-simple-optimized/99 898s ok 187 /regex/match-simple-optimized/100 898s ok 188 /regex/match-simple-optimized/101 898s ok 189 /regex/match-simple-optimized/102 898s ok 190 /regex/match-simple-optimized/103 898s ok 191 /regex/match-simple-optimized/104 898s ok 192 /regex/match-simple-optimized/105 898s ok 193 /regex/match-simple-optimized/106 898s ok 194 /regex/match-simple-optimized/107 898s ok 195 /regex/match-simple-optimized/108 898s ok 196 /regex/match-simple-optimized/109 898s ok 197 /regex/match-simple-optimized/110 898s ok 198 /regex/match-simple-optimized/111 898s ok 199 /regex/match-simple-optimized/112 898s ok 200 /regex/match-simple-optimized/113 898s ok 201 /regex/match-simple-optimized/114 898s ok 202 /regex/match-simple-optimized/115 898s ok 203 /regex/match-simple-optimized/116 898s ok 204 /regex/match-simple-optimized/117 898s ok 205 /regex/match-simple-optimized/118 898s ok 206 /regex/match-simple-optimized/119 898s ok 207 /regex/match-simple-optimized/120 898s ok 208 /regex/match-simple-optimized/121 898s ok 209 /regex/match-simple-optimized/122 898s ok 210 /regex/match-simple-optimized/123 898s ok 211 /regex/match-simple-optimized/124 898s ok 212 /regex/match-simple-optimized/125 898s ok 213 /regex/match-simple-optimized/126 898s ok 214 /regex/match-simple-optimized/127 898s ok 215 /regex/match-simple-optimized/128 898s ok 216 /regex/match-simple-optimized/129 898s ok 217 /regex/match-simple-optimized/130 898s ok 218 /regex/match-simple-optimized/131 898s ok 219 /regex/match-simple-optimized/132 898s ok 220 /regex/match-simple-optimized/133 898s ok 221 /regex/match-simple-optimized/134 898s ok 222 /regex/match-simple-optimized/135 898s ok 223 /regex/match-simple-optimized/136 898s ok 224 /regex/match-simple-optimized/137 898s ok 225 /regex/match-simple-optimized/138 898s ok 226 /regex/match-simple-optimized/139 898s ok 227 /regex/match-simple-optimized/140 898s ok 228 /regex/match-simple-optimized/141 898s ok 229 /regex/match-simple-optimized/142 898s ok 230 /regex/match-simple-optimized/143 898s ok 231 /regex/match-simple-optimized/144 898s ok 232 /regex/match-simple-optimized/145 898s ok 233 /regex/match-simple-optimized/146 898s ok 234 /regex/match-simple-optimized/147 898s ok 235 /regex/match-simple-optimized/148 898s ok 236 /regex/match-simple-optimized/149 898s ok 237 /regex/match-simple-optimized/150 898s ok 238 /regex/match-simple-optimized/151 898s ok 239 /regex/match-simple-optimized/152 898s ok 240 /regex/match-simple-optimized/153 898s ok 241 /regex/match-simple-optimized/154 898s ok 242 /regex/match-simple-optimized/155 898s ok 243 /regex/match-simple-optimized/156 898s ok 244 /regex/match-simple-optimized/157 898s ok 245 /regex/match-simple-optimized/158 898s ok 246 /regex/match-simple-optimized/159 898s ok 247 /regex/match-simple-optimized/160 898s ok 248 /regex/match-simple-optimized/161 898s ok 249 /regex/match-simple-optimized/162 898s ok 250 /regex/match-simple-optimized/163 898s ok 251 /regex/match-simple-optimized/164 898s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 898s ok 252 /regex/match-simple-optimized/165 898s # End of match-simple-optimized tests 898s # Start of match tests 898s ok 253 /regex/match/166 898s ok 254 /regex/match/167 898s ok 255 /regex/match/168 898s ok 256 /regex/match/169 898s ok 257 /regex/match/170 898s ok 258 /regex/match/171 898s ok 259 /regex/match/172 898s ok 260 /regex/match/173 898s ok 261 /regex/match/174 898s ok 262 /regex/match/175 898s ok 263 /regex/match/176 898s ok 264 /regex/match/177 898s ok 265 /regex/match/178 898s ok 266 /regex/match/179 898s ok 267 /regex/match/180 898s ok 268 /regex/match/181 898s ok 269 /regex/match/182 898s ok 270 /regex/match/183 898s ok 271 /regex/match/184 898s ok 272 /regex/match/185 898s ok 273 /regex/match/186 898s ok 274 /regex/match/187 898s ok 275 /regex/match/188 898s ok 276 /regex/match/189 898s ok 277 /regex/match/190 898s ok 278 /regex/match/191 898s ok 279 /regex/match/192 898s ok 280 /regex/match/193 898s ok 281 /regex/match/194 898s ok 282 /regex/match/195 898s ok 283 /regex/match/196 898s ok 284 /regex/match/197 898s ok 285 /regex/match/198 898s ok 286 /regex/match/199 898s ok 287 /regex/match/200 898s ok 288 /regex/match/201 898s ok 289 /regex/match/202 898s ok 290 /regex/match/203 898s ok 291 /regex/match/204 898s ok 292 /regex/match/205 898s ok 293 /regex/match/206 898s ok 294 /regex/match/207 898s ok 295 /regex/match/208 898s ok 296 /regex/match/209 898s ok 297 /regex/match/210 898s ok 298 /regex/match/211 898s ok 299 /regex/match/212 898s ok 300 /regex/match/213 898s ok 301 /regex/match/214 898s ok 302 /regex/match/215 898s ok 303 /regex/match/216 898s ok 304 /regex/match/217 898s ok 305 /regex/match/218 898s ok 306 /regex/match/219 898s ok 307 /regex/match/220 898s ok 308 /regex/match/221 898s ok 309 /regex/match/222 898s ok 310 /regex/match/223 898s ok 311 /regex/match/224 898s ok 312 /regex/match/225 898s ok 313 /regex/match/226 898s ok 314 /regex/match/227 898s ok 315 /regex/match/228 898s ok 316 /regex/match/229 898s ok 317 /regex/match/230 898s ok 318 /regex/match/231 898s ok 319 /regex/match/232 898s ok 320 /regex/match/233 898s ok 321 /regex/match/234 898s ok 322 /regex/match/235 898s ok 323 /regex/match/236 898s ok 324 /regex/match/237 898s ok 325 /regex/match/238 898s ok 326 /regex/match/239 898s ok 327 /regex/match/240 898s ok 328 /regex/match/241 898s ok 329 /regex/match/242 898s ok 330 /regex/match/243 898s ok 331 /regex/match/244 898s ok 332 /regex/match/245 898s ok 333 /regex/match/246 898s ok 334 /regex/match/247 898s ok 335 /regex/match/partial282 898s ok 336 /regex/match/partial283 898s ok 337 /regex/match/partial284 898s ok 338 /regex/match/partial285 898s ok 339 /regex/match/partial286 898s ok 340 /regex/match/partial287 898s ok 341 /regex/match/partial288 898s ok 342 /regex/match/partial289 898s ok 343 /regex/match/partial290 898s ok 344 /regex/match/partial291 898s ok 345 /regex/match/partial292 898s ok 346 /regex/match/partial293 898s ok 347 /regex/match/partial294 898s ok 348 /regex/match/partial295 898s ok 349 /regex/match/partial296 898s ok 350 /regex/match/partial297 898s ok 351 /regex/match/partial298 898s ok 352 /regex/match/partial299 898s ok 353 /regex/match/partial300 898s ok 354 /regex/match/partial301 898s ok 355 /regex/match/partial302 898s ok 356 /regex/match/partial303 898s # Start of next0 tests 898s ok 357 /regex/match/next0/248 898s ok 358 /regex/match/next0/249 898s ok 359 /regex/match/next0/250 898s ok 360 /regex/match/next0/251 898s # End of next0 tests 898s # Start of next1 tests 898s ok 361 /regex/match/next1/252 898s ok 362 /regex/match/next1/253 898s ok 363 /regex/match/next1/254 898s ok 364 /regex/match/next1/255 898s ok 365 /regex/match/next1/256 898s # End of next1 tests 898s # Start of next2 tests 898s ok 366 /regex/match/next2/257 898s ok 367 /regex/match/next2/258 898s ok 368 /regex/match/next2/259 898s ok 369 /regex/match/next2/260 898s ok 370 /regex/match/next2/261 898s ok 371 /regex/match/next2/262 898s ok 372 /regex/match/next2/263 898s ok 373 /regex/match/next2/264 898s # End of next2 tests 898s # Start of next3 tests 898s ok 374 /regex/match/next3/265 898s ok 375 /regex/match/next3/266 898s ok 376 /regex/match/next3/267 898s ok 377 /regex/match/next3/268 898s ok 378 /regex/match/next3/269 898s ok 379 /regex/match/next3/270 898s # End of next3 tests 898s # Start of next4 tests 898s ok 380 /regex/match/next4/271 898s # End of next4 tests 898s # Start of count tests 898s ok 381 /regex/match/count/272 898s ok 382 /regex/match/count/273 898s ok 383 /regex/match/count/274 898s ok 384 /regex/match/count/275 898s ok 385 /regex/match/count/276 898s ok 386 /regex/match/count/277 898s ok 387 /regex/match/count/278 898s ok 388 /regex/match/count/279 898s ok 389 /regex/match/count/280 898s ok 390 /regex/match/count/281 898s # End of count tests 898s # Start of count-optimized tests 898s ok 391 /regex/match/count-optimized/272 898s ok 392 /regex/match/count-optimized/273 898s ok 393 /regex/match/count-optimized/274 898s ok 394 /regex/match/count-optimized/275 898s ok 395 /regex/match/count-optimized/276 898s ok 396 /regex/match/count-optimized/277 898s ok 397 /regex/match/count-optimized/278 898s ok 398 /regex/match/count-optimized/279 898s ok 399 /regex/match/count-optimized/280 898s ok 400 /regex/match/count-optimized/281 898s # End of count-optimized tests 898s # Start of partial-optimized tests 898s ok 401 /regex/match/partial-optimized/282 898s ok 402 /regex/match/partial-optimized/283 898s ok 403 /regex/match/partial-optimized/284 898s ok 404 /regex/match/partial-optimized/285 898s ok 405 /regex/match/partial-optimized/286 898s ok 406 /regex/match/partial-optimized/287 898s ok 407 /regex/match/partial-optimized/288 898s ok 408 /regex/match/partial-optimized/289 898s ok 409 /regex/match/partial-optimized/290 898s ok 410 /regex/match/partial-optimized/291 898s ok 411 /regex/match/partial-optimized/292 898s ok 412 /regex/match/partial-optimized/293 898s ok 413 /regex/match/partial-optimized/294 898s ok 414 /regex/match/partial-optimized/295 898s ok 415 /regex/match/partial-optimized/296 898s ok 416 /regex/match/partial-optimized/297 898s ok 417 /regex/match/partial-optimized/298 898s ok 418 /regex/match/partial-optimized/299 898s ok 419 /regex/match/partial-optimized/300 898s ok 420 /regex/match/partial-optimized/301 898s ok 421 /regex/match/partial-optimized/302 898s ok 422 /regex/match/partial-optimized/303 898s # End of partial-optimized tests 898s # Start of subpattern tests 898s ok 423 /regex/match/subpattern/304 898s ok 424 /regex/match/subpattern/305 898s ok 425 /regex/match/subpattern/306 898s ok 426 /regex/match/subpattern/307 898s ok 427 /regex/match/subpattern/308 898s ok 428 /regex/match/subpattern/309 898s ok 429 /regex/match/subpattern/310 898s ok 430 /regex/match/subpattern/311 898s ok 431 /regex/match/subpattern/312 898s ok 432 /regex/match/subpattern/313 898s ok 433 /regex/match/subpattern/314 898s ok 434 /regex/match/subpattern/315 898s ok 435 /regex/match/subpattern/316 898s # Start of named tests 898s # Start of dupnames tests 898s ok 436 /regex/match/subpattern/named/dupnames/326 898s ok 437 /regex/match/subpattern/named/dupnames/327 898s ok 438 /regex/match/subpattern/named/dupnames/328 898s ok 439 /regex/match/subpattern/named/dupnames/329 898s ok 440 /regex/match/subpattern/named/dupnames/330 898s # End of dupnames tests 898s # End of named tests 898s # End of subpattern tests 898s # Start of subpattern-optimized tests 898s ok 441 /regex/match/subpattern-optimized/304 898s ok 442 /regex/match/subpattern-optimized/305 898s ok 443 /regex/match/subpattern-optimized/306 898s ok 444 /regex/match/subpattern-optimized/307 898s ok 445 /regex/match/subpattern-optimized/308 898s ok 446 /regex/match/subpattern-optimized/309 898s ok 447 /regex/match/subpattern-optimized/310 898s ok 448 /regex/match/subpattern-optimized/311 898s ok 449 /regex/match/subpattern-optimized/312 898s ok 450 /regex/match/subpattern-optimized/313 898s ok 451 /regex/match/subpattern-optimized/314 898s ok 452 /regex/match/subpattern-optimized/315 898s ok 453 /regex/match/subpattern-optimized/316 898s # End of subpattern-optimized tests 898s # Start of named tests 898s # Start of subpattern tests 898s ok 454 /regex/match/named/subpattern/317 898s ok 455 /regex/match/named/subpattern/318 898s ok 456 /regex/match/named/subpattern/319 898s ok 457 /regex/match/named/subpattern/320 898s ok 458 /regex/match/named/subpattern/321 898s ok 459 /regex/match/named/subpattern/322 898s ok 460 /regex/match/named/subpattern/323 898s ok 461 /regex/match/named/subpattern/324 898s ok 462 /regex/match/named/subpattern/325 898s ok 463 /regex/match/named/subpattern/331 898s ok 464 /regex/match/named/subpattern/332 898s ok 465 /regex/match/named/subpattern/333 898s ok 466 /regex/match/named/subpattern/334 898s ok 467 /regex/match/named/subpattern/335 898s # End of subpattern tests 898s # End of named tests 898s # End of match tests 898s # Start of match-optimized tests 898s ok 468 /regex/match-optimized/166 898s ok 469 /regex/match-optimized/167 898s ok 470 /regex/match-optimized/168 898s ok 471 /regex/match-optimized/169 898s ok 472 /regex/match-optimized/170 898s ok 473 /regex/match-optimized/171 898s ok 474 /regex/match-optimized/172 898s ok 475 /regex/match-optimized/173 898s ok 476 /regex/match-optimized/174 898s ok 477 /regex/match-optimized/175 898s ok 478 /regex/match-optimized/176 898s ok 479 /regex/match-optimized/177 898s ok 480 /regex/match-optimized/178 898s ok 481 /regex/match-optimized/179 898s ok 482 /regex/match-optimized/180 898s ok 483 /regex/match-optimized/181 898s ok 484 /regex/match-optimized/182 898s ok 485 /regex/match-optimized/183 898s ok 486 /regex/match-optimized/184 898s ok 487 /regex/match-optimized/185 898s ok 488 /regex/match-optimized/186 898s ok 489 /regex/match-optimized/187 898s ok 490 /regex/match-optimized/188 898s ok 491 /regex/match-optimized/189 898s ok 492 /regex/match-optimized/190 898s ok 493 /regex/match-optimized/191 898s ok 494 /regex/match-optimized/192 898s ok 495 /regex/match-optimized/193 898s ok 496 /regex/match-optimized/194 898s ok 497 /regex/match-optimized/195 898s ok 498 /regex/match-optimized/196 898s ok 499 /regex/match-optimized/197 898s ok 500 /regex/match-optimized/198 898s ok 501 /regex/match-optimized/199 898s ok 502 /regex/match-optimized/200 898s ok 503 /regex/match-optimized/201 898s ok 504 /regex/match-optimized/202 898s ok 505 /regex/match-optimized/203 898s ok 506 /regex/match-optimized/204 898s ok 507 /regex/match-optimized/205 898s ok 508 /regex/match-optimized/206 898s ok 509 /regex/match-optimized/207 898s ok 510 /regex/match-optimized/208 898s ok 511 /regex/match-optimized/209 898s ok 512 /regex/match-optimized/210 898s ok 513 /regex/match-optimized/211 898s ok 514 /regex/match-optimized/212 898s ok 515 /regex/match-optimized/213 898s ok 516 /regex/match-optimized/214 898s ok 517 /regex/match-optimized/215 898s ok 518 /regex/match-optimized/216 898s ok 519 /regex/match-optimized/217 898s ok 520 /regex/match-optimized/218 898s ok 521 /regex/match-optimized/219 898s ok 522 /regex/match-optimized/220 898s ok 523 /regex/match-optimized/221 898s ok 524 /regex/match-optimized/222 898s ok 525 /regex/match-optimized/223 898s ok 526 /regex/match-optimized/224 898s ok 527 /regex/match-optimized/225 898s ok 528 /regex/match-optimized/226 898s ok 529 /regex/match-optimized/227 898s ok 530 /regex/match-optimized/228 898s ok 531 /regex/match-optimized/229 898s ok 532 /regex/match-optimized/230 898s ok 533 /regex/match-optimized/231 898s ok 534 /regex/match-optimized/232 898s ok 535 /regex/match-optimized/233 898s ok 536 /regex/match-optimized/234 898s ok 537 /regex/match-optimized/235 898s ok 538 /regex/match-optimized/236 898s ok 539 /regex/match-optimized/237 898s ok 540 /regex/match-optimized/238 898s ok 541 /regex/match-optimized/239 898s ok 542 /regex/match-optimized/240 898s ok 543 /regex/match-optimized/241 898s ok 544 /regex/match-optimized/242 898s ok 545 /regex/match-optimized/243 898s ok 546 /regex/match-optimized/244 898s ok 547 /regex/match-optimized/245 898s ok 548 /regex/match-optimized/246 898s ok 549 /regex/match-optimized/247 898s # End of match-optimized tests 898s # Start of fetch-all0 tests 898s ok 550 /regex/fetch-all0/336 898s ok 551 /regex/fetch-all0/337 898s # End of fetch-all0 tests 898s # Start of fetch-all1 tests 898s ok 552 /regex/fetch-all1/338 898s ok 553 /regex/fetch-all1/339 898s ok 554 /regex/fetch-all1/340 898s # End of fetch-all1 tests 898s # Start of fetch-all2 tests 898s ok 555 /regex/fetch-all2/341 898s ok 556 /regex/fetch-all2/342 898s ok 557 /regex/fetch-all2/343 898s # End of fetch-all2 tests 898s # Start of fetch-all3 tests 898s ok 558 /regex/fetch-all3/344 898s ok 559 /regex/fetch-all3/345 898s ok 560 /regex/fetch-all3/346 898s ok 561 /regex/fetch-all3/347 898s ok 562 /regex/fetch-all3/348 898s # End of fetch-all3 tests 898s # Start of split tests 898s # Start of simple0 tests 898s ok 563 /regex/split/simple0/349 898s ok 564 /regex/split/simple0/350 898s ok 565 /regex/split/simple0/365 898s ok 566 /regex/split/simple0/366 898s # End of simple0 tests 898s # Start of simple1 tests 898s ok 567 /regex/split/simple1/351 898s ok 568 /regex/split/simple1/352 898s # End of simple1 tests 898s # Start of simple2 tests 898s ok 569 /regex/split/simple2/353 898s ok 570 /regex/split/simple2/359 898s ok 571 /regex/split/simple2/361 898s # End of simple2 tests 898s # Start of simple3 tests 898s ok 572 /regex/split/simple3/354 898s ok 573 /regex/split/simple3/355 898s ok 574 /regex/split/simple3/356 898s ok 575 /regex/split/simple3/357 898s ok 576 /regex/split/simple3/358 898s ok 577 /regex/split/simple3/360 898s ok 578 /regex/split/simple3/362 898s ok 579 /regex/split/simple3/363 898s ok 580 /regex/split/simple3/364 898s # End of simple3 tests 898s # End of split tests 898s # Start of split0 tests 898s ok 581 /regex/split0/367 898s ok 582 /regex/split0/369 898s # End of split0 tests 898s # Start of full-split0 tests 898s ok 583 /regex/full-split0/368 898s ok 584 /regex/full-split0/370 898s ok 585 /regex/full-split0/371 898s ok 586 /regex/full-split0/372 898s ok 587 /regex/full-split0/373 898s # End of full-split0 tests 898s # Start of split1 tests 898s ok 588 /regex/split1/374 898s ok 589 /regex/split1/377 898s # End of split1 tests 898s # Start of full-split1 tests 898s ok 590 /regex/full-split1/375 898s ok 591 /regex/full-split1/376 898s ok 592 /regex/full-split1/378 898s ok 593 /regex/full-split1/379 898s ok 594 /regex/full-split1/405 898s # End of full-split1 tests 898s # Start of split2 tests 898s ok 595 /regex/split2/380 898s ok 596 /regex/split2/384 898s ok 597 /regex/split2/396 898s # End of split2 tests 898s # Start of full-split2 tests 898s ok 598 /regex/full-split2/381 898s ok 599 /regex/full-split2/382 898s ok 600 /regex/full-split2/383 898s ok 601 /regex/full-split2/385 898s ok 602 /regex/full-split2/397 898s ok 603 /regex/full-split2/400 898s ok 604 /regex/full-split2/406 898s # End of full-split2 tests 898s # Start of split3 tests 898s ok 605 /regex/split3/386 898s ok 606 /regex/split3/388 898s ok 607 /regex/split3/390 898s ok 608 /regex/split3/392 898s ok 609 /regex/split3/394 898s ok 610 /regex/split3/398 898s ok 611 /regex/split3/401 898s ok 612 /regex/split3/403 898s # End of split3 tests 898s # Start of full-split3 tests 898s ok 613 /regex/full-split3/387 898s ok 614 /regex/full-split3/389 898s ok 615 /regex/full-split3/391 898s ok 616 /regex/full-split3/393 898s ok 617 /regex/full-split3/395 898s ok 618 /regex/full-split3/399 898s ok 619 /regex/full-split3/402 898s ok 620 /regex/full-split3/404 898s ok 621 /regex/full-split3/407 898s ok 622 /regex/full-split3/408 898s # End of full-split3 tests 898s # Start of check-repacement tests 898s ok 623 /regex/check-repacement/409 898s ok 624 /regex/check-repacement/410 898s ok 625 /regex/check-repacement/411 898s ok 626 /regex/check-repacement/412 898s ok 627 /regex/check-repacement/413 898s ok 628 /regex/check-repacement/414 898s ok 629 /regex/check-repacement/415 898s ok 630 /regex/check-repacement/416 898s # End of check-repacement tests 898s # Start of expand tests 898s ok 631 /regex/expand/417 898s ok 632 /regex/expand/418 898s ok 633 /regex/expand/419 898s ok 634 /regex/expand/420 898s ok 635 /regex/expand/421 898s ok 636 /regex/expand/422 898s ok 637 /regex/expand/423 898s ok 638 /regex/expand/424 898s ok 639 /regex/expand/425 898s ok 640 /regex/expand/426 898s ok 641 /regex/expand/427 898s ok 642 /regex/expand/428 898s ok 643 /regex/expand/429 898s ok 644 /regex/expand/430 898s ok 645 /regex/expand/431 898s ok 646 /regex/expand/432 898s ok 647 /regex/expand/433 898s ok 648 /regex/expand/434 898s ok 649 /regex/expand/435 898s ok 650 /regex/expand/436 898s ok 651 /regex/expand/437 898s ok 652 /regex/expand/438 898s ok 653 /regex/expand/439 898s ok 654 /regex/expand/440 898s ok 655 /regex/expand/441 898s ok 656 /regex/expand/442 898s ok 657 /regex/expand/443 898s ok 658 /regex/expand/444 898s ok 659 /regex/expand/445 898s ok 660 /regex/expand/446 898s ok 661 /regex/expand/447 898s ok 662 /regex/expand/448 898s ok 663 /regex/expand/449 898s ok 664 /regex/expand/450 898s ok 665 /regex/expand/451 898s ok 666 /regex/expand/452 898s ok 667 /regex/expand/453 898s ok 668 /regex/expand/454 898s ok 669 /regex/expand/455 898s ok 670 /regex/expand/456 898s ok 671 /regex/expand/457 898s ok 672 /regex/expand/458 898s ok 673 /regex/expand/459 898s ok 674 /regex/expand/460 898s ok 675 /regex/expand/461 898s ok 676 /regex/expand/462 898s ok 677 /regex/expand/463 898s ok 678 /regex/expand/464 898s ok 679 /regex/expand/465 898s ok 680 /regex/expand/466 898s ok 681 /regex/expand/467 898s ok 682 /regex/expand/468 898s ok 683 /regex/expand/469 898s ok 684 /regex/expand/470 898s ok 685 /regex/expand/471 898s ok 686 /regex/expand/472 898s ok 687 /regex/expand/473 898s ok 688 /regex/expand/474 898s ok 689 /regex/expand/475 898s ok 690 /regex/expand/476 898s ok 691 /regex/expand/477 898s ok 692 /regex/expand/478 898s ok 693 /regex/expand/479 898s ok 694 /regex/expand/480 898s ok 695 /regex/expand/481 898s ok 696 /regex/expand/482 898s # End of expand tests 898s # Start of replace tests 898s ok 697 /regex/replace/483 898s ok 698 /regex/replace/484 898s ok 699 /regex/replace/485 898s ok 700 /regex/replace/486 898s ok 701 /regex/replace/487 898s ok 702 /regex/replace/488 898s ok 703 /regex/replace/489 898s ok 704 /regex/replace/490 898s ok 705 /regex/replace/491 898s ok 706 /regex/replace/492 898s ok 707 /regex/replace/493 898s ok 708 /regex/replace/494 898s ok 709 /regex/replace/495 898s ok 710 /regex/replace/496 898s ok 711 /regex/replace/497 898s ok 712 /regex/replace/498 898s ok 713 /regex/replace/499 898s ok 714 /regex/replace/500 898s ok 715 /regex/replace/501 898s ok 716 /regex/replace/502 898s ok 717 /regex/replace/503 898s ok 718 /regex/replace/504 898s ok 719 /regex/replace/505 898s ok 720 /regex/replace/506 898s ok 721 /regex/replace/507 898s ok 722 /regex/replace/508 898s ok 723 /regex/replace/509 898s ok 724 /regex/replace/510 898s # End of replace tests 898s # Start of replace-optimized tests 898s ok 725 /regex/replace-optimized/483 898s ok 726 /regex/replace-optimized/484 898s ok 727 /regex/replace-optimized/485 898s ok 728 /regex/replace-optimized/486 898s ok 729 /regex/replace-optimized/487 898s ok 730 /regex/replace-optimized/488 898s ok 731 /regex/replace-optimized/489 898s ok 732 /regex/replace-optimized/490 898s ok 733 /regex/replace-optimized/491 898s ok 734 /regex/replace-optimized/492 898s ok 735 /regex/replace-optimized/493 898s ok 736 /regex/replace-optimized/494 898s ok 737 /regex/replace-optimized/495 898s ok 738 /regex/replace-optimized/496 898s ok 739 /regex/replace-optimized/497 898s ok 740 /regex/replace-optimized/498 898s ok 741 /regex/replace-optimized/499 898s ok 742 /regex/replace-optimized/500 898s ok 743 /regex/replace-optimized/501 898s ok 744 /regex/replace-optimized/502 898s ok 745 /regex/replace-optimized/503 898s ok 746 /regex/replace-optimized/504 898s ok 747 /regex/replace-optimized/505 898s ok 748 /regex/replace-optimized/506 898s ok 749 /regex/replace-optimized/507 898s ok 750 /regex/replace-optimized/508 898s ok 751 /regex/replace-optimized/509 898s ok 752 /regex/replace-optimized/510 898s # End of replace-optimized tests 898s # Start of replace-literally tests 898s ok 753 /regex/replace-literally/511 898s ok 754 /regex/replace-literally/512 898s ok 755 /regex/replace-literally/513 898s ok 756 /regex/replace-literally/514 898s ok 757 /regex/replace-literally/515 898s ok 758 /regex/replace-literally/516 898s ok 759 /regex/replace-literally/517 898s ok 760 /regex/replace-literally/518 898s ok 761 /regex/replace-literally/519 898s ok 762 /regex/replace-literally/520 898s ok 763 /regex/replace-literally/521 898s ok 764 /regex/replace-literally/522 898s ok 765 /regex/replace-literally/523 898s ok 766 /regex/replace-literally/524 898s ok 767 /regex/replace-literally/525 898s ok 768 /regex/replace-literally/526 898s ok 769 /regex/replace-literally/527 898s ok 770 /regex/replace-literally/528 898s ok 771 /regex/replace-literally/529 898s ok 772 /regex/replace-literally/530 898s # End of replace-literally tests 898s # Start of string-number tests 898s ok 773 /regex/string-number/531 898s ok 774 /regex/string-number/532 898s ok 775 /regex/string-number/533 898s ok 776 /regex/string-number/534 898s ok 777 /regex/string-number/535 898s ok 778 /regex/string-number/536 898s ok 779 /regex/string-number/537 898s ok 780 /regex/string-number/538 898s ok 781 /regex/string-number/539 898s ok 782 /regex/string-number/540 898s ok 783 /regex/string-number/541 898s ok 784 /regex/string-number/542 898s ok 785 /regex/string-number/543 898s ok 786 /regex/string-number/544 898s ok 787 /regex/string-number/545 898s # End of string-number tests 898s # Start of escape_nul tests 898s ok 788 /regex/escape_nul/546 898s ok 789 /regex/escape_nul/547 898s ok 790 /regex/escape_nul/548 898s ok 791 /regex/escape_nul/549 898s ok 792 /regex/escape_nul/550 898s ok 793 /regex/escape_nul/551 898s ok 794 /regex/escape_nul/552 898s ok 795 /regex/escape_nul/553 898s ok 796 /regex/escape_nul/554 898s ok 797 /regex/escape_nul/555 898s ok 798 /regex/escape_nul/556 898s ok 799 /regex/escape_nul/557 898s ok 800 /regex/escape_nul/558 898s ok 801 /regex/escape_nul/559 898s ok 802 /regex/escape_nul/560 898s # End of escape_nul tests 898s # Start of escape tests 898s ok 803 /regex/escape/561 898s ok 804 /regex/escape/562 898s ok 805 /regex/escape/563 898s ok 806 /regex/escape/564 898s ok 807 /regex/escape/565 898s ok 808 /regex/escape/566 898s ok 809 /regex/escape/567 898s ok 810 /regex/escape/568 898s ok 811 /regex/escape/569 898s ok 812 /regex/escape/570 898s ok 813 /regex/escape/571 898s ok 814 /regex/escape/572 898s ok 815 /regex/escape/573 898s ok 816 /regex/escape/574 898s ok 817 /regex/escape/575 898s ok 818 /regex/escape/576 898s ok 819 /regex/escape/577 898s ok 820 /regex/escape/578 898s # End of escape tests 898s # Start of match-all0 tests 898s ok 821 /regex/match-all0/579 898s ok 822 /regex/match-all0/581 898s # End of match-all0 tests 898s # Start of match-all-full0 tests 898s ok 823 /regex/match-all-full0/580 898s ok 824 /regex/match-all-full0/582 898s ok 825 /regex/match-all-full0/583 898s ok 826 /regex/match-all-full0/584 898s # End of match-all-full0 tests 898s # Start of match-all1 tests 898s ok 827 /regex/match-all1/585 898s ok 828 /regex/match-all1/587 898s ok 829 /regex/match-all1/592 898s # End of match-all1 tests 898s # Start of match-all-full1 tests 898s ok 830 /regex/match-all-full1/586 898s ok 831 /regex/match-all-full1/588 898s ok 832 /regex/match-all-full1/589 898s ok 833 /regex/match-all-full1/590 898s ok 834 /regex/match-all-full1/591 898s ok 835 /regex/match-all-full1/593 898s # End of match-all-full1 tests 898s # Start of match-all2 tests 898s ok 836 /regex/match-all2/594 898s ok 837 /regex/match-all2/596 898s ok 838 /regex/match-all2/598 898s # End of match-all2 tests 898s # Start of match-all-full2 tests 898s ok 839 /regex/match-all-full2/595 898s ok 840 /regex/match-all-full2/597 898s ok 841 /regex/match-all-full2/599 898s # End of match-all-full2 tests 898s # Start of match-all3 tests 898s ok 842 /regex/match-all3/600 898s ok 843 /regex/match-all3/602 898s # End of match-all3 tests 898s # Start of match-all-full3 tests 898s ok 844 /regex/match-all-full3/601 898s ok 845 /regex/match-all-full3/603 898s # End of match-all-full3 tests 898s # Start of match-notempty tests 898s ok 846 /regex/match-notempty/604 898s # End of match-notempty tests 898s # Start of match-notempty-optimized tests 898s ok 847 /regex/match-notempty-optimized/604 898s # End of match-notempty-optimized tests 898s # Start of match-notempty-atstart tests 898s ok 848 /regex/match-notempty-atstart/605 898s # End of match-notempty-atstart tests 898s # Start of match-notempty-atstart-optimized tests 898s ok 849 /regex/match-notempty-atstart-optimized/605 898s # End of match-notempty-atstart-optimized tests 898s # End of regex tests 898s ok - glib/regex.test 898s # Running test: glib/gobject-query.py.test 898s TAP version 13 898s ok 1 __main__.TestGobjectQuery.test_froots 898s # gobject-query: /usr/bin/gobject-query 898s # tmpdir: /tmp/tmperadxorw 898s # Running: ['/usr/bin/gobject-query', 'froots'] 898s # Return code: 0 898s # Output: 898s # ├void 898s # ├GInterface 898s # │ └GTypePlugin 898s # ├gchar 898s # ├guchar 898s # ├gboolean 898s # ├gint 898s # ├guint 898s # ├glong 898s # ├gulong 898s # ├gint64 898s # ├guint64 898s # ├GEnum 898s # ├GFlags 898s # ├gfloat 898s # ├gdouble 898s # ├gchararray 898s # ├gpointer 898s # │ └GType 898s # ├GBoxed 898s # │ └GValueArray 898s # ├GParam 898s # │ ├GParamChar 898s # │ ├GParamUChar 898s # │ ├GParamBoolean 898s # │ ├GParamInt 898s # │ ├GParamUInt 898s # │ ├GParamLong 898s # │ ├GParamULong 898s # │ ├GParamInt64 898s # │ ├GParamUInt64 898s # │ ├GParamUnichar 898s # │ ├GParamEnum 898s # │ ├GParamFlags 898s # │ ├GParamFloat 898s # │ ├GParamDouble 898s # │ ├GParamString 898s # │ ├GParamParam 898s # │ ├GParamBoxed 898s # │ ├GParamPointer 898s # │ ├GParamValueArray 898s # │ ├GParamObject 898s # │ ├GParamOverride 898s # │ ├GParamGType 898s # │ └GParamVariant 898s # ├GObject 898s # └GVariant 898s # Error: 898s ok 2 __main__.TestGobjectQuery.test_help 898s # gobject-query: /usr/bin/gobject-query 898s # tmpdir: /tmp/tmpzh5o55cy 898s # Running: ['/usr/bin/gobject-query', '--help'] 898s # Return code: 0 898s # Output: 898s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 898s # -r specify root type 898s # -n don't descend type tree 898s # -h show help 898s # -b specify indent string 898s # -i specify incremental indent string 898s # -s specify line spacing 898s # qualifiers: 898s # froots iterate over fundamental roots 898s # tree print type tree 898s # Error: 898s ok 3 __main__.TestGobjectQuery.test_tree 898s # gobject-query: /usr/bin/gobject-query 898s # tmpdir: /tmp/tmp3zkdkt85 898s # Running: ['/usr/bin/gobject-query', 'tree'] 898s # Return code: 0 898s # Output: 898s # GObject 898s # Error: 898s ok 4 __main__.TestGobjectQuery.test_version 898s # gobject-query: /usr/bin/gobject-query 898s # tmpdir: /tmp/tmp8gvyg3v1 898s # Running: ['/usr/bin/gobject-query', '--version'] 898s # Return code: 0 898s # Output: 898s # 2.86.3 898s # Error: 898s 1..4 898s ok - glib/gobject-query.py.test 898s # Running test: glib/file-thumbnail.test 898s TAP version 14 898s # random seed: R02Sce23ed68616c55318029c9ccb66a2b29 898s 1..7 898s # Start of file-thumbnail tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/runtime 898s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 898s ok 1 /file-thumbnail/fail 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/runtime 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 898s ok 2 /file-thumbnail/size-priority 898s # Start of valid tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/runtime 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 898s ok 3 /file-thumbnail/valid/normal 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/runtime 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 898s ok 4 /file-thumbnail/valid/large 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/runtime 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 898s ok 5 /file-thumbnail/valid/x-large 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/runtime 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 898s ok 6 /file-thumbnail/valid/xx-large 898s # End of valid tests 898s # Start of unknown tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/runtime 898s # Created test thumbnail at /tmp/test_file-thumbnail_30LRJ3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 898s ok 7 /file-thumbnail/unknown/super-large 898s # End of unknown tests 898s # End of file-thumbnail tests 898s ok - glib/file-thumbnail.test 898s # Running test: glib/spawn-path-search.test 898s TAP version 14 898s # random seed: R02S8193d6c20711811195013f3a2bbcfb16 898s 1..7 898s # Start of spawn tests 898s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 898s # 898s # this is spawn-test-helper from glib/tests 898s # 898s ok 1 /spawn/do-not-search 898s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 898s # 898s # this is spawn-test-helper from path-test-subdir 898s # 898s ok 2 /spawn/search-path 898s # /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. 898s # 898s # this is spawn-test-helper from path-test-subdir 898s # 898s ok 3 /spawn/search-path-from-envp 898s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 898s # 898s # this is spawn-test-helper from path-test-subdir 898s # 898s ok 4 /spawn/search-path-ambiguous 898s # 898s # this is spawn-test-helper from path-test-subdir 898s # 898s ok 5 /spawn/search-path-heap-allocation 898s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 898s # 898s # this is spawn-test-helper from glib/tests 898s # 898s ok 6 /spawn/search-path-fallback-in-environ 898s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 898s # 898s # this is spawn-test-helper from glib/tests 898s # 898s ok 7 /spawn/search-path-fallback-in-envp 898s # End of spawn tests 898s ok - glib/spawn-path-search.test 898s # Running test: glib/deprecated-properties.test 898s TAP version 14 898s # random seed: R02S47abb346430a2e7039be82c34ae8c440 898s 1..3 898s # Start of deprecated-properties tests 898s ok 1 /deprecated-properties/construct 898s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 898s ok 2 /deprecated-properties/default-construct 898s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 898s ok 3 /deprecated-properties/set 898s # End of deprecated-properties tests 898s ok - glib/deprecated-properties.test 898s # Running test: glib/hmac.test 898s TAP version 14 898s # random seed: R02S0669f5f2e1a122588756686008e871a2 898s 1..37 898s # Start of hmac tests 898s ok 1 /hmac/sha1-1 898s ok 2 /hmac/sha1-2 898s ok 3 /hmac/sha1-3 898s ok 4 /hmac/sha1-4 898s ok 5 /hmac/sha1-5 898s ok 6 /hmac/sha1-6 898s ok 7 /hmac/sha1-7 898s ok 8 /hmac/sha256-1 898s ok 9 /hmac/sha256-2 898s ok 10 /hmac/sha256-3 898s ok 11 /hmac/sha256-4 898s ok 12 /hmac/sha256-5 898s ok 13 /hmac/sha256-6 898s ok 14 /hmac/sha384-1 898s ok 15 /hmac/sha384-2 898s ok 16 /hmac/sha384-3 898s ok 17 /hmac/sha384-4 898s ok 18 /hmac/sha384-5 898s ok 19 /hmac/sha384-6 898s ok 20 /hmac/sha512-1 898s ok 21 /hmac/sha512-2 898s ok 22 /hmac/sha512-3 898s ok 23 /hmac/sha512-4 898s ok 24 /hmac/sha512-5 898s ok 25 /hmac/sha512-6 898s ok 26 /hmac/md5-1 898s ok 27 /hmac/md5-2 898s ok 28 /hmac/md5-3 898s ok 29 /hmac/md5-4 898s ok 30 /hmac/md5-5 898s ok 31 /hmac/md5-6 898s ok 32 /hmac/md5-7 898s ok 33 /hmac/ref-unref 898s ok 34 /hmac/copy 898s ok 35 /hmac/for-data 898s ok 36 /hmac/for-string 898s ok 37 /hmac/for-bytes 898s # End of hmac tests 898s TAP version 14 898s # random seed: R02S30660f032d33a7be0cf333bfe39a5749 898s 1..1 898s # Start of autoptr tests 898s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 898s ok 1 /autoptr/autoptr 898s # End of autoptr tests 898s ok - glib/hmac.test 898s # Running test: glib/autoptr-gio.test 898s ok - glib/autoptr-gio.test 898s # Running test: glib/gdbus-test-codegen-old.test 898s TAP version 14 898s # random seed: R02S804307692d6b962a7a61491f29f7466e 898s 1..8 898s # Start of gdbus tests 898s # Start of codegen tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/annotations/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/annotations/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/annotations/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/annotations/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/annotations/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/annotations/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/annotations/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/annotations/.dirs/runtime 898s ok 1 /gdbus/codegen/annotations 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/interface_stability/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/interface_stability/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/interface_stability/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/interface_stability/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/interface_stability/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/interface_stability/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/interface_stability/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/interface_stability/.dirs/runtime 898s ok 2 /gdbus/codegen/interface_stability 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/object-manager/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/object-manager/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/object-manager/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/object-manager/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/object-manager/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/object-manager/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/object-manager/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/object-manager/.dirs/runtime 898s ok 3 /gdbus/codegen/object-manager 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/property-naming/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/property-naming/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/property-naming/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/property-naming/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/property-naming/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/property-naming/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/property-naming/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/property-naming/.dirs/runtime 898s ok 4 /gdbus/codegen/property-naming 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/autocleanups/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/autocleanups/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/autocleanups/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/autocleanups/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/autocleanups/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/autocleanups/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/autocleanups/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/autocleanups/.dirs/runtime 898s ok 5 /gdbus/codegen/autocleanups 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/deprecations/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/deprecations/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/deprecations/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/deprecations/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/deprecations/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/deprecations/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/deprecations/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/deprecations/.dirs/runtime 898s ok 6 /gdbus/codegen/deprecations 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/standalone-interface-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/standalone-interface-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/standalone-interface-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/standalone-interface-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 898s ok 7 /gdbus/codegen/standalone-interface-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/unix-fd-list/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/unix-fd-list/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/unix-fd-list/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/unix-fd-list/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/unix-fd-list/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_X5ZPJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 898s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 898s ok 8 /gdbus/codegen/unix-fd-list 898s # End of codegen tests 898s # End of gdbus tests 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s ok - glib/gdbus-test-codegen-old.test 898s # Running test: glib/filter-streams.test 898s TAP version 14 898s # random seed: R02Sb3d230b790613af95f15aeb51df59d66 898s 1..4 898s # Start of filter-stream tests 898s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 898s ok 1 /filter-stream/input 898s ok 2 /filter-stream/output 898s ok 3 /filter-stream/async-input 898s ok 4 /filter-stream/async-output 898s # End of filter-stream tests 898s TAP version 14 898s # random seed: R02S3ebfc1648e64104c63120203bc999d87 898s 1..3 898s # Start of dir tests 898s ok 1 /dir/read 898s ok 2 /dir/nonexisting 898s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 898s ok 3 /dir/refcounting 898s # End of dir tests 898s TAP version 14 898s # random seed: R02S50123499c4fd6443f715be6755e71e74 898s 1..4 898s # Start of socket-service tests 898s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 898s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0bf47240 and GSocketClientAsyncConnectData 0x2aa0bf41f00 898s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 898s ok 1 /socket-service/start-stop 898s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0bf4b2d0 and GSocketClientAsyncConnectData 0x2aa0bf4af30 898s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 898s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 898s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0bf4b250 for GSocketClientAsyncConnectData 0x2aa0bf41f00 898s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 898s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 898s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 898s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 898s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 898s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0bf4b250 for GSocketClientAsyncConnectData 0x2aa0bf4af30 898s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 898s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 898s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 898s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 898s ok 2 /socket-service/read_write_async 898s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0bf4b2d0 and GSocketClientAsyncConnectData 0x2aa0bf4e9f0 898s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 898s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 898s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0bf4de20 for GSocketClientAsyncConnectData 0x2aa0bf4e9f0 898s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 898s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 898s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 898s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 898s ok 3 /socket-service/read_writev_async 898s # Start of threaded tests 898s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 898s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0bf3fa70 and GSocketClientAsyncConnectData 0x2aa0bf4af30 898s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 898s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 898s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0bf4f240 for GSocketClientAsyncConnectData 0x2aa0bf4af30 898s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 898s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 898s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 898s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 898s ok 4 /socket-service/threaded/712570 898s # End of threaded tests 898s # End of socket-service tests 898s TAP version 14 898s # random seed: R02Sc0628e46b7278c525ebe711f742bd055 898s 1..1 898s # Start of unicode tests 898s ok 1 /unicode/encoding 898s # End of unicode tests 898s TAP version 14 898s ok - glib/filter-streams.test 898s # Running test: glib/dir.test 898s ok - glib/dir.test 898s # Running test: glib/socket-service.test 898s ok - glib/socket-service.test 898s # Running test: glib/unicode-encoding.test 898s ok - glib/unicode-encoding.test 898s # Running test: glib/signals-refcount1.test 898s # random seed: R02S60a4880f90f5142ecf7643128e9dc8c3 898s 1..1 898s # Start of gobject tests 898s # Start of refcount tests 898s # init 0x2aa057dc4a0 898s # 898s # init 0x2aa057d4580 898s # 899s # Executing: glib/signals-refcount1.test 903s # dispose 0x2aa057dc4a0! 903s # 903s # dispose 0x2aa057d4580! 903s # 903s ok 1 /gobject/refcount/signals 903s # slow test /gobject/refcount/signals executed in 5.00 secs 903s # End of refcount tests 903s # End of gobject tests 903s ok - glib/signals-refcount1.test 903s # Running test: glib/convert.test 903s TAP version 14 903s # random seed: R02S2a9b6b27ff90aed212dc210aa987678b 903s 1..14 903s # Start of conversion tests 903s ok 1 /conversion/no-conv 903s ok 2 /conversion/iconv-state 903s ok 3 /conversion/illegal-sequence 903s ok 4 /conversion/byte-order 903s ok 5 /conversion/unicode 903s ok - glib/convert.test 903s ok 6 /conversion/filename-utf8 903s ok 7 /conversion/filename-display 903s ok 8 /conversion/convert-embedded-nul 903s # Start of locale-to-utf8 tests 903s ok 9 /conversion/locale-to-utf8/embedded-nul 903s # Start of embedded-nul tests 903s # Start of subprocess tests 903s # End of subprocess tests 903s # End of embedded-nul tests 903s # End of locale-to-utf8 tests 903s # Start of locale-from-utf8 tests 903s ok 10 /conversion/locale-from-utf8/embedded-nul 903s # Start of embedded-nul tests 903s # Start of subprocess tests 903s # End of subprocess tests 903s # End of embedded-nul tests 903s # End of locale-from-utf8 tests 903s # Start of filename-to-utf8 tests 903s ok 11 /conversion/filename-to-utf8/embedded-nul 903s # Start of embedded-nul tests 903s # Start of subprocess tests 903s # End of subprocess tests 903s # End of embedded-nul tests 903s # End of filename-to-utf8 tests 903s # Start of filename-from-utf8 tests 903s ok 12 /conversion/filename-from-utf8/embedded-nul 903s # Start of embedded-nul tests 903s # Start of subprocess tests 903s # End of subprocess tests 903s # End of embedded-nul tests 903s # End of filename-from-utf8 tests 903s # Start of filename-from-uri tests 903s ok 13 /conversion/filename-from-uri/query-is-ignored 903s ok 14 /conversion/filename-from-uri/fragment-is-ignored 903s # End of filename-from-uri tests 903s # End of conversion tests 903s # Running test: glib/environment.test 903s TAP version 14 903s # random seed: R02S38615fb67618e7168453ccae5911e3b3 903s 1..7 903s # Start of environ tests 903s # /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. 903s ok 1 /environ/listenv 903s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 903s ok 2 /environ/getenv 903s ok 3 /environ/setenv 903s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 903s ok 4 /environ/array 903s # /environ/null summary: Test getting and setting variables on a NULL envp array. 903s ok 5 /environ/null 903s # /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. 903s ok 6 /environ/case 903s # /environ/expansion summary: Test expansion of environment variable references. 903s ok - glib/environment.test 903s # Running test: glib/gdbus-non-socket.test 903s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 903s # End of environ tests 903s TAP version 14 903s # random seed: R02Sb543902253902a65cc8b14ba3eb4102a 903s 1..1 903s # Start of gdbus tests 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_BZBOJ3/gdbus/non-socket/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_BZBOJ3/gdbus/non-socket/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_BZBOJ3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_BZBOJ3/gdbus/non-socket/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_BZBOJ3/gdbus/non-socket/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_BZBOJ3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_BZBOJ3/gdbus/non-socket/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_BZBOJ3/gdbus/non-socket/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_BZBOJ3/gdbus/non-socket/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_BZBOJ3/gdbus/non-socket/.dirs/runtime 903s ok 1 /gdbus/non-socket 903s # End of gdbus tests 903s ok - glib/gdbus-non-socket.test 903s # Running test: glib/power-profile-monitor-portal.test 903s TAP version 13 903s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 904s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 904s 1..2 904s ok - glib/power-profile-monitor-portal.test 904s # Running test: glib/gdbus-server-auth.test 904s TAP version 14 904s # random seed: R02S5fa6be592b72ffe9a13f8959a056125b 904s 1..9 904s # Start of gdbus tests 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/.dirs/runtime 904s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-RL5YJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 904s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-RL5YJ3/dbus-vaCBlLlH 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 31634 904s ok 1 /gdbus/server-auth 904s # Start of server-auth tests 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/abstract/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/abstract/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/abstract/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/abstract/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/abstract/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/abstract/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/abstract/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/abstract/.dirs/runtime 904s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-0EUYJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 904s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-0EUYJ3/dbus-kSQ8FhF7 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 904s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 904s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 31634 904s ok 2 /gdbus/server-auth/abstract 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/tcp/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/tcp/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/tcp/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/tcp/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/tcp/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/tcp/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/tcp/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/tcp/.dirs/runtime 904s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 904s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/.dirs/runtime 904s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-ZFKLJ3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 904s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-ZFKLJ3/dbus-2Ja3lbK9 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 31634 904s ok 4 /gdbus/server-auth/anonymous 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/.dirs/runtime 904s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-58CLJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 904s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-58CLJ3/dbus-hih2n3fJ 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 31634 904s ok 5 /gdbus/server-auth/external 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/.dirs/runtime 904s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-TBEMJ3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 904s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 904s # Start of anonymous tests 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/tcp/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/tcp/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/tcp/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/tcp/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/tcp/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 904s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 904s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 904s # End of anonymous tests 904s # Start of external tests 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/require-same-user/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/require-same-user/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/require-same-user/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/require-same-user/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/require-same-user/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/external/require-same-user/.dirs/runtime 904s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-BJEMJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 904s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus-server-auth-BJEMJ3/dbus-f2ANVYfN 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 31634 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 904s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31634,uid=1000,gid=1000 904s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 31634 904s ok 8 /gdbus/server-auth/external/require-same-user 904s # End of external tests 904s # Start of sha1 tests 904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/tcp/.dirs/home 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/tcp/.dirs/cache 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/tcp/.dirs/config 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/tcp/.dirs/data 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/tcp/.dirs/state 904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KZ5YJ3/gdbus/server-auth/sha1/tcp/.dirs/runtime 904s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 904s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 904s # End of sha1 tests 904s # End of server-auth tests 904s # End of gdbus tests 904s ok - glib/gdbus-server-auth.test 904s # Running test: glib/actions.test 904s TAP version 14 904s # random seed: R02Saa099f05126bcfcc10c05b88537d34b6 904s 1..13 904s # Start of actions tests 904s ok 1 /actions/basic 904s ok 2 /actions/name 904s ok 3 /actions/simplegroup 904s ok 4 /actions/stateful 904s ok 5 /actions/default-activate 904s ok 6 /actions/entries 904s ok 7 /actions/parse-detailed 904s ok 8 /actions/property 904s ok 9 /actions/no-properties 904s # Start of dbus tests 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s ok 10 /actions/dbus/export 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 904s # Executing: glib/actions.test 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s ok 11 /actions/dbus/threaded 905s # slow test /actions/dbus/threaded executed in 1.36 secs 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s ok 12 /actions/dbus/bug679509 905s # Start of export tests 905s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 905s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 905s ok 13 /actions/dbus/export/error-handling 905s # End of export tests 905s # End of dbus tests 905s # End of actions tests 905s ok - glib/actions.test 905s # Running test: glib/gmenumodel.test 905s TAP version 14 905s # random seed: R02S8d20f3ac3e34de725bacfa71322e1d30 905s 1..15 905s # Start of gmenu tests 907s ok 1 /gmenu/equality 907s # slow test /gmenu/equality executed in 1.41 secs 908s ok 2 /gmenu/random 908s # slow test /gmenu/random executed in 1.59 secs 908s ok 3 /gmenu/attributes 908s ok 4 /gmenu/links 908s ok 5 /gmenu/mutable 908s ok 6 /gmenu/convenience 908s ok 7 /gmenu/menuitem 908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 908s ok 8 /gmenu/input-validation 908s # Start of dbus tests 909s # Executing: glib/gmenumodel.test 910s ok 9 /gmenu/dbus/roundtrip 910s # slow test /gmenu/dbus/roundtrip executed in 1.49 secs 910s ok 10 /gmenu/dbus/subscriptions 912s ok 11 /gmenu/dbus/threaded 912s # slow test /gmenu/dbus/threaded executed in 1.90 secs 912s # Start of peer tests 913s ok 12 /gmenu/dbus/peer/roundtrip 913s # slow test /gmenu/dbus/peer/roundtrip executed in 1.11 secs 914s ok 13 /gmenu/dbus/peer/subscriptions 914s # End of peer tests 914s # Start of export tests 914s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 914s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 914s ok 14 /gmenu/dbus/export/error-handling 914s # End of export tests 914s # End of dbus tests 914s # Start of attributes tests 914s ok 15 /gmenu/attributes/iterate 914s # End of attributes tests 914s # End of gmenu tests 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s ok - glib/gmenumodel.test 914s # Running test: glib/cond.test 914s TAP version 14 914s # random seed: R02S62ad590a27ddb485bb9a3a2be1770302 914s 1..4 914s # Start of thread tests 914s ok 1 /thread/cond1 914s ok 2 /thread/cond2 914s # Start of cond tests 914s # Executing: glib/cond.test 915s ok 3 /thread/cond/wait-until 915s # slow test /thread/cond/wait-until executed in 1.02 secs 915s # Start of wait-until tests 915s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 915s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 916s ok - glib/cond.test 916s # Running test: glib/function-info.test 916s ok - glib/function-info.test 916s # Running test: glib/closure-refcount.test 916s ok 4 /thread/cond/wait-until/contended-and-interrupted 916s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 916s # End of wait-until tests 916s # End of cond tests 916s # End of thread tests 916s TAP version 14 916s # random seed: R02Sa8fc5f37b0f088c13e5a0917e066b3ed 916s 1..1 916s # Start of function-info tests 916s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_YO5RJ3/function-info/invoker/.dirs/home 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_YO5RJ3/function-info/invoker/.dirs/cache 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_YO5RJ3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_YO5RJ3/function-info/invoker/.dirs/system-config2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_YO5RJ3/function-info/invoker/.dirs/config 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_YO5RJ3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_YO5RJ3/function-info/invoker/.dirs/system-data2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_YO5RJ3/function-info/invoker/.dirs/data 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_YO5RJ3/function-info/invoker/.dirs/state 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_YO5RJ3/function-info/invoker/.dirs/runtime 916s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 916s # /function-info/invoker summary: Test preparing a function invoker 916s ok 1 /function-info/invoker 916s # End of function-info tests 916s TAP version 14 916s # random seed: R02Sbd0896d75cb5b92b1b646724f1acb34a 916s 1..1 916s # Start of closure tests 916s # Init 0x2aa35e71db0 916s # Yielding from thread1 916s # Yielding from main thread 916s # Yielding from thread2 916s # Yielding from main thread 916s # Yielding from thread1 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from thread2 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from thread2 916s # Yielding from main thread 916s # Yielding from thread1 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from thread2 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from thread1 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from thread2 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from thread2 916s # Yielding from main thread 916s # Yielding from thread1 916s # Yielding from main thread 916s # Yielding from main thread 916s # Yielding from thread1 917s # Yielding from thread2 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from thread1 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from thread1 917s # Yielding from thread2 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from thread1 917s # Yielding from thread2 917s # Yielding from thread2 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 918s # Yielding from thread2 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from thread2 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread2 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 919s # Yielding from thread1 919s # Yielding from main thread 919s # Yielding from thread1 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from thread1 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from thread1 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from thread2 919s # Yielding from thread1 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from thread2 919s # Yielding from main thread 919s # Executing: glib/closure-refcount.test 919s # Yielding from thread2 919s # Yielding from thread1 919s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from thread2 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from thread2 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from main thread 920s # Yielding from thread1 920s # Yielding from main thread 920s # Stopping 920s ok - glib/closure-refcount.test 920s # Stopped 920s ok 1 /closure/refcount 920s # slow test /closure/refcount executed in 4.27 secs 920s # End of closure tests 920s # Running test: glib/appmonitor.test 920s TAP version 14 920s # random seed: R02Sdc44532b65170fb614ed352bb3fb3e4e 920s 1..1 920s # Start of monitor tests 920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/home 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/cache 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/system-config2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/config 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/system-data2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/data 920s ok - glib/appmonitor.test 920s # Running test: glib/relation.test 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/state 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/runtime 920s # Using data directory: /tmp/test_appmonitor_WF5VJ3/monitor/app/.dirs/data 920s ok 1 /monitor/app 920s # End of monitor tests 920s TAP version 14 920s # random seed: R02Sbe59cea9bd2dca3ed22ccb953981aa78 920s 1..1 920s # Start of glib tests 920s ok 1 /glib/relation 920s ok - glib/relation.test 920s # End of glib tests 920s TAP version 14 920s # Running test: glib/memory-output-stream.test 920s # random seed: R02S57bc854d2a5fc32f89d9fc9bee663ab9 920s 1..10 920s # Start of memory-output-stream tests 920s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 920s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 920s ok 1 /memory-output-stream/truncate 920s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 920s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 920s ok 2 /memory-output-stream/get-data-size 920s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 920s ok 3 /memory-output-stream/properties 920s ok 4 /memory-output-stream/write-bytes 920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 920s ok 5 /memory-output-stream/write-null 920s ok 6 /memory-output-stream/writev 920s ok 7 /memory-output-stream/writev_nonblocking 920s ok 8 /memory-output-stream/steal_as_bytes 920s # Start of seek tests 920s ok 9 /memory-output-stream/seek/fixed 920s ok 10 /memory-output-stream/seek/resizable 920s # End of seek tests 920s # End of memory-output-stream tests 920s TAP version 14 920s # random seed: R02S53a446e8b0e409ec5266aac089cf737c 920s 1..1 920s # Start of png-thumbs tests 920s ok 1 /png-thumbs/validity 920s # End of png-thumbs tests 920s ok - glib/memory-output-stream.test 920s # Running test: glib/thumbnail-verification.test 920s ok - glib/thumbnail-verification.test 920s # Running test: glib/credentials.test 920s TAP version 14 920s # random seed: R02S50fd3ecd336b309c2e50cedce7594b98 920s 1..1 920s # Start of credentials tests 920s # GCredentials:linux-ucred:pid=31719,uid=1000,gid=1000 920s # GCredentials:linux-ucred:pid=31719,uid=0,gid=1000 920s ok 1 /credentials/basic 920s # End of credentials tests 920s ok - glib/credentials.test 920s # Running test: glib/union-info.test 920s TAP version 14 920s # random seed: R02Sf65f4981b61d49a9f83ea7b096d0ea37 920s 1..2 920s # Start of union-info tests 920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_LLEUJ3/union-info/basic/.dirs/home 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_LLEUJ3/union-info/basic/.dirs/cache 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_LLEUJ3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_LLEUJ3/union-info/basic/.dirs/system-config2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_LLEUJ3/union-info/basic/.dirs/config 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_LLEUJ3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_LLEUJ3/union-info/basic/.dirs/system-data2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_LLEUJ3/union-info/basic/.dirs/data 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_LLEUJ3/union-info/basic/.dirs/state 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_LLEUJ3/union-info/basic/.dirs/runtime 920s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 920s # /union-info/basic summary: Test basic properties of GIUnionInfo 920s ok 1 /union-info/basic 920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_LLEUJ3/union-info/methods/.dirs/home 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_LLEUJ3/union-info/methods/.dirs/cache 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_LLEUJ3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_LLEUJ3/union-info/methods/.dirs/system-config2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_LLEUJ3/union-info/methods/.dirs/config 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_LLEUJ3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_LLEUJ3/union-info/methods/.dirs/system-data2 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_LLEUJ3/union-info/methods/.dirs/data 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_LLEUJ3/union-info/methods/.dirs/state 920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_LLEUJ3/union-info/methods/.dirs/runtime 920s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 920s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 920s ok 2 /union-info/methods 920s # End of union-info tests 920s TAP version 14 920s # random seed: R02S0c35cfa02d791ca3bcf9288585c80567 920s 1..36 920s # Start of gtask tests 920s ok 1 /gtask/basic 920s ok 2 /gtask/error 920s ok 3 /gtask/error-literal 920s ok 4 /gtask/error-literal-from-variable 920s ok 5 /gtask/return-from-same-iteration 920s ok 6 /gtask/return-from-toplevel 920s ok 7 /gtask/return-from-anon-thread 920s ok 8 /gtask/return-from-wrong-thread 920s ok - glib/union-info.test 920s # Running test: glib/task.test 920s ok 9 /gtask/no-callback 920s ok 10 /gtask/report-error 920s ok 11 /gtask/priority 920s ok 12 /gtask/name 920s ok 13 /gtask/static-name 920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 921s ok 14 /gtask/asynchronous-cancellation 921s ok 15 /gtask/check-cancellable 921s ok 16 /gtask/return-if-cancelled 921s ok 17 /gtask/run-in-thread 921s ok 18 /gtask/run-in-thread-sync 921s ok 19 /gtask/run-in-thread-priority 921s ok 20 /gtask/run-in-thread-nested 921s ok 21 /gtask/run-in-thread-overflow 921s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 921s ok 22 /gtask/return-on-cancel 921s # GLib-GIO-DEBUG: GTask 0x2aa1da9cf60 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 921s # GLib-GIO-DEBUG: GTask 0x2aa1da9cdd0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 921s # GLib-GIO-DEBUG: GTask 0x2aa1da334b0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 921s ok 23 /gtask/return-on-cancel-sync 921s # GLib-GIO-DEBUG: GTask 0x2aa1da33170 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 921s ok 24 /gtask/return-on-cancel-atomic 921s ok 25 /gtask/return-pointer 921s ok 26 /gtask/return-value 921s ok 27 /gtask/return-prefixed-error 921s ok - glib/task.test 921s # Running test: glib/performance-threaded.test 921s ok 28 /gtask/object-keepalive 921s ok 29 /gtask/legacy-error 921s ok 30 /gtask/finalize-without-return 921s # Start of name tests 921s ok 31 /gtask/name/macro-wrapper 921s # End of name tests 921s # Start of return tests 921s ok 32 /gtask/return/error-first 921s ok 33 /gtask/return/value-first 921s # Start of in-idle tests 921s ok 34 /gtask/return/in-idle/error-first 921s ok 35 /gtask/return/in-idle/value-first 921s # End of in-idle tests 921s # End of return tests 921s # Start of attach-source tests 921s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 921s ok 36 /gtask/attach-source/set-name 921s # End of attach-source tests 921s # End of gtask tests 921s Running test "liststore-is-a" 923s 3876 runs, min/avg/max = 0.070/0.299/666.068 ms 923s Running test "liststore-interface-peek" 924s 6055 runs, min/avg/max = 0.035/0.176/215.387 ms 924s Running test "liststore-interface-peek-same" 924s # Executing: glib/performance-threaded.test 925s 13446 runs, min/avg/max = 0.035/0.074/110.603 ms 925s ok - glib/performance-threaded.test 925s # Running test: glib/unix.test 925s TAP version 14 925s # random seed: R02S330bad22f380702b2d6bcd0f8fd3dc16 925s 1..20 925s # Start of glib-unix tests 925s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 925s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 925s ok 1 /glib-unix/closefrom 925s ok 2 /glib-unix/pipe 925s # /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 925s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 925s ok 3 /glib-unix/pipe-stdio-overwrite 925s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 925s ok 4 /glib-unix/pipe-struct 925s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 925s ok 5 /glib-unix/pipe-struct-auto 925s ok 6 /glib-unix/error 925s ok 7 /glib-unix/nonblocking 925s ok 8 /glib-unix/sighup 925s # slow test /glib-unix/sighup executed in 0.51 secs 926s ok 9 /glib-unix/sigterm 926s # slow test /glib-unix/sigterm executed in 0.50 secs 926s ok 10 /glib-unix/sighup_again 926s # slow test /glib-unix/sighup_again executed in 0.50 secs 926s ok 11 /glib-unix/sighup_add_remove 926s ok 12 /glib-unix/sighup_nested 928s ok 13 /glib-unix/callback_after_signal 928s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 928s ok 14 /glib-unix/child-wait 928s # Start of closefrom tests 928s # Start of subprocess tests 928s # End of subprocess tests 928s # End of closefrom tests 928s # Start of pipe tests 928s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 928s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 928s ok 15 /glib-unix/pipe/fd-cloexec 928s # End of pipe tests 928s # Start of sighup tests 929s ok 16 /glib-unix/sighup/alternate-stack 929s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 929s # End of sighup tests 929s # Start of sigterm tests 929s # Executing: glib/unix.test 930s ok 17 /glib-unix/sigterm/alternate-stack 930s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 930s # End of sigterm tests 930s # Start of sighup_again tests 931s ok 18 /glib-unix/sighup_again/alternate-stack 931s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 931s # End of sighup_again tests 931s # Start of get-passwd-entry tests 931s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 931s ok 19 /glib-unix/get-passwd-entry/root 931s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 931s ok 20 /glib-unix/get-passwd-entry/nonexistent 931s # End of get-passwd-entry tests 931s # End of glib-unix tests 931s ok - glib/unix.test 931s # Running test: glib/unicode-normalize.test 931s TAP version 14 931s # random seed: R02S7ab541d22110d5130d9b649cd76c347e 931s 1..3 931s # Start of unicode tests 931s # Processing Part0 # Specific cases 931s # Processing Part1 # Character by character test 931s # Processing Part2 # Canonical Order Test 931s # Processing Part3 # PRI #29 Test 931s # Processing Part4 # Canonical closures (excluding Hangul) 931s # Processing Part5 # Chained primary composites 931s ok 1 /unicode/normalize 931s # Invalid UTF-8 vector 0 931s # Invalid UTF-8 vector 1 931s # Invalid UTF-8 vector 2 931s # Invalid UTF-8 vector 3 931s # Invalid UTF-8 vector 4 931s # Invalid UTF-8 vector 5 931s # Invalid UTF-8 vector 6 931s # Invalid UTF-8 vector 7 931s # Invalid UTF-8 vector 8 931s # Invalid UTF-8 vector 9 931s # Invalid UTF-8 vector 10 931s # Invalid UTF-8 vector 11 931s # Invalid UTF-8 vector 12 931s ok - glib/unicode-normalize.test 931s ok 2 /unicode/normalize-invalid 931s # Start of normalize tests 931s ok 3 /unicode/normalize/bad-length 931s # End of normalize tests 931s # End of unicode tests 931s # Running test: glib/object-info.test 931s TAP version 14 931s # random seed: R02S75a313bd3130f0ac457c16e5bfca011b 931s 1..2 931s # Start of object-info tests 931s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_ZNI2J3/object-info/find-method-using-interfaces/.dirs/home 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_ZNI2J3/object-info/find-method-using-interfaces/.dirs/cache 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_ZNI2J3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_ZNI2J3/object-info/find-method-using-interfaces/.dirs/system-config2 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_ZNI2J3/object-info/find-method-using-interfaces/.dirs/config 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_ZNI2J3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_ZNI2J3/object-info/find-method-using-interfaces/.dirs/system-data2 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_ZNI2J3/object-info/find-method-using-interfaces/.dirs/data 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_ZNI2J3/object-info/find-method-using-interfaces/.dirs/state 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_ZNI2J3/object-info/find-method-using-interfaces/.dirs/runtime 931s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 931s ok 1 /object-info/find-method-using-interfaces 931s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_ZNI2J3/object-info/find-vfunc-using-interfaces/.dirs/home 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_ZNI2J3/object-info/find-vfunc-using-interfaces/.dirs/cache 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_ZNI2J3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_ZNI2J3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_ZNI2J3/object-info/find-vfunc-using-interfaces/.dirs/config 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_ZNI2J3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_ZNI2J3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_ZNI2J3/object-info/find-vfunc-using-interfaces/.dirs/data 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_ZNI2J3/object-info/find-vfunc-using-interfaces/.dirs/state 931s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_ZNI2J3/object-info/find-vfunc-using-interfaces/.dirs/runtime 931s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 931s ok 2 /object-info/find-vfunc-using-interfaces 931s # End of object-info tests 931s ok - glib/object-info.test 931s # Running test: glib/cxx-20.test 931s TAP version 14 931s # random seed: R02S7710b4d6b3e6388e700b0b2b1e663d6a 931s 1..2 931s # Start of gtask tests 931s # 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. 931s ok 1 /gtask/name 931s # Start of name tests 931s # 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. 931s ok 2 /gtask/name/macro-wrapper 931s # End of name tests 931s # End of gtask tests 931s ok - glib/cxx-20.test 931s # Running test: glib/gapplication.test 931s TAP version 14 931s # random seed: R02S6e012db8e57d421191f88321a19c57fb 931s 1..25 931s # Start of gapplication tests 931s ok 1 /gapplication/no-dbus 931s ok 2 /gapplication/no-appid 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s ok 3 /gapplication/properties 931s ok 4 /gapplication/app-id 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s ok 5 /gapplication/quit 931s ok 6 /gapplication/registered 931s ok 7 /gapplication/local-actions 931s ok 8 /gapplication/local-command-line 931s ok 9 /gapplication/resource-path 931s ok 10 /gapplication/test-help 931s ok 11 /gapplication/command-line-done 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s ok 12 /gapplication/test-busy 931s ok 13 /gapplication/test-handle-local-options1 931s ok 14 /gapplication/test-handle-local-options2 931s ok 15 /gapplication/test-handle-local-options3 931s ok 16 /gapplication/api 931s ok 17 /gapplication/version 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 931s # launching subprocess 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s ok 18 /gapplication/replace 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 931s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 931s # launching subprocess 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s ok 19 /gapplication/no-replace 932s # slow test /gapplication/no-replace executed in 0.50 secs 932s # Start of command-line tests 932s # /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 932s ok 20 /gapplication/command-line/arguments 932s # End of command-line tests 932s # Start of dbus tests 932s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 932s # Message 0 932s # Message 1 932s # Message 2 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s ok 21 /gapplication/dbus/activate 932s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 932s # Message 0 932s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 932s # Message 1 932s # Message 2 932s # Message 3 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s ok 22 /gapplication/dbus/open 932s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 932s # Message 0 932s # Message 1 932s # Message 2 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s ok 23 /gapplication/dbus/command-line 932s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s ok 24 /gapplication/dbus/command-line-done 932s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 932s # Message 0 932s # Message 1 932s # Message 2 932s # Message 3 932s # Message 4 932s # Message 5 932s # Message 6 932s # Message 7 932s # Message 8 932s # Message 9 932s # Message 10 932s # Message 11 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s ok 25 /gapplication/dbus/activate-action 932s # End of dbus tests 932s # End of gapplication tests 932s ok - glib/gapplication.test 932s # Running test: glib/stream-rw_all.test 932s TAP version 14 932s # random seed: R02Sbd2c256e1323eace3a13e3220864e287 932s ok - glib/stream-rw_all.test 932s 1..3 932s # Start of stream tests 932s # Start of read_all_async tests 932s ok 1 /stream/read_all_async/memory 932s # End of read_all_async tests 932s # Start of write_all_async tests 932s ok 2 /stream/write_all_async/memory 932s # End of write_all_async tests 932s # Start of read_write_all_async tests 932s ok 3 /stream/read_write_all_async/pipe 932s # End of read_write_all_async tests 932s # End of stream tests 932s # Running test: glib/boxed.test 932s ok - glib/boxed.test 932s # Running test: glib/io-stream.test 932s ok - glib/io-stream.test 932s # Running test: glib/gi-inspect-typelib.py.test 932s TAP version 14 932s # random seed: R02Sc5e4f60790fd359e0b87e688847be604 932s 1..27 932s # Start of boxed tests 932s ok 1 /boxed/define 932s ok 2 /boxed/ownership 932s ok 3 /boxed/closure 932s ok 4 /boxed/date 932s ok 5 /boxed/value 932s ok 6 /boxed/string 932s ok 7 /boxed/hashtable 932s ok 8 /boxed/array 932s ok 9 /boxed/ptrarray 932s ok 10 /boxed/regex 932s ok 11 /boxed/varianttype 932s ok 12 /boxed/error 932s ok 13 /boxed/datetime 932s ok 14 /boxed/matchinfo 932s ok 15 /boxed/keyfile 932s ok 16 /boxed/mainloop 932s ok 17 /boxed/maincontext 932s ok 18 /boxed/source 932s ok 19 /boxed/variantbuilder 932s ok 20 /boxed/timezone 932s ok 21 /boxed/pollfd 932s ok 22 /boxed/markup 932s ok 23 /boxed/thread 932s ok 24 /boxed/checksum 932s ok 25 /boxed/tree 932s ok 26 /boxed/patternspec 932s ok 27 /boxed/rand 932s # End of boxed tests 932s TAP version 14 932s # random seed: R02S6687c6f068cde6f92579daf602d2ebb7 932s 1..3 932s # Start of io-stream tests 932s ok 1 /io-stream/copy-chunks 932s # Start of close tests 932s # Start of async tests 932s ok 2 /io-stream/close/async/memory 932s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 932s ok 3 /io-stream/close/async/file 932s # End of async tests 932s # End of close tests 932s # End of io-stream tests 932s TAP version 13 932s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmpvwwrfn7h 932s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 932s # Return code: 0 932s # Output: 932s # Usage: 932s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 932s # 932s # Help Options: 932s # -h, --help Show help options 932s # 932s # Application Options: 932s # --typelib-version=VERSION Typelib version to inspect 932s # --print-shlibs List the shared libraries the typelib requires 932s # --print-typelibs List other typelibs the inspected typelib requires 932s # Error: 932s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmpguprd9v2 932s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 932s # Return code: 1 932s # Output: 932s # 932s # Error: 932s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 932s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmpzfkxds37 932s # Running: ['/usr/bin/gi-inspect-typelib'] 932s # Return code: 1 932s # Output: 932s # 932s # Error: 932s # Please specify exactly one namespace 932s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmp2hdamknu 932s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 932s # Return code: 0 932s # Output: 932s # shlib: libgobject-2.0.so.0 932s # shlib: libglib-2.0.so.0 932s # Error: 932s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmpnqdpe8qd 932s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 932s # Return code: 0 932s # Output: 932s # 932s # Error: 932s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmpxubl9mlk 932s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 932s # Return code: 0 932s # Output: 932s # shlib: libgobject-2.0.so.0 932s # shlib: libglib-2.0.so.0 932s # Error: 932s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmp2wkd227e 932s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 932s # Return code: 0 932s # Output: 932s # shlib: libgobject-2.0.so.0 932s # Error: 932s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmprs43yrx3 932s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 932s # Return code: 0 932s # Output: 932s # typelib: GLib-2.0 932s # Error: 932s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmpg3ro80zb 932s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 932s # Return code: 0 932s # Output: 932s # shlib: libgobject-2.0.so.0 932s # typelib: GLib-2.0 932s # Error: 932s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmpnktapbph 932s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 932s # Return code: 0 932s # Output: 932s # shlib: libgio-2.0.so.0 932s # Error: 932s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmpdudboyu6 932s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 932s # Return code: 0 932s # Output: 932s # typelib: GObject-2.0 932s # typelib: GLib-2.0 932s # typelib: GModule-2.0 932s # Error: 932s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 932s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 932s # tmpdir: /tmp/tmpwmfnqdtj 932s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 932s # Return code: 0 932s # Output: 932s # shlib: libgio-2.0.so.0 932s # typelib: GObject-2.0 932s # typelib: GLib-2.0 932s # typelib: GModule-2.0 932s # Error: 932s 1..12 932s ok - glib/gi-inspect-typelib.py.test 932s # Running test: glib/dump.test 932s ok - glib/dump.test 932s TAP version 14 932s # random seed: R02S76795f7317f98bfed9147e7e31feb62a 932s 1..4 932s # Start of dump tests 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_3UKOJ3/dump/empty-file/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_3UKOJ3/dump/empty-file/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_3UKOJ3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_3UKOJ3/dump/empty-file/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_3UKOJ3/dump/empty-file/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_3UKOJ3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_3UKOJ3/dump/empty-file/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_3UKOJ3/dump/empty-file/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_3UKOJ3/dump/empty-file/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_3UKOJ3/dump/empty-file/.dirs/runtime 932s ok 1 /dump/empty-file 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_3UKOJ3/dump/missing-get-type/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_3UKOJ3/dump/missing-get-type/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_3UKOJ3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_3UKOJ3/dump/missing-get-type/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_3UKOJ3/dump/missing-get-type/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_3UKOJ3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_3UKOJ3/dump/missing-get-type/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_3UKOJ3/dump/missing-get-type/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_3UKOJ3/dump/missing-get-type/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_3UKOJ3/dump/missing-get-type/.dirs/runtime 932s Invalid GType function: 'does_not_exist_get_type' 932s ok 2 /dump/missing-get-type 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_3UKOJ3/dump/missing-quark/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_3UKOJ3/dump/missing-quark/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_3UKOJ3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_3UKOJ3/dump/missing-quark/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_3UKOJ3/dump/missing-quark/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_3UKOJ3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_3UKOJ3/dump/missing-quark/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_3UKOJ3/dump/missing-quark/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_3UKOJ3/dump/missing-quark/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_3UKOJ3/dump/missing-quark/.dirs/runtime 932s Invalid error quark function: 'does_not_exist_error' 932s ok 3 /dump/missing-quark 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_3UKOJ3/dump/basic/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_3UKOJ3/dump/basic/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_3UKOJ3/dump/basic/.dirs/system-config1:/tmp/test_dump_3UKOJ3/dump/basic/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_3UKOJ3/dump/basic/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_3UKOJ3/dump/basic/.dirs/system-data1:/tmp/test_dump_3UKOJ3/dump/basic/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_3UKOJ3/dump/basic/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_3UKOJ3/dump/basic/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_3UKOJ3/dump/basic/.dirs/runtime 932s ok 4 /dump/basic 932s # End of dump tests 932s # Running test: glib/ir-parser.test 932s ok - glib/ir-parser.test 932s TAP version 14 932s # random seed: R02S6e4636f8d7b041bdbfc03515262af237 932s 1..1 932s # Start of ir-parser tests 932s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: pushing node 1 dummy 932s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: popping node 1 dummy 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: pushing node 1 dummy 932s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: popping node 1 dummy 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: 932s # GLib-GIRepository-DEBUG: pushing node 1 dummy 932s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error*/ 1060s # ENUM_VALUE_PRIVATE, 1060s # } SomeEnumA 1060s # 1060s # /tmp/tmpdscth3n8/tmp08ipwp14.template: 1060s # /*** BEGIN file-header ***/ 1060s # file-header 1060s # /*** END file-header ***/ 1060s # 1060s # /*** BEGIN file-production ***/ 1060s # file-production 1060s # filename: @filename@ 1060s # basename: @basename@ 1060s # /*** END file-production ***/ 1060s # 1060s # /*** BEGIN enumeration-production ***/ 1060s # enumeration-production 1060s # EnumName: @EnumName@ 1060s # enum_name: @enum_name@ 1060s # ENUMNAME: @ENUMNAME@ 1060s # ENUMSHORT: @ENUMSHORT@ 1060s # ENUMPREFIX: @ENUMPREFIX@ 1060s # enumsince: @enumsince@ 1060s # type: @type@ 1060s # Type: @Type@ 1060s # TYPE: @TYPE@ 1060s # /*** END enumeration-production ***/ 1060s # 1060s # /*** BEGIN value-header ***/ 1060s # value-header 1060s # EnumName: @EnumName@ 1060s # enum_name: @enum_name@ 1060s # ENUMNAME: @ENUMNAME@ 1060s # ENUMSHORT: @ENUMSHORT@ 1060s # ENUMPREFIX: @ENUMPREFIX@ 1060s # enumsince: @enumsince@ 1060s # type: @type@ 1060s # Type: @Type@ 1060s # TYPE: @TYPE@ 1060s # /*** END value-header ***/ 1060s # 1060s # /*** BEGIN value-production ***/ 1060s # value-production 1060s # VALUENAME: @VALUENAME@ 1060s # valuenick: @valuenick@ 1060s # valuenum: @valuenum@ 1060s # type: @type@ 1060s # Type: @Type@ 1060s # TYPE: @TYPE@ 1060s # /*** END value-production ***/ 1060s # 1060s # /*** BEGIN value-tail ***/ 1060s # value-tail 1060s # EnumName: @EnumName@ 1060s # enum_name: @enum_name@ 1060s # ENUMNAME: @ENUMNAME@ 1060s # ENUMSHORT: @ENUMSHORT@ 1060s # ENUMPREFIX: @ENUMPREFIX@ 1060s # enumsince: @enumsince@ 1060s # type: @type@ 1060s # Type: @Type@ 1060s # TYPE: @TYPE@ 1060s # /*** END value-tail ***/ 1060s # 1060s # /*** BEGIN comment ***/ 1060s # comment 1060s # comment: @comment@ 1060s # /*** END comment ***/ 1060s # 1060s # /*** BEGIN file-tail ***/ 1060s # file-tail 1060s # /*** END file-tail ***/ 1060s # 1060s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdscth3n8/tmp08ipwp14.template', '/tmp/tmpdscth3n8/tmp9732d48y.h'] 1060s # Return code: 0 1060s # Output: 1060s # comment 1060s # 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. 1060s # 1060s # 1060s # file-header 1060s # file-production 1060s # filename: /tmp/tmpdscth3n8/tmp9732d48y.h 1060s # basename: tmp9732d48y.h 1060s # enumeration-production 1060s # EnumName: SomeEnumA 1060s # enum_name: some_enum_a 1060s # ENUMNAME: SOME_ENUM_A 1060s # ENUMSHORT: ENUM_A 1060s # ENUMPREFIX: SOME 1060s # enumsince: 1060s # type: enum 1060s # Type: Enum 1060s # TYPE: ENUM 1060s # value-header 1060s # EnumName: SomeEnumA 1060s # enum_name: some_enum_a 1060s # ENUMNAME: SOME_ENUM_A 1060s # ENUMSHORT: ENUM_A 1060s # ENUMPREFIX: SOME 1060s # enumsince: 1060s # type: enum 1060s # Type: Enum 1060s # TYPE: ENUM 1060s # value-production 1060s # VALUENAME: ENUM_VALUE_PUBLIC1 1060s # valuenick: public1 1060s # valuenum: 0 1060s # type: enum 1060s # Type: Enum 1060s # TYPE: ENUM 1060s # value-tail 1060s # EnumName: SomeEnumA 1060s # enum_name: some_enum_a 1060s # ENUMNAME: SOME_ENUM_A 1060s # ENUMSHORT: ENUM_A 1060s # ENUMPREFIX: SOME 1060s # enumsince: 1060s # type: enum 1060s # Type: Enum 1060s # TYPE: ENUM 1060s # file-tail 1060s # 1060s # comment 1060s # comment: Generated data ends here 1060s # Error: 1060s # 1060s # /tmp/tmpdscth3n8/tmpuey_15ks.h: 1060s # typedef enum { 1060s # /*< private >*/ 1060s # ENUM_VALUE_PRIVATE, 1060s # /*< public >*/ 1060s # ENUM_VALUE_PUBLIC2, 1060s # } SomeEnumB; 1060s # 1060s # /tmp/tmpdscth3n8/tmpm94spopa.template: 1060s # /*** BEGIN file-header ***/ 1060s # file-header 1060s # /*** END file-header ***/ 1060s # 1060s # /*** BEGIN file-production ***/ 1060s # file-production 1060s # filename: @filename@ 1060s # basename: @basename@ 1060s # /*** END file-production ***/ 1060s # 1060s # /*** BEGIN enumeration-production ***/ 1060s # enumeration-production 1060s # EnumName: @EnumName@ 1060s # enum_name: @enum_name@ 1060s # ENUMNAME: @ENUMNAME@ 1060s # ENUMSHORT: @ENUMSHORT@ 1060s # ENUMPREFIX: @ENUMPREFIX@ 1060s # enumsince: @enumsince@ 1060s # type: @type@ 1060s # Type: @Type@ 1060s # TYPE: @TYPE@ 1060s # /*** END enumeration-production ***/ 1060s # 1060s # /*** BEGIN value-header ***/ 1060s # value-header 1060s # EnumName: @EnumName@ 1060s # enum_name: @enum_name@ 1060s # ENUMNAME: @ENUMNAME@ 1060s # ENUMSHORT: @ENUMSHORT@ 1060s # ENUMPREFIX: @ENUMPREFIX@ 1060s # enumsince: @enumsince@ 1060s # type: @type@ 1060s # Type: @Type@ 1060s # TYPE: @TYPE@ 1060s # /*** END value-header ***/ 1060s # 1060s # /*** BEGIN value-production ***/ 1060s # value-production 1060s # VALUENAME: @VALUENAME@ 1060s # valuenick: @valuenick@ 1060s # valuenum: @valuenum@ 1060s # type: @type@ 1060s # Type: @Type@ 1060s # TYPE: @TYPE@ 1060s # /*** END value-production ***/ 1060s # 1060s # /*** BEGIN value-tail ***/ 1060s # value-tail 1060s # EnumName: @EnumName@ 1060s # enum_name: @enum_name@ 1060s # ENUMNAME: @ENUMNAME@ 1060s # ENUMSHORT: @ENUMSHORT@ 1060s # ENUMPREFIX: @ENUMPREFIX@ 1060s # enumsince: @enumsince@ 1060s # type: @type@ 1060s # Type: @Type@ 1060s # TYPE: @TYPE@ 1060s # /*** END value-tail ***/ 1060s # 1060s # /*** BEGIN comment ***/ 1060s # comment 1060s # comment: @comment@ 1060s # /*** END comment ***/ 1060s # 1060s # /*** BEGIN file-tail ***/ 1060s # file-tail 1060s # /*** END file-tail ***/ 1060s # 1060s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdscth3n8/tmpm94spopa.template', '/tmp/tmpdscth3n8/tmpuey_15ks.h'] 1060s # Return code: 0 1060s # Output: 1060s # comment 1060s # 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. 1060s # 1060s # 1060s # file-header 1060s # file-production 1060s # filename: /tmp/tmpdscth3n8/tmpuey_15ks.h 1060s # basename: tmpuey_15ks.h 1060s # enumeration-production 1060s # EnumName: SomeEnumB 1060s # enum_name: some_enum_b 1060s # ENUMNAME: SOME_ENUM_B 1060s # ENUMSHORT: ENUM_B 1060s # ENUMPREFIX: SOME 1060s # enumsince: 1060s # type: enum 1060s # Type: Enum 1060s # TYPE: ENUM 1060s # value-header 1060s # EnumName: SomeEnumB 1060s # enum_name: some_enum_b 1060s # ENUMNAME: SOME_ENUM_B 1060s # ENUMSHORT: ENUM_B 1060s # ENUMPREFIX: SOME 1060s # enumsince: 1060s # type: enum 1060s # Type: Enum 1060s # TYPE: ENUM 1060s # value-production 1060s # VALUENAME: ENUM_VALUE_PUBLIC2 1060s # valuenick: public2 1060s # valuenum: 1 1060s # type: enum 1060s # Type: Enum 1060s # TYPE: ENUM 1060s # value-tail 1060s # EnumName: SomeEnumB 1060s # enum_name: some_enum_b 1060s # ENUMNAME: SOME_ENUM_B 1060s # ENUMSHORT: ENUM_B 1060s # ENUMPREFIX: SOME 1060s # enumsince: 1060s # type: enum 1060s # Type: Enum 1060s # TYPE: ENUM 1060s # file-tail 1060s # 1060s # comment 1060s # comment: Generated data ends here 1060s # Error: 1061s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1061s # glib-mkenums: /usr/bin/glib-mkenums 1061s # tmpdir: /tmp/tmpbtbl3c3l 1061s # rspfile: False 1061s # /tmp/tmpbtbl3c3l/tmpnfw5bn4g.h: 1061s # typedef enum { 1061s # /*< private >*/ 1061s # ENUM_VALUE_PRIVATE = 5, 1061s # /*< public >*/ 1061s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1061s # } TestSymbolicEnum; 1061s # 1061s # /tmp/tmpbtbl3c3l/tmpvbd9a4b4.template: 1061s # /*** BEGIN file-header ***/ 1061s # file-header 1061s # /*** END file-header ***/ 1061s # 1061s # /*** BEGIN file-production ***/ 1061s # file-production 1061s # filename: @filename@ 1061s # basename: @basename@ 1061s # /*** END file-production ***/ 1061s # 1061s # /*** BEGIN enumeration-production ***/ 1061s # enumeration-production 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END enumeration-production ***/ 1061s # 1061s # /*** BEGIN value-header ***/ 1061s # value-header 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-header ***/ 1061s # 1061s # /*** BEGIN value-production ***/ 1061s # value-production 1061s # VALUENAME: @VALUENAME@ 1061s # valuenick: @valuenick@ 1061s # valuenum: @valuenum@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-production ***/ 1061s # 1061s # /*** BEGIN value-tail ***/ 1061s # value-tail 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-tail ***/ 1061s # 1061s # /*** BEGIN comment ***/ 1061s # comment 1061s # comment: @comment@ 1061s # /*** END comment ***/ 1061s # 1061s # /*** BEGIN file-tail ***/ 1061s # file-tail 1061s # /*** END file-tail ***/ 1061s # 1061s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbtbl3c3l/tmpvbd9a4b4.template', '/tmp/tmpbtbl3c3l/tmpnfw5bn4g.h'] 1061s # Return code: 0 1061s # Output: 1061s # comment 1061s # 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. 1061s # 1061s # 1061s # file-header 1061s # file-production 1061s # filename: /tmp/tmpbtbl3c3l/tmpnfw5bn4g.h 1061s # basename: tmpnfw5bn4g.h 1061s # enumeration-production 1061s # EnumName: TestSymbolicEnum 1061s # enum_name: test_symbolic_enum 1061s # ENUMNAME: TEST_SYMBOLIC_ENUM 1061s # ENUMSHORT: SYMBOLIC_ENUM 1061s # ENUMPREFIX: TEST 1061s # enumsince: 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # value-header 1061s # EnumName: TestSymbolicEnum 1061s # enum_name: test_symbolic_enum 1061s # ENUMNAME: TEST_SYMBOLIC_ENUM 1061s # ENUMSHORT: SYMBOLIC_ENUM 1061s # ENUMPREFIX: TEST 1061s # enumsince: 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # value-production 1061s # VALUENAME: ENUM_VALUE_PUBLIC 1061s # valuenick: public 1061s # valuenum: 7 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # value-tail 1061s # EnumName: TestSymbolicEnum 1061s # enum_name: test_symbolic_enum 1061s # ENUMNAME: TEST_SYMBOLIC_ENUM 1061s # ENUMSHORT: SYMBOLIC_ENUM 1061s # ENUMPREFIX: TEST 1061s # enumsince: 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # file-tail 1061s # 1061s # comment 1061s # comment: Generated data ends here 1061s # Error: 1061s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1061s # glib-mkenums: /usr/bin/glib-mkenums 1061s # tmpdir: /tmp/tmpa_g_hnkz 1061s # rspfile: False 1061s # /tmp/tmpa_g_hnkz/tmpqxjh4ee4.template: 1061s # /*** BEGIN file-header ***/ 1061s # file-header 1061s # filename: @filename@ 1061s # basename: @basename@ 1061s # /*** END file-header ***/ 1061s # 1061s # /*** BEGIN comment ***/ 1061s # comment 1061s # comment: @comment@ 1061s # /*** END comment ***/ 1061s # 1061s # /*** BEGIN file-tail ***/ 1061s # file-tail 1061s # filename: @filename@ 1061s # basename: @basename@ 1061s # /*** END file-tail ***/ 1061s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpa_g_hnkz/tmpqxjh4ee4.template'] 1061s # Return code: 0 1061s # Output: 1061s # comment 1061s # 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. 1061s # 1061s # 1061s # file-header 1061s # filename: @filename@ 1061s # basename: @basename@ 1061s # file-tail 1061s # filename: @filename@ 1061s # basename: @basename@ 1061s # 1061s # comment 1061s # comment: Generated data ends here 1061s # Error: 1061s # WARNING: @filename@ used in file-header section. 1061s # WARNING: @basename@ used in file-header section. 1061s # WARNING: @filename@ used in file-tail section. 1061s # WARNING: @basename@ used in file-tail section. 1061s ok 11 __main__.TestMkenums.test_help 1061s # glib-mkenums: /usr/bin/glib-mkenums 1061s # tmpdir: /tmp/tmpuhy7phal 1061s # rspfile: False 1061s # Running: ['/usr/bin/glib-mkenums', '--help'] 1061s # Return code: 0 1061s # Output: 1061s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1061s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1061s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1061s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1061s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1061s # [--output OUTPUT] [--version] 1061s # [args ...] 1061s # 1061s # positional arguments: 1061s # args One or more input files, or a single argument 1061s # @rspfile_path pointing to a file that contains the 1061s # actual arguments 1061s # 1061s # options: 1061s # -h, --help show this help message and exit 1061s # --identifier-prefix IDPREFIX 1061s # Identifier prefix 1061s # --symbol-prefix SYMPREFIX 1061s # Symbol prefix 1061s # --fhead FHEAD Output file header 1061s # --ftail FTAIL Output file footer 1061s # --fprod FPROD Put out TEXT every time a new input file is being 1061s # processed. 1061s # --eprod EPROD Per enum text, produced prior to value iterations 1061s # --vhead VHEAD Value header, produced before iterating over enum 1061s # values 1061s # --vprod VPROD Value text, produced for each enum value. 1061s # --vtail VTAIL Value tail, produced after iterating over enum values 1061s # --comments COMMENT_TMPL 1061s # Comment structure 1061s # --template TEMPLATE Template file 1061s # --output OUTPUT 1061s # --version, -v Print version information 1061s # 1061s # Production text substitutions: 1061s # @EnumName@ PrefixTheXEnum 1061s # @enum_name@ prefix_the_xenum 1061s # @ENUMNAME@ PREFIX_THE_XENUM 1061s # @ENUMSHORT@ THE_XENUM 1061s # @ENUMPREFIX@ PREFIX 1061s # @enumsince@ the user-provided since value given 1061s # @VALUENAME@ PREFIX_THE_XVALUE 1061s # @valuenick@ the-xvalue 1061s # @valuenum@ the integer value (limited support, Since: 2.26) 1061s # @type@ either enum or flags 1061s # @Type@ either Enum or Flags 1061s # @TYPE@ either ENUM or FLAGS 1061s # @filename@ name of current input file 1061s # @basename@ base name of the current input file (Since: 2.22) 1061s # Error: 1061s ok 12 __main__.TestMkenums.test_no_args 1061s # glib-mkenums: /usr/bin/glib-mkenums 1061s # tmpdir: /tmp/tmp27sv_xjx 1061s # rspfile: False 1061s # Running: ['/usr/bin/glib-mkenums'] 1061s # Return code: 0 1061s # Output: 1061s # /* 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. */ 1061s # 1061s # 1061s # /* Generated data ends here */ 1061s # Error: 1061s ok 13 __main__.TestMkenums.test_no_headers 1061s # glib-mkenums: /usr/bin/glib-mkenums 1061s # tmpdir: /tmp/tmpev6n1czk 1061s # rspfile: False 1061s # /tmp/tmpev6n1czk/tmp3z40fb8i.template: 1061s # /*** BEGIN file-header ***/ 1061s # file-header 1061s # /*** END file-header ***/ 1061s # 1061s # /*** BEGIN file-production ***/ 1061s # file-production 1061s # filename: @filename@ 1061s # basename: @basename@ 1061s # /*** END file-production ***/ 1061s # 1061s # /*** BEGIN enumeration-production ***/ 1061s # enumeration-production 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END enumeration-production ***/ 1061s # 1061s # /*** BEGIN value-header ***/ 1061s # value-header 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-header ***/ 1061s # 1061s # /*** BEGIN value-production ***/ 1061s # value-production 1061s # VALUENAME: @VALUENAME@ 1061s # valuenick: @valuenick@ 1061s # valuenum: @valuenum@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-production ***/ 1061s # 1061s # /*** BEGIN value-tail ***/ 1061s # value-tail 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-tail ***/ 1061s # 1061s # /*** BEGIN comment ***/ 1061s # comment 1061s # comment: @comment@ 1061s # /*** END comment ***/ 1061s # 1061s # /*** BEGIN file-tail ***/ 1061s # file-tail 1061s # /*** END file-tail ***/ 1061s # 1061s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpev6n1czk/tmp3z40fb8i.template'] 1061s # Return code: 0 1061s # Output: 1061s # comment 1061s # 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. 1061s # 1061s # 1061s # file-header 1061s # file-tail 1061s # 1061s # comment 1061s # comment: Generated data ends here 1061s # Error: 1061s ok 14 __main__.TestMkenums.test_no_nick 1061s # glib-mkenums: /usr/bin/glib-mkenums 1061s # tmpdir: /tmp/tmpmtklnxo7 1061s # rspfile: False 1061s # /tmp/tmpmtklnxo7/tmp85926cfb.h: 1061s # typedef enum { 1061s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1061s # } GeglSamplerType; 1061s # 1061s # /tmp/tmpmtklnxo7/tmpq5ma172v.template: 1061s # /*** BEGIN file-header ***/ 1061s # file-header 1061s # /*** END file-header ***/ 1061s # 1061s # /*** BEGIN file-production ***/ 1061s # file-production 1061s # filename: @filename@ 1061s # basename: @basename@ 1061s # /*** END file-production ***/ 1061s # 1061s # /*** BEGIN enumeration-production ***/ 1061s # enumeration-production 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END enumeration-production ***/ 1061s # 1061s # /*** BEGIN value-header ***/ 1061s # value-header 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-header ***/ 1061s # 1061s # /*** BEGIN value-production ***/ 1061s # value-production 1061s # VALUENAME: @VALUENAME@ 1061s # valuenick: @valuenick@ 1061s # valuenum: @valuenum@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-production ***/ 1061s # 1061s # /*** BEGIN value-tail ***/ 1061s # value-tail 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-tail ***/ 1061s # 1061s # /*** BEGIN comment ***/ 1061s # comment 1061s # comment: @comment@ 1061s # /*** END comment ***/ 1061s # 1061s # /*** BEGIN file-tail ***/ 1061s # file-tail 1061s # /*** END file-tail ***/ 1061s # 1061s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmtklnxo7/tmpq5ma172v.template', '/tmp/tmpmtklnxo7/tmp85926cfb.h'] 1061s # Return code: 0 1061s # Output: 1061s # comment 1061s # 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. 1061s # 1061s # 1061s # file-header 1061s # file-production 1061s # filename: /tmp/tmpmtklnxo7/tmp85926cfb.h 1061s # basename: tmp85926cfb.h 1061s # enumeration-production 1061s # EnumName: GeglSamplerType 1061s # enum_name: gegl_sampler_type 1061s # ENUMNAME: GEGL_SAMPLER_TYPE 1061s # ENUMSHORT: SAMPLER_TYPE 1061s # ENUMPREFIX: GEGL 1061s # enumsince: 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # value-header 1061s # EnumName: GeglSamplerType 1061s # enum_name: gegl_sampler_type 1061s # ENUMNAME: GEGL_SAMPLER_TYPE 1061s # ENUMSHORT: SAMPLER_TYPE 1061s # ENUMPREFIX: GEGL 1061s # enumsince: 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # value-production 1061s # VALUENAME: GEGL_SAMPLER_NEAREST 1061s # valuenick: nearest 1061s # valuenum: 0 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # value-tail 1061s # EnumName: GeglSamplerType 1061s # enum_name: gegl_sampler_type 1061s # ENUMNAME: GEGL_SAMPLER_TYPE 1061s # ENUMSHORT: SAMPLER_TYPE 1061s # ENUMPREFIX: GEGL 1061s # enumsince: 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # file-tail 1061s # 1061s # comment 1061s # comment: Generated data ends here 1061s # Error: 1061s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1061s # glib-mkenums: /usr/bin/glib-mkenums 1061s # tmpdir: /tmp/tmpk1734vl8 1061s # rspfile: False 1061s # /tmp/tmpk1734vl8/tmpezhnjvmt.h: 1061s # /* Copyright © La Peña */ 1061s # typedef enum { 1061s # ENUM_VALUE 1061s # } SomeEnumIdentifier; 1061s # 1061s # /tmp/tmpk1734vl8/tmpg_i32fo8.template: 1061s # /*** BEGIN file-header ***/ 1061s # file-header 1061s # /*** END file-header ***/ 1061s # 1061s # /*** BEGIN file-production ***/ 1061s # file-production 1061s # filename: @filename@ 1061s # basename: @basename@ 1061s # /*** END file-production ***/ 1061s # 1061s # /*** BEGIN enumeration-production ***/ 1061s # enumeration-production 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END enumeration-production ***/ 1061s # 1061s # /*** BEGIN value-header ***/ 1061s # value-header 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-header ***/ 1061s # 1061s # /*** BEGIN value-production ***/ 1061s # value-production 1061s # VALUENAME: @VALUENAME@ 1061s # valuenick: @valuenick@ 1061s # valuenum: @valuenum@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-production ***/ 1061s # 1061s # /*** BEGIN value-tail ***/ 1061s # value-tail 1061s # EnumName: @EnumName@ 1061s # enum_name: @enum_name@ 1061s # ENUMNAME: @ENUMNAME@ 1061s # ENUMSHORT: @ENUMSHORT@ 1061s # ENUMPREFIX: @ENUMPREFIX@ 1061s # enumsince: @enumsince@ 1061s # type: @type@ 1061s # Type: @Type@ 1061s # TYPE: @TYPE@ 1061s # /*** END value-tail ***/ 1061s # 1061s # /*** BEGIN comment ***/ 1061s # comment 1061s # comment: @comment@ 1061s # /*** END comment ***/ 1061s # 1061s # /*** BEGIN file-tail ***/ 1061s # file-tail 1061s # /*** END file-tail ***/ 1061s # 1061s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpk1734vl8/tmpg_i32fo8.template', '/tmp/tmpk1734vl8/tmpezhnjvmt.h'] 1061s # Return code: 0 1061s # Output: 1061s # comment 1061s # 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. 1061s # 1061s # 1061s # file-header 1061s # file-production 1061s # filename: /tmp/tmpk1734vl8/tmpezhnjvmt.h 1061s # basename: tmpezhnjvmt.h 1061s # enumeration-production 1061s # EnumName: SomeEnumIdentifier 1061s # enum_name: some_enum_identifier 1061s # ENUMNAME: SOME_ENUM_IDENTIFIER 1061s # ENUMSHORT: ENUM_IDENTIFIER 1061s # ENUMPREFIX: SOME 1061s # enumsince: 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # value-header 1061s # EnumName: SomeEnumIdentifier 1061s # enum_name: some_enum_identifier 1061s # ENUMNAME: SOME_ENUM_IDENTIFIER 1061s # ENUMSHORT: ENUM_IDENTIFIER 1061s # ENUMPREFIX: SOME 1061s # enumsince: 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # value-production 1061s # VALUENAME: ENUM_VALUE 1061s # valuenick: value 1061s # valuenum: 0 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # value-tail 1061s # EnumName: SomeEnumIdentifier 1061s # enum_name: some_enum_identifier 1061s # ENUMNAME: SOME_ENUM_IDENTIFIER 1061s # ENUMSHORT: ENUM_IDENTIFIER 1061s # ENUMPREFIX: SOME 1061s # enumsince: 1061s # type: enum 1061s # Type: Enum 1061s # TYPE: ENUM 1061s # file-tail 1061s # 1061s # comment 1061s # comment: Generated data ends here 1061s # Error: 1061s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1061s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1062s ok 16 __main__.TestMkenums.test_reproducible 1062s # glib-mkenums: /usr/bin/glib-mkenums 1062s # tmpdir: /tmp/tmpeigal0b1 1062s # rspfile: False 1062s # /tmp/tmpeigal0b1/tmp_orw7loz.template: template 1062s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpeigal0b1/tmp_orw7loz.template', '/tmp/tmpeigal0b1/tmph7tbs4mk1.h', '/tmp/tmpeigal0b1/tmpuyy2mrqs2.h'] 1062s # Return code: 0 1062s # Output: 1062s # /* 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. */ 1062s # 1062s # 1062s # /* Generated data ends here */ 1062s # Error: 1062s # 1062s # /tmp/tmpeigal0b1/tmp1aq0fn49.template: template 1062s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpeigal0b1/tmp1aq0fn49.template', '/tmp/tmpeigal0b1/tmpuyy2mrqs2.h', '/tmp/tmpeigal0b1/tmph7tbs4mk1.h'] 1062s # Return code: 0 1062s # Output: 1062s # /* 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. */ 1062s # 1062s # 1062s # /* Generated data ends here */ 1062s # Error: 1062s ok 17 __main__.TestMkenums.test_since 1062s # glib-mkenums: /usr/bin/glib-mkenums 1062s # tmpdir: /tmp/tmpbuqgrbcg 1062s # rspfile: False 1062s # /tmp/tmpbuqgrbcg/tmpex40d0fe.h: 1062s # typedef enum { /*< since=1.0 >*/ 1062s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1062s # } QmiWmsMessageProtocol; 1062s # 1062s # /tmp/tmpbuqgrbcg/tmp5fvoowpb.template: 1062s # /*** BEGIN file-header ***/ 1062s # file-header 1062s # /*** END file-header ***/ 1062s # 1062s # /*** BEGIN file-production ***/ 1062s # file-production 1062s # filename: @filename@ 1062s # basename: @basename@ 1062s # /*** END file-production ***/ 1062s # 1062s # /*** BEGIN enumeration-production ***/ 1062s # enumeration-production 1062s # EnumName: @EnumName@ 1062s # enum_name: @enum_name@ 1062s # ENUMNAME: @ENUMNAME@ 1062s # ENUMSHORT: @ENUMSHORT@ 1062s # ENUMPREFIX: @ENUMPREFIX@ 1062s # enumsince: @enumsince@ 1062s # type: @type@ 1062s # Type: @Type@ 1062s # TYPE: @TYPE@ 1062s # /*** END enumeration-production ***/ 1062s # 1062s # /*** BEGIN value-header ***/ 1062s # value-header 1062s # EnumName: @EnumName@ 1062s # enum_name: @enum_name@ 1062s # ENUMNAME: @ENUMNAME@ 1062s # ENUMSHORT: @ENUMSHORT@ 1062s # ENUMPREFIX: @ENUMPREFIX@ 1062s # enumsince: @enumsince@ 1062s # type: @type@ 1062s # Type: @Type@ 1062s # TYPE: @TYPE@ 1062s # /*** END value-header ***/ 1062s # 1062s # /*** BEGIN value-production ***/ 1062s # value-production 1062s # VALUENAME: @VALUENAME@ 1062s # valuenick: @valuenick@ 1062s # valuenum: @valuenum@ 1062s # type: @type@ 1062s # Type: @Type@ 1062s # TYPE: @TYPE@ 1062s # /*** END value-production ***/ 1062s # 1062s # /*** BEGIN value-tail ***/ 1062s # value-tail 1062s # EnumName: @EnumName@ 1062s # enum_name: @enum_name@ 1062s # ENUMNAME: @ENUMNAME@ 1062s # ENUMSHORT: @ENUMSHORT@ 1062s # ENUMPREFIX: @ENUMPREFIX@ 1062s # enumsince: @enumsince@ 1062s # type: @type@ 1062s # Type: @Type@ 1062s # TYPE: @TYPE@ 1062s # /*** END value-tail ***/ 1062s # 1062s # /*** BEGIN comment ***/ 1062s # comment 1062s # comment: @comment@ 1062s # /*** END comment ***/ 1062s # 1062s # /*** BEGIN file-tail ***/ 1062s # file-tail 1062s # /*** END file-tail ***/ 1062s # 1062s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbuqgrbcg/tmp5fvoowpb.template', '/tmp/tmpbuqgrbcg/tmpex40d0fe.h'] 1062s # Return code: 0 1062s # Output: 1062s # comment 1062s # 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. 1062s # 1062s # 1062s # file-header 1062s # file-production 1062s # filename: /tmp/tmpbuqgrbcg/tmpex40d0fe.h 1062s # basename: tmpex40d0fe.h 1062s # enumeration-production 1062s # EnumName: QmiWmsMessageProtocol 1062s # enum_name: qmi_wms_message_protocol 1062s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1062s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1062s # ENUMPREFIX: QMI 1062s # enumsince: 1.0 1062s # type: enum 1062s # Type: Enum 1062s # TYPE: ENUM 1062s # value-header 1062s # EnumName: QmiWmsMessageProtocol 1062s # enum_name: qmi_wms_message_protocol 1062s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1062s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1062s # ENUMPREFIX: QMI 1062s # enumsince: 1.0 1062s # type: enum 1062s # Type: Enum 1062s # TYPE: ENUM 1062s # value-production 1062s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1062s # valuenick: cdma 1062s # valuenum: 0 1062s # type: enum 1062s # Type: Enum 1062s # TYPE: ENUM 1062s # value-tail 1062s # EnumName: QmiWmsMessageProtocol 1062s # enum_name: qmi_wms_message_protocol 1062s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1062s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1062s # ENUMPREFIX: QMI 1062s # enumsince: 1.0 1062s # type: enum 1062s # Type: Enum 1062s # TYPE: ENUM 1062s # file-tail 1062s # 1062s # comment 1062s # comment: Generated data ends here 1062s # Error: 1062s ok 18 __main__.TestMkenums.test_with_double_quotes 1062s # glib-mkenums: /usr/bin/glib-mkenums 1062s # tmpdir: /tmp/tmpm1b4wtaf 1062s # rspfile: False 1062s # /tmp/tmpm1b4wtaf/tmp8fy7l73x.h: 1062s # typedef enum { 1062s # FOO_VALUE /*< nick="eek, a comma" >*/ 1062s # } Foo; 1062s # 1062s # /tmp/tmpm1b4wtaf/tmpunqb6s1d.template: 1062s # /*** BEGIN file-header ***/ 1062s # file-header 1062s # /*** END file-header ***/ 1062s # 1062s # /*** BEGIN file-production ***/ 1062s # file-production 1062s # filename: @filename@ 1062s # basename: @basename@ 1062s # /*** END file-production ***/ 1062s # 1062s # /*** BEGIN enumeration-production ***/ 1062s # enumeration-production 1062s # EnumName: @EnumName@ 1062s # enum_name: @enum_name@ 1062s # ENUMNAME: @ENUMNAME@ 1062s # ENUMSHORT: @ENUMSHORT@ 1062s # ENUMPREFIX: @ENUMPREFIX@ 1062s # enumsince: @enumsince@ 1062s # type: @type@ 1062s # Type: @Type@ 1062s # TYPE: @TYPE@ 1062s # /*** END enumeration-production ***/ 1062s # 1062s # /*** BEGIN value-header ***/ 1062s # value-header 1062s # EnumName: @EnumName@ 1062s # enum_name: @enum_name@ 1062s # ENUMNAME: @ENUMNAME@ 1062s # ENUMSHORT: @ENUMSHORT@ 1062s # ENUMPREFIX: @ENUMPREFIX@ 1062s # enumsince: @enumsince@ 1062s # type: @type@ 1062s # Type: @Type@ 1062s # TYPE: @TYPE@ 1062s # /*** END value-header ***/ 1062s # 1062s # /*** BEGIN value-production ***/ 1062s # value-production 1062s # VALUENAME: @VALUENAME@ 1062s # valuenick: @valuenick@ 1062s # valuenum: @valuenum@ 1062s # type: @type@ 1062s # Type: @Type@ 1062s # TYPE: @TYPE@ 1062s # /*** END value-production ***/ 1062s # 1062s # /*** BEGIN value-tail ***/ 1062s # value-tail 1062s # EnumName: @EnumName@ 1062s # enum_name: @enum_name@ 1062s # ENUMNAME: @ENUMNAME@ 1062s # ENUMSHORT: @ENUMSHORT@ 1062s # ENUMPREFIX: @ENUMPREFIX@ 1062s # enumsince: @enumsince@ 1062s # type: @type@ 1062s # Type: @Type@ 1062s # TYPE: @TYPE@ 1062s # /*** END value-tail ***/ 1062s # 1062s # /*** BEGIN comment ***/ 1062s # comment 1062s # comment: @comment@ 1062s # /*** END comment ***/ 1062s # 1062s # /*** BEGIN file-tail ***/ 1062s # file-tail 1062s # /*** END file-tail ***/ 1062s # 1062s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpm1b4wtaf/tmpunqb6s1d.template', '/tmp/tmpm1b4wtaf/tmp8fy7l73x.h'] 1062s # Return code: 0 1062s # Output: 1062s # comment 1062s # 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. 1062s # 1062s # 1062s # file-header 1062s # file-production 1062s # filename: /tmp/tmpm1b4wtaf/tmp8fy7l73x.h 1062s # basename: tmp8fy7l73x.h 1062s # enumeration-production 1062s # EnumName: Foo 1062s # enum_name: foo_ 1062s # ENUMNAME: FOO_ 1062s # ENUMSHORT: 1062s # ENUMPREFIX: FOO 1062s # enumsince: 1062s # type: enum 1062s # Type: Enum 1062s # TYPE: ENUM 1062s # value-header 1062s # EnumName: Foo 1062s # enum_name: foo_ 1062s # ENUMNAME: FOO_ 1062s # ENUMSHORT: 1062s # ENUMPREFIX: FOO 1062s # enumsince: 1062s # type: enum 1062s # Type: Enum 1062s # TYPE: ENUM 1062s # value-production 1062s # VALUENAME: FOO_VALUE 1062s # valuenick: eek, a comma 1062s # valuenum: 0 1062s # type: enum 1062s # Type: Enum 1062s # TYPE: ENUM 1062s # value-tail 1062s # EnumName: Foo 1062s # enum_name: foo_ 1062s # ENUMNAME: FOO_ 1062s # ENUMSHORT: 1062s # ENUMPREFIX: FOO 1062s # enumsince: 1062s # type: enum 1062s # Type: Enum 1062s # TYPE: ENUM 1062s # file-tail 1062s # 1062s # comment 1062s # comment: Generated data ends here 1062s # Error: 1063s ok 19 __main__.TestRspMkenums.test_available_in 1063s # glib-mkenums: /usr/bin/glib-mkenums 1063s # tmpdir: /tmp/tmpinp3ijn0 1063s # rspfile: True 1063s # /tmp/tmpinp3ijn0/tmpv76la7nv.h: 1063s # typedef enum { 1063s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1063s # } GDBusServerFlags; 1063s # 1063s # /tmp/tmpinp3ijn0/tmp07jvkvir.template: 1063s # /*** BEGIN file-header ***/ 1063s # file-header 1063s # /*** END file-header ***/ 1063s # 1063s # /*** BEGIN file-production ***/ 1063s # file-production 1063s # filename: @filename@ 1063s # basename: @basename@ 1063s # /*** END file-production ***/ 1063s # 1063s # /*** BEGIN enumeration-production ***/ 1063s # enumeration-production 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END enumeration-production ***/ 1063s # 1063s # /*** BEGIN value-header ***/ 1063s # value-header 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-header ***/ 1063s # 1063s # /*** BEGIN value-production ***/ 1063s # value-production 1063s # VALUENAME: @VALUENAME@ 1063s # valuenick: @valuenick@ 1063s # valuenum: @valuenum@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-production ***/ 1063s # 1063s # /*** BEGIN value-tail ***/ 1063s # value-tail 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-tail ***/ 1063s # 1063s # /*** BEGIN comment ***/ 1063s # comment 1063s # comment: @comment@ 1063s # /*** END comment ***/ 1063s # 1063s # /*** BEGIN file-tail ***/ 1063s # file-tail 1063s # /*** END file-tail ***/ 1063s # 1063s # Response file contains: --template /tmp/tmpinp3ijn0/tmp07jvkvir.template /tmp/tmpinp3ijn0/tmpv76la7nv.h 1063s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpinp3ijn0/tmpwake1h8g'] 1063s # Return code: 0 1063s # Output: 1063s # comment 1063s # 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. 1063s # 1063s # 1063s # file-header 1063s # file-production 1063s # filename: /tmp/tmpinp3ijn0/tmpv76la7nv.h 1063s # basename: tmpv76la7nv.h 1063s # enumeration-production 1063s # EnumName: GDBusServerFlags 1063s # enum_name: g_dbus_server_flags 1063s # ENUMNAME: G_DBUS_SERVER_FLAGS 1063s # ENUMSHORT: DBUS_SERVER_FLAGS 1063s # ENUMPREFIX: G 1063s # enumsince: 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # value-header 1063s # EnumName: GDBusServerFlags 1063s # enum_name: g_dbus_server_flags 1063s # ENUMNAME: G_DBUS_SERVER_FLAGS 1063s # ENUMSHORT: DBUS_SERVER_FLAGS 1063s # ENUMPREFIX: G 1063s # enumsince: 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # value-production 1063s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1063s # valuenick: user 1063s # valuenum: 4 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # value-tail 1063s # EnumName: GDBusServerFlags 1063s # enum_name: g_dbus_server_flags 1063s # ENUMNAME: G_DBUS_SERVER_FLAGS 1063s # ENUMSHORT: DBUS_SERVER_FLAGS 1063s # ENUMPREFIX: G 1063s # enumsince: 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # file-tail 1063s # 1063s # comment 1063s # comment: Generated data ends here 1063s # Error: 1063s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1063s # glib-mkenums: /usr/bin/glib-mkenums 1063s # tmpdir: /tmp/tmp2tljj8ew 1063s # rspfile: True 1063s # /tmp/tmp2tljj8ew/tmpx626pb4w.h: 1063s # typedef enum { 1063s # ENUM_VALUE_WITH_COMMA = ',', 1063s # } TestCommaEnum; 1063s # 1063s # /tmp/tmp2tljj8ew/tmplfx3ch28.template: 1063s # /*** BEGIN file-header ***/ 1063s # file-header 1063s # /*** END file-header ***/ 1063s # 1063s # /*** BEGIN file-production ***/ 1063s # file-production 1063s # filename: @filename@ 1063s # basename: @basename@ 1063s # /*** END file-production ***/ 1063s # 1063s # /*** BEGIN enumeration-production ***/ 1063s # enumeration-production 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END enumeration-production ***/ 1063s # 1063s # /*** BEGIN value-header ***/ 1063s # value-header 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-header ***/ 1063s # 1063s # /*** BEGIN value-production ***/ 1063s # value-production 1063s # VALUENAME: @VALUENAME@ 1063s # valuenick: @valuenick@ 1063s # valuenum: @valuenum@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-production ***/ 1063s # 1063s # /*** BEGIN value-tail ***/ 1063s # value-tail 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-tail ***/ 1063s # 1063s # /*** BEGIN comment ***/ 1063s # comment 1063s # comment: @comment@ 1063s # /*** END comment ***/ 1063s # 1063s # /*** BEGIN file-tail ***/ 1063s # file-tail 1063s # /*** END file-tail ***/ 1063s # 1063s # Response file contains: --template /tmp/tmp2tljj8ew/tmplfx3ch28.template /tmp/tmp2tljj8ew/tmpx626pb4w.h 1063s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2tljj8ew/tmp77yak9xl'] 1063s # Return code: 0 1063s # Output: 1063s # comment 1063s # 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. 1063s # 1063s # 1063s # file-header 1063s # file-production 1063s # filename: /tmp/tmp2tljj8ew/tmpx626pb4w.h 1063s # basename: tmpx626pb4w.h 1063s # enumeration-production 1063s # EnumName: TestCommaEnum 1063s # enum_name: test_comma_enum 1063s # ENUMNAME: TEST_COMMA_ENUM 1063s # ENUMSHORT: COMMA_ENUM 1063s # ENUMPREFIX: TEST 1063s # enumsince: 1063s # type: enum 1063s # Type: Enum 1063s # TYPE: ENUM 1063s # value-header 1063s # EnumName: TestCommaEnum 1063s # enum_name: test_comma_enum 1063s # ENUMNAME: TEST_COMMA_ENUM 1063s # ENUMSHORT: COMMA_ENUM 1063s # ENUMPREFIX: TEST 1063s # enumsince: 1063s # type: enum 1063s # Type: Enum 1063s # TYPE: ENUM 1063s # value-production 1063s # VALUENAME: ENUM_VALUE_WITH_COMMA 1063s # valuenick: comma 1063s # valuenum: 44 1063s # type: enum 1063s # Type: Enum 1063s # TYPE: ENUM 1063s # value-tail 1063s # EnumName: TestCommaEnum 1063s # enum_name: test_comma_enum 1063s # ENUMNAME: TEST_COMMA_ENUM 1063s # ENUMSHORT: COMMA_ENUM 1063s # ENUMPREFIX: TEST 1063s # enumsince: 1063s # type: enum 1063s # Type: Enum 1063s # TYPE: ENUM 1063s # file-tail 1063s # 1063s # comment 1063s # comment: Generated data ends here 1063s # Error: 1063s ok 21 __main__.TestRspMkenums.test_deprecated_in 1063s # glib-mkenums: /usr/bin/glib-mkenums 1063s # tmpdir: /tmp/tmp3_vxoyzw 1063s # rspfile: True 1063s # /tmp/tmp3_vxoyzw/tmptc2czyld.h: 1063s # typedef enum { 1063s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1063s # } GDBusServerFlags; 1063s # 1063s # /tmp/tmp3_vxoyzw/tmpt3mz3ch0.template: 1063s # /*** BEGIN file-header ***/ 1063s # file-header 1063s # /*** END file-header ***/ 1063s # 1063s # /*** BEGIN file-production ***/ 1063s # file-production 1063s # filename: @filename@ 1063s # basename: @basename@ 1063s # /*** END file-production ***/ 1063s # 1063s # /*** BEGIN enumeration-production ***/ 1063s # enumeration-production 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END enumeration-production ***/ 1063s # 1063s # /*** BEGIN value-header ***/ 1063s # value-header 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-header ***/ 1063s # 1063s # /*** BEGIN value-production ***/ 1063s # value-production 1063s # VALUENAME: @VALUENAME@ 1063s # valuenick: @valuenick@ 1063s # valuenum: @valuenum@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-production ***/ 1063s # 1063s # /*** BEGIN value-tail ***/ 1063s # value-tail 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-tail ***/ 1063s # 1063s # /*** BEGIN comment ***/ 1063s # comment 1063s # comment: @comment@ 1063s # /*** END comment ***/ 1063s # 1063s # /*** BEGIN file-tail ***/ 1063s # file-tail 1063s # /*** END file-tail ***/ 1063s # 1063s # Response file contains: --template /tmp/tmp3_vxoyzw/tmpt3mz3ch0.template /tmp/tmp3_vxoyzw/tmptc2czyld.h 1063s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3_vxoyzw/tmph24cr0_s'] 1063s # Return code: 0 1063s # Output: 1063s # comment 1063s # 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. 1063s # 1063s # 1063s # file-header 1063s # file-production 1063s # filename: /tmp/tmp3_vxoyzw/tmptc2czyld.h 1063s # basename: tmptc2czyld.h 1063s # enumeration-production 1063s # EnumName: GDBusServerFlags 1063s # enum_name: g_dbus_server_flags 1063s # ENUMNAME: G_DBUS_SERVER_FLAGS 1063s # ENUMSHORT: DBUS_SERVER_FLAGS 1063s # ENUMPREFIX: G 1063s # enumsince: 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # value-header 1063s # EnumName: GDBusServerFlags 1063s # enum_name: g_dbus_server_flags 1063s # ENUMNAME: G_DBUS_SERVER_FLAGS 1063s # ENUMSHORT: DBUS_SERVER_FLAGS 1063s # ENUMPREFIX: G 1063s # enumsince: 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # value-production 1063s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1063s # valuenick: user 1063s # valuenum: 4 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # value-tail 1063s # EnumName: GDBusServerFlags 1063s # enum_name: g_dbus_server_flags 1063s # ENUMNAME: G_DBUS_SERVER_FLAGS 1063s # ENUMSHORT: DBUS_SERVER_FLAGS 1063s # ENUMPREFIX: G 1063s # enumsince: 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # file-tail 1063s # 1063s # comment 1063s # comment: Generated data ends here 1063s # Error: 1063s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1063s # glib-mkenums: /usr/bin/glib-mkenums 1063s # tmpdir: /tmp/tmppvlb_ve6 1063s # rspfile: True 1063s # /tmp/tmppvlb_ve6/tmpy1a21i2k.h: 1063s # typedef enum { 1063s # 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) 1063s # } GDBusServerFlags; 1063s # 1063s # /tmp/tmppvlb_ve6/tmpww2738oq.template: 1063s # /*** BEGIN file-header ***/ 1063s # file-header 1063s # /*** END file-header ***/ 1063s # 1063s # /*** BEGIN file-production ***/ 1063s # file-production 1063s # filename: @filename@ 1063s # basename: @basename@ 1063s # /*** END file-production ***/ 1063s # 1063s # /*** BEGIN enumeration-production ***/ 1063s # enumeration-production 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END enumeration-production ***/ 1063s # 1063s # /*** BEGIN value-header ***/ 1063s # value-header 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-header ***/ 1063s # 1063s # /*** BEGIN value-production ***/ 1063s # value-production 1063s # VALUENAME: @VALUENAME@ 1063s # valuenick: @valuenick@ 1063s # valuenum: @valuenum@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-production ***/ 1063s # 1063s # /*** BEGIN value-tail ***/ 1063s # value-tail 1063s # EnumName: @EnumName@ 1063s # enum_name: @enum_name@ 1063s # ENUMNAME: @ENUMNAME@ 1063s # ENUMSHORT: @ENUMSHORT@ 1063s # ENUMPREFIX: @ENUMPREFIX@ 1063s # enumsince: @enumsince@ 1063s # type: @type@ 1063s # Type: @Type@ 1063s # TYPE: @TYPE@ 1063s # /*** END value-tail ***/ 1063s # 1063s # /*** BEGIN comment ***/ 1063s # comment 1063s # comment: @comment@ 1063s # /*** END comment ***/ 1063s # 1063s # /*** BEGIN file-tail ***/ 1063s # file-tail 1063s # /*** END file-tail ***/ 1063s # 1063s # Response file contains: --template /tmp/tmppvlb_ve6/tmpww2738oq.template /tmp/tmppvlb_ve6/tmpy1a21i2k.h 1063s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppvlb_ve6/tmp2v2cf7mg'] 1063s # Return code: 0 1063s # Output: 1063s # comment 1063s # 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. 1063s # 1063s # 1063s # file-header 1063s # file-production 1063s # filename: /tmp/tmppvlb_ve6/tmpy1a21i2k.h 1063s # basename: tmpy1a21i2k.h 1063s # enumeration-production 1063s # EnumName: GDBusServerFlags 1063s # enum_name: g_dbus_server_flags 1063s # ENUMNAME: G_DBUS_SERVER_FLAGS 1063s # ENUMSHORT: DBUS_SERVER_FLAGS 1063s # ENUMPREFIX: G 1063s # enumsince: 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # value-header 1063s # EnumName: GDBusServerFlags 1063s # enum_name: g_dbus_server_flags 1063s # ENUMNAME: G_DBUS_SERVER_FLAGS 1063s # ENUMSHORT: DBUS_SERVER_FLAGS 1063s # ENUMPREFIX: G 1063s # enumsince: 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # value-production 1063s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1063s # valuenick: user 1063s # valuenum: 4 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # value-tail 1063s # EnumName: GDBusServerFlags 1063s # enum_name: g_dbus_server_flags 1063s # ENUMNAME: G_DBUS_SERVER_FLAGS 1063s # ENUMSHORT: DBUS_SERVER_FLAGS 1063s # ENUMPREFIX: G 1063s # enumsince: 1063s # type: flags 1063s # Type: Flags 1063s # TYPE: FLAGS 1063s # file-tail 1063s # 1063s # comment 1063s # comment: Generated data ends here 1063s # Error: 1064s ok 23 __main__.TestRspMkenums.test_empty_header 1064s # glib-mkenums: /usr/bin/glib-mkenums 1064s # tmpdir: /tmp/tmpahcoh8bd 1064s # rspfile: True 1064s # /tmp/tmpahcoh8bd/tmprk7p_ave.h: 1064s # /tmp/tmpahcoh8bd/tmp4pod76tk.template: 1064s # /*** BEGIN file-header ***/ 1064s # file-header 1064s # /*** END file-header ***/ 1064s # 1064s # /*** BEGIN file-production ***/ 1064s # file-production 1064s # filename: @filename@ 1064s # basename: @basename@ 1064s # /*** END file-production ***/ 1064s # 1064s # /*** BEGIN enumeration-production ***/ 1064s # enumeration-production 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END enumeration-production ***/ 1064s # 1064s # /*** BEGIN value-header ***/ 1064s # value-header 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-header ***/ 1064s # 1064s # /*** BEGIN value-production ***/ 1064s # value-production 1064s # VALUENAME: @VALUENAME@ 1064s # valuenick: @valuenick@ 1064s # valuenum: @valuenum@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-production ***/ 1064s # 1064s # /*** BEGIN value-tail ***/ 1064s # value-tail 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-tail ***/ 1064s # 1064s # /*** BEGIN comment ***/ 1064s # comment 1064s # comment: @comment@ 1064s # /*** END comment ***/ 1064s # 1064s # /*** BEGIN file-tail ***/ 1064s # file-tail 1064s # /*** END file-tail ***/ 1064s # 1064s # Response file contains: --template /tmp/tmpahcoh8bd/tmp4pod76tk.template /tmp/tmpahcoh8bd/tmprk7p_ave.h 1064s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpahcoh8bd/tmp5m7k2tve'] 1064s # Return code: 0 1064s # Output: 1064s # comment 1064s # 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. 1064s # 1064s # 1064s # file-header 1064s # file-tail 1064s # 1064s # comment 1064s # comment: Generated data ends here 1064s # Error: 1064s ok 24 __main__.TestRspMkenums.test_empty_template 1064s # glib-mkenums: /usr/bin/glib-mkenums 1064s # tmpdir: /tmp/tmppreqniq7 1064s # rspfile: True 1064s # /tmp/tmppreqniq7/tmpbccaz5xy.template: 1064s # Response file contains: --template /tmp/tmppreqniq7/tmpbccaz5xy.template 1064s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppreqniq7/tmp5fmgxf7n'] 1064s # Return code: 0 1064s # Output: 1064s # /* 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. */ 1064s # 1064s # 1064s # /* Generated data ends here */ 1064s # Error: 1064s ok 25 __main__.TestRspMkenums.test_enum_name 1064s # glib-mkenums: /usr/bin/glib-mkenums 1064s # tmpdir: /tmp/tmpxdag8hv9 1064s # rspfile: True 1064s # /tmp/tmpxdag8hv9/tmp1ye59pz5.h: 1064s # typedef enum _SomeEnumIdentifier { 1064s # ENUM_VALUE 1064s # } SomeEnumIdentifier; 1064s # 1064s # /tmp/tmpxdag8hv9/tmpyzxlm7yh.template: 1064s # /*** BEGIN file-header ***/ 1064s # file-header 1064s # /*** END file-header ***/ 1064s # 1064s # /*** BEGIN file-production ***/ 1064s # file-production 1064s # filename: @filename@ 1064s # basename: @basename@ 1064s # /*** END file-production ***/ 1064s # 1064s # /*** BEGIN enumeration-production ***/ 1064s # enumeration-production 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END enumeration-production ***/ 1064s # 1064s # /*** BEGIN value-header ***/ 1064s # value-header 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-header ***/ 1064s # 1064s # /*** BEGIN value-production ***/ 1064s # value-production 1064s # VALUENAME: @VALUENAME@ 1064s # valuenick: @valuenick@ 1064s # valuenum: @valuenum@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-production ***/ 1064s # 1064s # /*** BEGIN value-tail ***/ 1064s # value-tail 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-tail ***/ 1064s # 1064s # /*** BEGIN comment ***/ 1064s # comment 1064s # comment: @comment@ 1064s # /*** END comment ***/ 1064s # 1064s # /*** BEGIN file-tail ***/ 1064s # file-tail 1064s # /*** END file-tail ***/ 1064s # 1064s # Response file contains: --template /tmp/tmpxdag8hv9/tmpyzxlm7yh.template /tmp/tmpxdag8hv9/tmp1ye59pz5.h 1064s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxdag8hv9/tmp8o1d6yus'] 1064s # Return code: 0 1064s # Output: 1064s # comment 1064s # 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. 1064s # 1064s # 1064s # file-header 1064s # file-production 1064s # filename: /tmp/tmpxdag8hv9/tmp1ye59pz5.h 1064s # basename: tmp1ye59pz5.h 1064s # enumeration-production 1064s # EnumName: SomeEnumIdentifier 1064s # enum_name: some_enum_identifier 1064s # ENUMNAME: SOME_ENUM_IDENTIFIER 1064s # ENUMSHORT: ENUM_IDENTIFIER 1064s # ENUMPREFIX: SOME 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-header 1064s # EnumName: SomeEnumIdentifier 1064s # enum_name: some_enum_identifier 1064s # ENUMNAME: SOME_ENUM_IDENTIFIER 1064s # ENUMSHORT: ENUM_IDENTIFIER 1064s # ENUMPREFIX: SOME 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-production 1064s # VALUENAME: ENUM_VALUE 1064s # valuenick: value 1064s # valuenum: 0 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-tail 1064s # EnumName: SomeEnumIdentifier 1064s # enum_name: some_enum_identifier 1064s # ENUMNAME: SOME_ENUM_IDENTIFIER 1064s # ENUMSHORT: ENUM_IDENTIFIER 1064s # ENUMPREFIX: SOME 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # file-tail 1064s # 1064s # comment 1064s # comment: Generated data ends here 1064s # Error: 1064s ok 26 __main__.TestRspMkenums.test_enum_private_public 1064s # glib-mkenums: /usr/bin/glib-mkenums 1064s # tmpdir: /tmp/tmpyz3bckax 1064s # rspfile: True 1064s # /tmp/tmpyz3bckax/tmpj783_8yn.h: 1064s # typedef enum { 1064s # ENUM_VALUE_PUBLIC1, 1064s # /*< private >*/ 1064s # ENUM_VALUE_PRIVATE, 1064s # } SomeEnumA 1064s # 1064s # /tmp/tmpyz3bckax/tmpnnpd4y_q.template: 1064s # /*** BEGIN file-header ***/ 1064s # file-header 1064s # /*** END file-header ***/ 1064s # 1064s # /*** BEGIN file-production ***/ 1064s # file-production 1064s # filename: @filename@ 1064s # basename: @basename@ 1064s # /*** END file-production ***/ 1064s # 1064s # /*** BEGIN enumeration-production ***/ 1064s # enumeration-production 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END enumeration-production ***/ 1064s # 1064s # /*** BEGIN value-header ***/ 1064s # value-header 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-header ***/ 1064s # 1064s # /*** BEGIN value-production ***/ 1064s # value-production 1064s # VALUENAME: @VALUENAME@ 1064s # valuenick: @valuenick@ 1064s # valuenum: @valuenum@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-production ***/ 1064s # 1064s # /*** BEGIN value-tail ***/ 1064s # value-tail 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-tail ***/ 1064s # 1064s # /*** BEGIN comment ***/ 1064s # comment 1064s # comment: @comment@ 1064s # /*** END comment ***/ 1064s # 1064s # /*** BEGIN file-tail ***/ 1064s # file-tail 1064s # /*** END file-tail ***/ 1064s # 1064s # Response file contains: --template /tmp/tmpyz3bckax/tmpnnpd4y_q.template /tmp/tmpyz3bckax/tmpj783_8yn.h 1064s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyz3bckax/tmpj4jjgp9k'] 1064s # Return code: 0 1064s # Output: 1064s # comment 1064s # 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. 1064s # 1064s # 1064s # file-header 1064s # file-production 1064s # filename: /tmp/tmpyz3bckax/tmpj783_8yn.h 1064s # basename: tmpj783_8yn.h 1064s # enumeration-production 1064s # EnumName: SomeEnumA 1064s # enum_name: some_enum_a 1064s # ENUMNAME: SOME_ENUM_A 1064s # ENUMSHORT: ENUM_A 1064s # ENUMPREFIX: SOME 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-header 1064s # EnumName: SomeEnumA 1064s # enum_name: some_enum_a 1064s # ENUMNAME: SOME_ENUM_A 1064s # ENUMSHORT: ENUM_A 1064s # ENUMPREFIX: SOME 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-production 1064s # VALUENAME: ENUM_VALUE_PUBLIC1 1064s # valuenick: public1 1064s # valuenum: 0 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-tail 1064s # EnumName: SomeEnumA 1064s # enum_name: some_enum_a 1064s # ENUMNAME: SOME_ENUM_A 1064s # ENUMSHORT: ENUM_A 1064s # ENUMPREFIX: SOME 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # file-tail 1064s # 1064s # comment 1064s # comment: Generated data ends here 1064s # Error: 1064s # 1064s # /tmp/tmpyz3bckax/tmp6u5z6xxl.h: 1064s # typedef enum { 1064s # /*< private >*/ 1064s # ENUM_VALUE_PRIVATE, 1064s # /*< public >*/ 1064s # ENUM_VALUE_PUBLIC2, 1064s # } SomeEnumB; 1064s # 1064s # /tmp/tmpyz3bckax/tmp0n35382f.template: 1064s # /*** BEGIN file-header ***/ 1064s # file-header 1064s # /*** END file-header ***/ 1064s # 1064s # /*** BEGIN file-production ***/ 1064s # file-production 1064s # filename: @filename@ 1064s # basename: @basename@ 1064s # /*** END file-production ***/ 1064s # 1064s # /*** BEGIN enumeration-production ***/ 1064s # enumeration-production 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END enumeration-production ***/ 1064s # 1064s # /*** BEGIN value-header ***/ 1064s # value-header 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-header ***/ 1064s # 1064s # /*** BEGIN value-production ***/ 1064s # value-production 1064s # VALUENAME: @VALUENAME@ 1064s # valuenick: @valuenick@ 1064s # valuenum: @valuenum@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-production ***/ 1064s # 1064s # /*** BEGIN value-tail ***/ 1064s # value-tail 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-tail ***/ 1064s # 1064s # /*** BEGIN comment ***/ 1064s # comment 1064s # comment: @comment@ 1064s # /*** END comment ***/ 1064s # 1064s # /*** BEGIN file-tail ***/ 1064s # file-tail 1064s # /*** END file-tail ***/ 1064s # 1064s # Response file contains: --template /tmp/tmpyz3bckax/tmp0n35382f.template /tmp/tmpyz3bckax/tmp6u5z6xxl.h 1064s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyz3bckax/tmp9jp3cfrj'] 1064s # Return code: 0 1064s # Output: 1064s # comment 1064s # 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. 1064s # 1064s # 1064s # file-header 1064s # file-production 1064s # filename: /tmp/tmpyz3bckax/tmp6u5z6xxl.h 1064s # basename: tmp6u5z6xxl.h 1064s # enumeration-production 1064s # EnumName: SomeEnumB 1064s # enum_name: some_enum_b 1064s # ENUMNAME: SOME_ENUM_B 1064s # ENUMSHORT: ENUM_B 1064s # ENUMPREFIX: SOME 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-header 1064s # EnumName: SomeEnumB 1064s # enum_name: some_enum_b 1064s # ENUMNAME: SOME_ENUM_B 1064s # ENUMSHORT: ENUM_B 1064s # ENUMPREFIX: SOME 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-production 1064s # VALUENAME: ENUM_VALUE_PUBLIC2 1064s # valuenick: public2 1064s # valuenum: 1 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-tail 1064s # EnumName: SomeEnumB 1064s # enum_name: some_enum_b 1064s # ENUMNAME: SOME_ENUM_B 1064s # ENUMSHORT: ENUM_B 1064s # ENUMPREFIX: SOME 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # file-tail 1064s # 1064s # comment 1064s # comment: Generated data ends here 1064s # Error: 1064s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1064s # glib-mkenums: /usr/bin/glib-mkenums 1064s # tmpdir: /tmp/tmp_3yypgsk 1064s # rspfile: True 1064s # /tmp/tmp_3yypgsk/tmp2_uwpjdu.h: 1064s # typedef enum { 1064s # /*< private >*/ 1064s # ENUM_VALUE_PRIVATE = 5, 1064s # /*< public >*/ 1064s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1064s # } TestSymbolicEnum; 1064s # 1064s # /tmp/tmp_3yypgsk/tmpc2ly_v6e.template: 1064s # /*** BEGIN file-header ***/ 1064s # file-header 1064s # /*** END file-header ***/ 1064s # 1064s # /*** BEGIN file-production ***/ 1064s # file-production 1064s # filename: @filename@ 1064s # basename: @basename@ 1064s # /*** END file-production ***/ 1064s # 1064s # /*** BEGIN enumeration-production ***/ 1064s # enumeration-production 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END enumeration-production ***/ 1064s # 1064s # /*** BEGIN value-header ***/ 1064s # value-header 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-header ***/ 1064s # 1064s # /*** BEGIN value-production ***/ 1064s # value-production 1064s # VALUENAME: @VALUENAME@ 1064s # valuenick: @valuenick@ 1064s # valuenum: @valuenum@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-production ***/ 1064s # 1064s # /*** BEGIN value-tail ***/ 1064s # value-tail 1064s # EnumName: @EnumName@ 1064s # enum_name: @enum_name@ 1064s # ENUMNAME: @ENUMNAME@ 1064s # ENUMSHORT: @ENUMSHORT@ 1064s # ENUMPREFIX: @ENUMPREFIX@ 1064s # enumsince: @enumsince@ 1064s # type: @type@ 1064s # Type: @Type@ 1064s # TYPE: @TYPE@ 1064s # /*** END value-tail ***/ 1064s # 1064s # /*** BEGIN comment ***/ 1064s # comment 1064s # comment: @comment@ 1064s # /*** END comment ***/ 1064s # 1064s # /*** BEGIN file-tail ***/ 1064s # file-tail 1064s # /*** END file-tail ***/ 1064s # 1064s # Response file contains: --template /tmp/tmp_3yypgsk/tmpc2ly_v6e.template /tmp/tmp_3yypgsk/tmp2_uwpjdu.h 1064s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_3yypgsk/tmp71qulrw6'] 1064s # Return code: 0 1064s # Output: 1064s # comment 1064s # 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. 1064s # 1064s # 1064s # file-header 1064s # file-production 1064s # filename: /tmp/tmp_3yypgsk/tmp2_uwpjdu.h 1064s # basename: tmp2_uwpjdu.h 1064s # enumeration-production 1064s # EnumName: TestSymbolicEnum 1064s # enum_name: test_symbolic_enum 1064s # ENUMNAME: TEST_SYMBOLIC_ENUM 1064s # ENUMSHORT: SYMBOLIC_ENUM 1064s # ENUMPREFIX: TEST 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-header 1064s # EnumName: TestSymbolicEnum 1064s # enum_name: test_symbolic_enum 1064s # ENUMNAME: TEST_SYMBOLIC_ENUM 1064s # ENUMSHORT: SYMBOLIC_ENUM 1064s # ENUMPREFIX: TEST 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-production 1064s # VALUENAME: ENUM_VALUE_PUBLIC 1064s # valuenick: public 1064s # valuenum: 7 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # value-tail 1064s # EnumName: TestSymbolicEnum 1064s # enum_name: test_symbolic_enum 1064s # ENUMNAME: TEST_SYMBOLIC_ENUM 1064s # ENUMSHORT: SYMBOLIC_ENUM 1064s # ENUMPREFIX: TEST 1064s # enumsince: 1064s # type: enum 1064s # Type: Enum 1064s # TYPE: ENUM 1064s # file-tail 1064s # 1064s # comment 1064s # comment: Generated data ends here 1064s # Error: 1064s # Executing: glib/mkenums.py.test 1065s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1065s # glib-mkenums: /usr/bin/glib-mkenums 1065s # tmpdir: /tmp/tmpkfkfsluv 1065s # rspfile: True 1065s # /tmp/tmpkfkfsluv/tmpu4kjxai7.template: 1065s # /*** BEGIN file-header ***/ 1065s # file-header 1065s # filename: @filename@ 1065s # basename: @basename@ 1065s # /*** END file-header ***/ 1065s # 1065s # /*** BEGIN comment ***/ 1065s # comment 1065s # comment: @comment@ 1065s # /*** END comment ***/ 1065s # 1065s # /*** BEGIN file-tail ***/ 1065s # file-tail 1065s # filename: @filename@ 1065s # basename: @basename@ 1065s # /*** END file-tail ***/ 1065s # Response file contains: --template /tmp/tmpkfkfsluv/tmpu4kjxai7.template 1065s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkfkfsluv/tmpl15ucr9t'] 1065s # Return code: 0 1065s # Output: 1065s # comment 1065s # 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. 1065s # 1065s # 1065s # file-header 1065s # filename: @filename@ 1065s # basename: @basename@ 1065s # file-tail 1065s # filename: @filename@ 1065s # basename: @basename@ 1065s # 1065s # comment 1065s # comment: Generated data ends here 1065s # Error: 1065s # WARNING: @filename@ used in file-header section. 1065s # WARNING: @basename@ used in file-header section. 1065s # WARNING: @filename@ used in file-tail section. 1065s # WARNING: @basename@ used in file-tail section. 1065s ok 29 __main__.TestRspMkenums.test_help 1065s # glib-mkenums: /usr/bin/glib-mkenums 1065s # tmpdir: /tmp/tmpemlkq7vl 1065s # rspfile: True 1065s # Response file contains: --help 1065s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpemlkq7vl/tmp133mhsfd'] 1065s # Return code: 0 1065s # Output: 1065s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1065s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1065s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1065s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1065s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1065s # [--output OUTPUT] [--version] 1065s # [args ...] 1065s # 1065s # positional arguments: 1065s # args One or more input files, or a single argument 1065s # @rspfile_path pointing to a file that contains the 1065s # actual arguments 1065s # 1065s # options: 1065s # -h, --help show this help message and exit 1065s # --identifier-prefix IDPREFIX 1065s # Identifier prefix 1065s # --symbol-prefix SYMPREFIX 1065s # Symbol prefix 1065s # --fhead FHEAD Output file header 1065s # --ftail FTAIL Output file footer 1065s # --fprod FPROD Put out TEXT every time a new input file is being 1065s # processed. 1065s # --eprod EPROD Per enum text, produced prior to value iterations 1065s # --vhead VHEAD Value header, produced before iterating over enum 1065s # values 1065s # --vprod VPROD Value text, produced for each enum value. 1065s # --vtail VTAIL Value tail, produced after iterating over enum values 1065s # --comments COMMENT_TMPL 1065s # Comment structure 1065s # --template TEMPLATE Template file 1065s # --output OUTPUT 1065s # --version, -v Print version information 1065s # 1065s # Production text substitutions: 1065s # @EnumName@ PrefixTheXEnum 1065s # @enum_name@ prefix_the_xenum 1065s # @ENUMNAME@ PREFIX_THE_XENUM 1065s # @ENUMSHORT@ THE_XENUM 1065s # @ENUMPREFIX@ PREFIX 1065s # @enumsince@ the user-provided since value given 1065s # @VALUENAME@ PREFIX_THE_XVALUE 1065s # @valuenick@ the-xvalue 1065s # @valuenum@ the integer value (limited support, Since: 2.26) 1065s # @type@ either enum or flags 1065s # @Type@ either Enum or Flags 1065s # @TYPE@ either ENUM or FLAGS 1065s # @filename@ name of current input file 1065s # @basename@ base name of the current input file (Since: 2.22) 1065s # Error: 1065s ok 30 __main__.TestRspMkenums.test_no_args 1065s # glib-mkenums: /usr/bin/glib-mkenums 1065s # tmpdir: /tmp/tmppfvydbxm 1065s # rspfile: True 1065s # Response file contains: 1065s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppfvydbxm/tmpt_73tvih'] 1065s # Return code: 0 1065s # Output: 1065s # /* 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. */ 1065s # 1065s # 1065s # /* Generated data ends here */ 1065s # Error: 1065s ok 31 __main__.TestRspMkenums.test_no_headers 1065s # glib-mkenums: /usr/bin/glib-mkenums 1065s # tmpdir: /tmp/tmpibs0xheo 1065s # rspfile: True 1065s # /tmp/tmpibs0xheo/tmp07b1vk8m.template: 1065s # /*** BEGIN file-header ***/ 1065s # file-header 1065s # /*** END file-header ***/ 1065s # 1065s # /*** BEGIN file-production ***/ 1065s # file-production 1065s # filename: @filename@ 1065s # basename: @basename@ 1065s # /*** END file-production ***/ 1065s # 1065s # /*** BEGIN enumeration-production ***/ 1065s # enumeration-production 1065s # EnumName: @EnumName@ 1065s # enum_name: @enum_name@ 1065s # ENUMNAME: @ENUMNAME@ 1065s # ENUMSHORT: @ENUMSHORT@ 1065s # ENUMPREFIX: @ENUMPREFIX@ 1065s # enumsince: @enumsince@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END enumeration-production ***/ 1065s # 1065s # /*** BEGIN value-header ***/ 1065s # value-header 1065s # EnumName: @EnumName@ 1065s # enum_name: @enum_name@ 1065s # ENUMNAME: @ENUMNAME@ 1065s # ENUMSHORT: @ENUMSHORT@ 1065s # ENUMPREFIX: @ENUMPREFIX@ 1065s # enumsince: @enumsince@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END value-header ***/ 1065s # 1065s # /*** BEGIN value-production ***/ 1065s # value-production 1065s # VALUENAME: @VALUENAME@ 1065s # valuenick: @valuenick@ 1065s # valuenum: @valuenum@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END value-production ***/ 1065s # 1065s # /*** BEGIN value-tail ***/ 1065s # value-tail 1065s # EnumName: @EnumName@ 1065s # enum_name: @enum_name@ 1065s # ENUMNAME: @ENUMNAME@ 1065s # ENUMSHORT: @ENUMSHORT@ 1065s # ENUMPREFIX: @ENUMPREFIX@ 1065s # enumsince: @enumsince@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END value-tail ***/ 1065s # 1065s # /*** BEGIN comment ***/ 1065s # comment 1065s # comment: @comment@ 1065s # /*** END comment ***/ 1065s # 1065s # /*** BEGIN file-tail ***/ 1065s # file-tail 1065s # /*** END file-tail ***/ 1065s # 1065s # Response file contains: --template /tmp/tmpibs0xheo/tmp07b1vk8m.template 1065s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpibs0xheo/tmp3kbv7bm8'] 1065s # Return code: 0 1065s # Output: 1065s # comment 1065s # 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. 1065s # 1065s # 1065s # file-header 1065s # file-tail 1065s # 1065s # comment 1065s # comment: Generated data ends here 1065s # Error: 1065s ok 32 __main__.TestRspMkenums.test_no_nick 1065s # glib-mkenums: /usr/bin/glib-mkenums 1065s # tmpdir: /tmp/tmpkvjcsma0 1065s # rspfile: True 1065s # /tmp/tmpkvjcsma0/tmp6je7kyla.h: 1065s # typedef enum { 1065s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1065s # } GeglSamplerType; 1065s # 1065s # /tmp/tmpkvjcsma0/tmp2bohikir.template: 1065s # /*** BEGIN file-header ***/ 1065s # file-header 1065s # /*** END file-header ***/ 1065s # 1065s # /*** BEGIN file-production ***/ 1065s # file-production 1065s # filename: @filename@ 1065s # basename: @basename@ 1065s # /*** END file-production ***/ 1065s # 1065s # /*** BEGIN enumeration-production ***/ 1065s # enumeration-production 1065s # EnumName: @EnumName@ 1065s # enum_name: @enum_name@ 1065s # ENUMNAME: @ENUMNAME@ 1065s # ENUMSHORT: @ENUMSHORT@ 1065s # ENUMPREFIX: @ENUMPREFIX@ 1065s # enumsince: @enumsince@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END enumeration-production ***/ 1065s # 1065s # /*** BEGIN value-header ***/ 1065s # value-header 1065s # EnumName: @EnumName@ 1065s # enum_name: @enum_name@ 1065s # ENUMNAME: @ENUMNAME@ 1065s # ENUMSHORT: @ENUMSHORT@ 1065s # ENUMPREFIX: @ENUMPREFIX@ 1065s # enumsince: @enumsince@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END value-header ***/ 1065s # 1065s # /*** BEGIN value-production ***/ 1065s # value-production 1065s # VALUENAME: @VALUENAME@ 1065s # valuenick: @valuenick@ 1065s # valuenum: @valuenum@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END value-production ***/ 1065s # 1065s # /*** BEGIN value-tail ***/ 1065s # value-tail 1065s # EnumName: @EnumName@ 1065s # enum_name: @enum_name@ 1065s # ENUMNAME: @ENUMNAME@ 1065s # ENUMSHORT: @ENUMSHORT@ 1065s # ENUMPREFIX: @ENUMPREFIX@ 1065s # enumsince: @enumsince@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END value-tail ***/ 1065s # 1065s # /*** BEGIN comment ***/ 1065s # comment 1065s # comment: @comment@ 1065s # /*** END comment ***/ 1065s # 1065s # /*** BEGIN file-tail ***/ 1065s # file-tail 1065s # /*** END file-tail ***/ 1065s # 1065s # Response file contains: --template /tmp/tmpkvjcsma0/tmp2bohikir.template /tmp/tmpkvjcsma0/tmp6je7kyla.h 1065s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkvjcsma0/tmplnr7b1d8'] 1065s # Return code: 0 1065s # Output: 1065s # comment 1065s # 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. 1065s # 1065s # 1065s # file-header 1065s # file-production 1065s # filename: /tmp/tmpkvjcsma0/tmp6je7kyla.h 1065s # basename: tmp6je7kyla.h 1065s # enumeration-production 1065s # EnumName: GeglSamplerType 1065s # enum_name: gegl_sampler_type 1065s # ENUMNAME: GEGL_SAMPLER_TYPE 1065s # ENUMSHORT: SAMPLER_TYPE 1065s # ENUMPREFIX: GEGL 1065s # enumsince: 1065s # type: enum 1065s # Type: Enum 1065s # TYPE: ENUM 1065s # value-header 1065s # EnumName: GeglSamplerType 1065s # enum_name: gegl_sampler_type 1065s # ENUMNAME: GEGL_SAMPLER_TYPE 1065s # ENUMSHORT: SAMPLER_TYPE 1065s # ENUMPREFIX: GEGL 1065s # enumsince: 1065s # type: enum 1065s # Type: Enum 1065s # TYPE: ENUM 1065s # value-production 1065s # VALUENAME: GEGL_SAMPLER_NEAREST 1065s # valuenick: nearest 1065s # valuenum: 0 1065s # type: enum 1065s # Type: Enum 1065s # TYPE: ENUM 1065s # value-tail 1065s # EnumName: GeglSamplerType 1065s # enum_name: gegl_sampler_type 1065s # ENUMNAME: GEGL_SAMPLER_TYPE 1065s # ENUMSHORT: SAMPLER_TYPE 1065s # ENUMPREFIX: GEGL 1065s # enumsince: 1065s # type: enum 1065s # Type: Enum 1065s # TYPE: ENUM 1065s # file-tail 1065s # 1065s # comment 1065s # comment: Generated data ends here 1065s # Error: 1065s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1065s # glib-mkenums: /usr/bin/glib-mkenums 1065s # tmpdir: /tmp/tmp_xgvu6u0 1065s # rspfile: True 1065s # /tmp/tmp_xgvu6u0/tmpad87a4q3.h: 1065s # /* Copyright © La Peña */ 1065s # typedef enum { 1065s # ENUM_VALUE 1065s # } SomeEnumIdentifier; 1065s # 1065s # /tmp/tmp_xgvu6u0/tmp9uf66arz.template: 1065s # /*** BEGIN file-header ***/ 1065s # file-header 1065s # /*** END file-header ***/ 1065s # 1065s # /*** BEGIN file-production ***/ 1065s # file-production 1065s # filename: @filename@ 1065s # basename: @basename@ 1065s # /*** END file-production ***/ 1065s # 1065s # /*** BEGIN enumeration-production ***/ 1065s # enumeration-production 1065s # EnumName: @EnumName@ 1065s # enum_name: @enum_name@ 1065s # ENUMNAME: @ENUMNAME@ 1065s # ENUMSHORT: @ENUMSHORT@ 1065s # ENUMPREFIX: @ENUMPREFIX@ 1065s # enumsince: @enumsince@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END enumeration-production ***/ 1065s # 1065s # /*** BEGIN value-header ***/ 1065s # value-header 1065s # EnumName: @EnumName@ 1065s # enum_name: @enum_name@ 1065s # ENUMNAME: @ENUMNAME@ 1065s # ENUMSHORT: @ENUMSHORT@ 1065s # ENUMPREFIX: @ENUMPREFIX@ 1065s # enumsince: @enumsince@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END value-header ***/ 1065s # 1065s # /*** BEGIN value-production ***/ 1065s # value-production 1065s # VALUENAME: @VALUENAME@ 1065s # valuenick: @valuenick@ 1065s # valuenum: @valuenum@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END value-production ***/ 1065s # 1065s # /*** BEGIN value-tail ***/ 1065s # value-tail 1065s # EnumName: @EnumName@ 1065s # enum_name: @enum_name@ 1065s # ENUMNAME: @ENUMNAME@ 1065s # ENUMSHORT: @ENUMSHORT@ 1065s # ENUMPREFIX: @ENUMPREFIX@ 1065s # enumsince: @enumsince@ 1065s # type: @type@ 1065s # Type: @Type@ 1065s # TYPE: @TYPE@ 1065s # /*** END value-tail ***/ 1065s # 1065s # /*** BEGIN comment ***/ 1065s # comment 1065s # comment: @comment@ 1065s # /*** END comment ***/ 1065s # 1065s # /*** BEGIN file-tail ***/ 1065s # file-tail 1065s # /*** END file-tail ***/ 1065s # 1065s # Response file contains: --template /tmp/tmp_xgvu6u0/tmp9uf66arz.template /tmp/tmp_xgvu6u0/tmpad87a4q3.h 1065s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_xgvu6u0/tmpuwuubz2h'] 1065s # Return code: 0 1065s # Output: 1065s # comment 1065s # 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. 1065s # 1065s # 1065s # file-header 1065s # file-production 1065s # filename: /tmp/tmp_xgvu6u0/tmpad87a4q3.h 1065s # basename: tmpad87a4q3.h 1065s # enumeration-production 1065s # EnumName: SomeEnumIdentifier 1065s # enum_name: some_enum_identifier 1065s # ENUMNAME: SOME_ENUM_IDENTIFIER 1065s # ENUMSHORT: ENUM_IDENTIFIER 1065s # ENUMPREFIX: SOME 1065s # enumsince: 1065s # type: enum 1065s # Type: Enum 1065s # TYPE: ENUM 1065s # value-header 1065s # EnumName: SomeEnumIdentifier 1065s # enum_name: some_enum_identifier 1065s # ENUMNAME: SOME_ENUM_IDENTIFIER 1065s # ENUMSHORT: ENUM_IDENTIFIER 1065s # ENUMPREFIX: SOME 1065s # enumsince: 1065s # type: enum 1065s # Type: Enum 1065s # TYPE: ENUM 1065s # value-production 1065s # VALUENAME: ENUM_VALUE 1065s # valuenick: value 1065s # valuenum: 0 1065s # type: enum 1065s # Type: Enum 1065s # TYPE: ENUM 1065s # value-tail 1065s # EnumName: SomeEnumIdentifier 1065s # enum_name: some_enum_identifier 1065s # ENUMNAME: SOME_ENUM_IDENTIFIER 1065s # ENUMSHORT: ENUM_IDENTIFIER 1065s # ENUMPREFIX: SOME 1065s # enumsince: 1065s # type: enum 1065s # Type: Enum 1065s # TYPE: ENUM 1065s # file-tail 1065s # 1065s # comment 1065s # comment: Generated data ends here 1065s # Error: 1065s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1065s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1065s ok 34 __main__.TestRspMkenums.test_reproducible 1065s # glib-mkenums: /usr/bin/glib-mkenums 1065s # tmpdir: /tmp/tmp4oepbuvi 1065s # rspfile: True 1065s # /tmp/tmp4oepbuvi/tmph57d6u3m.template: template 1065s # Response file contains: --template /tmp/tmp4oepbuvi/tmph57d6u3m.template /tmp/tmp4oepbuvi/tmp5jgcn_dt1.h /tmp/tmp4oepbuvi/tmpkksxckbw2.h 1065s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4oepbuvi/tmp23n3cmro'] 1065s # Return code: 0 1065s # Output: 1065s # /* 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. */ 1065s # 1065s # 1065s # /* Generated data ends here */ 1065s # Error: 1065s # 1065s # /tmp/tmp4oepbuvi/tmp4mzu_qjv.template: template 1065s # Response file contains: --template /tmp/tmp4oepbuvi/tmp4mzu_qjv.template /tmp/tmp4oepbuvi/tmpkksxckbw2.h /tmp/tmp4oepbuvi/tmp5jgcn_dt1.h 1065s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4oepbuvi/tmp47fuwf43'] 1065s # Return code: 0 1065s # Output: 1065s # /* 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. */ 1065s # 1065s # 1065s # /* Generated data ends here */ 1065s # Error: 1066s ok 35 __main__.TestRspMkenums.test_since 1066s # glib-mkenums: /usr/bin/glib-mkenums 1066s # tmpdir: /tmp/tmpwund57p1 1066s # rspfile: True 1066s # /tmp/tmpwund57p1/tmprtl6_jbq.h: 1066s # typedef enum { /*< since=1.0 >*/ 1066s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1066s # } QmiWmsMessageProtocol; 1066s # 1066s # /tmp/tmpwund57p1/tmpog534qyr.template: 1066s # /*** BEGIN file-header ***/ 1066s # file-header 1066s # /*** END file-header ***/ 1066s # 1066s # /*** BEGIN file-production ***/ 1066s # file-production 1066s # filename: @filename@ 1066s # basename: @basename@ 1066s # /*** END file-production ***/ 1066s # 1066s # /*** BEGIN enumeration-production ***/ 1066s # enumeration-production 1066s # EnumName: @EnumName@ 1066s # enum_name: @enum_name@ 1066s # ENUMNAME: @ENUMNAME@ 1066s # ENUMSHORT: @ENUMSHORT@ 1066s # ENUMPREFIX: @ENUMPREFIX@ 1066s # enumsince: @enumsince@ 1066s # type: @type@ 1066s # Type: @Type@ 1066s # TYPE: @TYPE@ 1066s # /*** END enumeration-production ***/ 1066s # 1066s # /*** BEGIN value-header ***/ 1066s # value-header 1066s # EnumName: @EnumName@ 1066s # enum_name: @enum_name@ 1066s # ENUMNAME: @ENUMNAME@ 1066s # ENUMSHORT: @ENUMSHORT@ 1066s # ENUMPREFIX: @ENUMPREFIX@ 1066s # enumsince: @enumsince@ 1066s # type: @type@ 1066s # Type: @Type@ 1066s # TYPE: @TYPE@ 1066s # /*** END value-header ***/ 1066s # 1066s # /*** BEGIN value-production ***/ 1066s # value-production 1066s # VALUENAME: @VALUENAME@ 1066s # valuenick: @valuenick@ 1066s # valuenum: @valuenum@ 1066s # type: @type@ 1066s # Type: @Type@ 1066s # TYPE: @TYPE@ 1066s # /*** END value-production ***/ 1066s # 1066s # /*** BEGIN value-tail ***/ 1066s # value-tail 1066s # EnumName: @EnumName@ 1066s # enum_name: @enum_name@ 1066s # ENUMNAME: @ENUMNAME@ 1066s # ENUMSHORT: @ENUMSHORT@ 1066s # ENUMPREFIX: @ENUMPREFIX@ 1066s # enumsince: @enumsince@ 1066s # type: @type@ 1066s # Type: @Type@ 1066s # TYPE: @TYPE@ 1066s # /*** END value-tail ***/ 1066s # 1066s # /*** BEGIN comment ***/ 1066s # comment 1066s # comment: @comment@ 1066s # /*** END comment ***/ 1066s # 1066s # /*** BEGIN file-tail ***/ 1066s # file-tail 1066s # /*** END file-tail ***/ 1066s # 1066s # Response file contains: --template /tmp/tmpwund57p1/tmpog534qyr.template /tmp/tmpwund57p1/tmprtl6_jbq.h 1066s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwund57p1/tmpdouuuxow'] 1066s # Return code: 0 1066s # Output: 1066s # comment 1066s # 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. 1066s # 1066s # 1066s # file-header 1066s # file-production 1066s # filename: /tmp/tmpwund57p1/tmprtl6_jbq.h 1066s # basename: tmprtl6_jbq.h 1066s # enumeration-production 1066s # EnumName: QmiWmsMessageProtocol 1066s # enum_name: qmi_wms_message_protocol 1066s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1066s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1066s # ENUMPREFIX: QMI 1066s # enumsince: 1.0 1066s # type: enum 1066s # Type: Enum 1066s # TYPE: ENUM 1066s # value-header 1066s # EnumName: QmiWmsMessageProtocol 1066s # enum_name: qmi_wms_message_protocol 1066s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1066s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1066s # ENUMPREFIX: QMI 1066s # enumsince: 1.0 1066s # type: enum 1066s # Type: Enum 1066s # TYPE: ENUM 1066s # value-production 1066s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1066s # valuenick: cdma 1066s # valuenum: 0 1066s # type: enum 1066s # Type: Enum 1066s # TYPE: ENUM 1066s # value-tail 1066s # EnumName: QmiWmsMessageProtocol 1066s # enum_name: qmi_wms_message_protocol 1066s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1066s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1066s # ENUMPREFIX: QMI 1066s # enumsince: 1.0 1066s # type: enum 1066s # Type: Enum 1066s # TYPE: ENUM 1066s # file-tail 1066s # 1066s # comment 1066s # comment: Generated data ends here 1066s # Error: 1066s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1066s # glib-mkenums: /usr/bin/glib-mkenums 1066s # tmpdir: /tmp/tmpnkxqwg63 1066s # rspfile: True 1066s # /tmp/tmpnkxqwg63/tmpqvtnx8k3.h: 1066s # typedef enum { 1066s # FOO_VALUE /*< nick="eek, a comma" >*/ 1066s # } Foo; 1066s # 1066s # /tmp/tmpnkxqwg63/tmpnjugl_wt.template: 1066s # /*** BEGIN file-header ***/ 1066s # file-header 1066s # /*** END file-header ***/ 1066s # 1066s # /*** BEGIN file-production ***/ 1066s # file-production 1066s # filename: @filename@ 1066s # basename: @basename@ 1066s # /*** END file-production ***/ 1066s # 1066s # /*** BEGIN enumeration-production ***/ 1066s # enumeration-production 1066s # EnumName: @EnumName@ 1066s # enum_name: @enum_name@ 1066s # ENUMNAME: @ENUMNAME@ 1066s # ENUMSHORT: @ENUMSHORT@ 1066s # ENUMPREFIX: @ENUMPREFIX@ 1066s # enumsince: @enumsince@ 1066s # type: @type@ 1066s # Type: @Type@ 1066s # TYPE: @TYPE@ 1066s # /*** END enumeration-production ***/ 1066s # 1066s # /*** BEGIN value-header ***/ 1066s # value-header 1066s # EnumName: @EnumName@ 1066s # enum_name: @enum_name@ 1066s # ENUMNAME: @ENUMNAME@ 1066s # ENUMSHORT: @ENUMSHORT@ 1066s # ENUMPREFIX: @ENUMPREFIX@ 1066s # enumsince: @enumsince@ 1066s # type: @type@ 1066s # Type: @Type@ 1066s # TYPE: @TYPE@ 1066s # /*** END value-header ***/ 1066s # 1066s # /*** BEGIN value-production ***/ 1066s # value-production 1066s # VALUENAME: @VALUENAME@ 1066s # valuenick: @valuenick@ 1066s # valuenum: @valuenum@ 1066s # type: @type@ 1066s # Type: @Type@ 1066s # TYPE: @TYPE@ 1066s # /*** END value-production ***/ 1066s # 1066s # /*** BEGIN value-tail ***/ 1066s # value-tail 1066s # EnumName: @EnumName@ 1066s # enum_name: @enum_name@ 1066s # ENUMNAME: @ENUMNAME@ 1066s # ENUMSHORT: @ENUMSHORT@ 1066s # ENUMPREFIX: @ENUMPREFIX@ 1066s # enumsince: @enumsince@ 1066s # type: @type@ 1066s # Type: @Type@ 1066s # TYPE: @TYPE@ 1066s # /*** END value-tail ***/ 1066s # 1066s # /*** BEGIN comment ***/ 1066s # comment 1066s # comment: @comment@ 1066s # /*** END comment ***/ 1066s # 1066s # /*** BEGIN file-tail ***/ 1066s # file-tail 1066s # /*** END file-tail ***/ 1066s # 1066s # Response file contains: --template /tmp/tmpnkxqwg63/tmpnjugl_wt.template /tmp/tmpnkxqwg63/tmpqvtnx8k3.h 1066s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnkxqwg63/tmpgfhye2ok'] 1066s # Return code: 0 1066s # Output: 1066s # comment 1066s # 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. 1066s # 1066s # 1066s # file-header 1066s # file-production 1066s # filename: /tmp/tmpnkxqwg63/tmpqvtnx8k3.h 1066s # basename: tmpqvtnx8k3.h 1066s # enumeration-production 1066s # EnumName: Foo 1066s # enum_name: foo_ 1066s # ENUMNAME: FOO_ 1066s # ENUMSHORT: 1066s # ENUMPREFIX: FOO 1066s # enumsince: 1066s # type: enum 1066s # Type: Enum 1066s # TYPE: ENUM 1066s # value-header 1066s # EnumName: Foo 1066s # enum_name: foo_ 1066s # ENUMNAME: FOO_ 1066s # ENUMSHORT: 1066s # ENUMPREFIX: FOO 1066s # enumsince: 1066s # type: enum 1066s # Type: Enum 1066s # TYPE: ENUM 1066s # value-production 1066s # VALUENAME: FOO_VALUE 1066s # valuenick: eek, a comma 1066s # valuenum: 0 1066s # type: enum 1066s # Type: Enum 1066s # TYPE: ENUM 1066s # value-tail 1066s # EnumName: Foo 1066s # enum_name: foo_ 1066s # ENUMNAME: FOO_ 1066s # ENUMSHORT: 1066s # ENUMPREFIX: FOO 1066s # enumsince: 1066s # type: enum 1066s # Type: Enum 1066s # TYPE: ENUM 1066s # file-tail 1066s # 1066s # comment 1066s # comment: Generated data ends here 1066s # Error: 1066s 1..36 1066s TAP version 14 1066s # random seed: R02Sd286bd5592dc3ae8567a6f364ef1bc57 1066s 1..9 1066s # Start of unicode tests 1066s # Start of collate tests 1066s ok 1 /unicode/collate/0 1066s ok 2 /unicode/collate/1 1066s ok 3 /unicode/collate/2 1066s # End of collate tests 1066s # Start of collate-key tests 1066s ok 4 /unicode/collate-key/0 1066s ok 5 /unicode/collate-key/1 1066s ok 6 /unicode/collate-key/2 1066s # End of collate-key tests 1066s # Start of collate-filename tests 1066s ok 7 /unicode/collate-filename/0 1066s ok 8 /unicode/collate-filename/1 1066s ok 9 /unicode/collate-filename/2 1066s # End of collate-filename tests 1066s # End of unicode tests 1066s TAP version 14 1066s # random seed: R02S2c863c1e6f0b6588174e80266e04a887 1066s 1..9 1066s # Start of glib tests 1066s # Start of testing tests 1066s # Start of protocol tests 1066s ok 1 /glib/testing/protocol/debug 1066s ok 2 /glib/testing/protocol/info 1066s ok 3 /glib/testing/protocol/message 1066s ok 4 /glib/testing/protocol/warning 1066s ok 5 /glib/testing/protocol/critical 1066s ok 6 /glib/testing/protocol/error 1066s ok 7 /glib/testing/protocol/gtest-message 1066s ok 8 /glib/testing/protocol/test-message 1066s ok - glib/mkenums.py.test 1066s # Running test: glib/collate.test 1066s ok - glib/collate.test 1066s # Running test: glib/protocol.test 1066s ok 9 /glib/testing/protocol/test-error 1066s # End of protocol tests 1066s # End of testing tests 1066s # End of glib tests 1066s ok - glib/protocol.test 1066s # Running test: glib/live-g-file.test 1066s TAP version 14 1066s # random seed: R02Saf8081f2ec1ddce9313594800ae13715 1066s 1..13 1066s # Start of live-g-file tests 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/prep_clean_structure/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/prep_clean_structure/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/prep_clean_structure/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/prep_clean_structure/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/prep_clean_structure/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/prep_clean_structure/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/prep_clean_structure/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/prep_clean_structure/.dirs/runtime 1066s # Cleaning target testing structure in '/tmp/test_live-g-file_G36PJ3/testdir_live-g-file'... 1066s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1066s ok 1 /live-g-file/prep_clean_structure 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/create_structure/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/create_structure/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/create_structure/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/create_structure/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/create_structure/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/create_structure/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/create_structure/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/create_structure/.dirs/runtime 1066s # 1066s # Going to create testing structure in '/tmp/test_live-g-file_G36PJ3/testdir_live-g-file'... 1066s # Creating directory 'dir1'... 1066s # Creating directory 'dir1/subdir'... 1066s # Creating directory 'dir2'... 1066s # Creating directory 'dir-target'... 1066s # Creating directory 'dir_no-access'... 1066s # Creating directory 'dir_no-write'... 1066s # Creating file 'target-file'... 1066s # Creating file 'normal_file'... 1066s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1066s # Creating file 'executable_file'... 1066s # Creating file 'private_file'... 1066s # Creating file 'normal_file2'... 1066s # Creating file 'readonly_file'... 1066s # Creating file 'UTF_příliš z'... 1066s # Creating directory 'dir_příliš z'... 1066s # Creating symlink 'lost_symlink' --> 'nowhere'... 1066s # Creating directory 'dir_hidden'... 1066s # Creating file 'dir_hidden/.a-hidden-file'... 1066s # Creating file 'dir_hidden/file-in-.hidden1'... 1066s # Creating file 'dir_hidden/file-in-.hidden2'... 1066s # Creating pattern file... 1066s # done. 1066s ok 2 /live-g-file/create_structure 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_initial_structure/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_initial_structure/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_initial_structure/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_initial_structure/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_initial_structure/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_initial_structure/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_initial_structure/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/test_initial_structure/.dirs/runtime 1066s # Testing sample structure in '/tmp/test_live-g-file_G36PJ3/testdir_live-g-file'... 1066s # Testing file 'dir1'... 1066s # Testing file 'dir1/subdir'... 1066s # Testing file 'dir2'... 1066s # Testing file 'dir-target'... 1066s # Testing file 'dir_no-access'... 1066s # Testing file 'dir_no-write'... 1066s # Testing file 'target-file'... 1066s # Testing file 'normal_file'... 1066s # Testing file 'normal_file-symlink'... 1066s # Testing file 'executable_file'... 1066s # Testing file 'private_file'... 1066s # Testing file 'normal_file2'... 1066s # Testing file 'readonly_file'... 1066s # Testing file 'UTF_příliš z'... 1066s # Testing file 'dir_příliš z'... 1066s # Testing file 'lost_symlink'... 1066s # Testing file 'dir_hidden'... 1066s # Testing file 'dir_hidden/.a-hidden-file'... 1066s # Testing file 'dir_hidden/file-in-.hidden1'... 1066s # Testing file 'dir_hidden/file-in-.hidden2'... 1066s # Testing pattern file... 1066s # read 65536 bytes, total = 65536 of 65536. 1066s ok 3 /live-g-file/test_initial_structure 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_traverse_structure/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_traverse_structure/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_traverse_structure/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_traverse_structure/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_traverse_structure/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_traverse_structure/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_traverse_structure/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/test_traverse_structure/.dirs/runtime 1066s # Traversing through the sample structure in '/tmp/test_live-g-file_G36PJ3/testdir_live-g-file'... 1066s # Found file dir1, relative to root: dir1 1066s # Found file subdir, relative to root: dir1/subdir 1066s # Found file dir2, relative to root: dir2 1066s # Found file dir-target, relative to root: dir-target 1066s # Found file dir_no-access, relative to root: dir_no-access 1066s # Found file dir_no-write, relative to root: dir_no-write 1066s # Found file target-file, relative to root: target-file 1066s # Found file normal_file, relative to root: normal_file 1066s # Found file normal_file-symlink, relative to root: normal_file-symlink 1066s # Found file executable_file, relative to root: executable_file 1066s # Found file private_file, relative to root: private_file 1066s # Found file normal_file2, relative to root: normal_file2 1066s # Found file readonly_file, relative to root: readonly_file 1066s # Found file UTF_příliš z, relative to root: UTF_příliš z 1066s # Found file dir_příliš z, relative to root: dir_příliš z 1066s # Found file lost_symlink, relative to root: lost_symlink 1066s # Found file dir_hidden, relative to root: dir_hidden 1066s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1066s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1066s # Found file .hidden, relative to root: dir_hidden/.hidden 1066s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1066s # Found file pattern_file, relative to root: pattern_file 1066s ok 4 /live-g-file/test_traverse_structure 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_enumerate/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_enumerate/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_enumerate/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_enumerate/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_enumerate/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_enumerate/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_enumerate/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/test_enumerate/.dirs/runtime 1066s # Test enumerate '/tmp/test_live-g-file_G36PJ3/testdir_live-g-file'... 1066s # Testing file 'dir_no-access' 1066s # Testing file 'normal_file' 1066s # Testing file 'normal_file-symlink' 1066s # Testing file 'not_exists' 1066s # Testing file 'not_exists' 1066s # Testing file 'not_exists2' 1066s # Testing file 'not_exists3' 1066s # Testing file 'not_exists4' 1066s # Testing file 'dir_no-execute/file' 1066s ok 5 /live-g-file/test_enumerate 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_open/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_open/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_open/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_open/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_open/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_open/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_open/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/test_open/.dirs/runtime 1066s # test_open: 'dir1' 1066s # test_open: 'dir_no-access' 1066s # test_open: 'target-file' 1066s # test_open: 'normal_file-symlink' 1066s # test_open: 'executable_file' 1066s # test_open: 'private_file' 1066s # test_open: 'readonly_file' 1066s # test_open: 'UTF_příliš z' 1066s # test_open: 'pattern_file' 1066s # test_open: 'not_exists' 1066s # test_open: 'dir_no-execute/file' 1066s # test_open: 'lost_symlink' 1066s ok 6 /live-g-file/test_open 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_create/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_create/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_create/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_create/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_create/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_create/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_create/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/test_create/.dirs/runtime 1066s # test_create: 'dir1' 1066s # error code 3 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir1”: Is a directory 1066s # test_create: 'dir1/subdir' 1066s # error code 3 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir1/subdir”: Is a directory 1066s # test_create: 'dir2' 1066s # error code 2 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir2”: File exists 1066s # test_create: 'normal_file' 1066s # error code 2 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/normal_file”: File exists 1066s # test_create: 'executable_file' 1066s # test_create: 'private_file' 1066s # test_create: 'normal_file2' 1066s # test_create: 'UTF_příliš z' 1066s # error code 2 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/UTF_příliš z”: File exists 1066s # test_create: 'dir_příliš z' 1066s # error code 2 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_příliš z”: File exists 1066s # test_create: 'pattern_file' 1066s # test_create: 'not_exists2' 1066s # test_create: 'not_exists3' 1066s # test_create: 'not_exists4' 1066s ok 7 /live-g-file/test_create 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_copy_move/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_copy_move/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_copy_move/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_copy_move/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_copy_move/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_copy_move/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_copy_move/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/test_copy_move/.dirs/runtime 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1066s # res = 0, error code 25 = Can’t recursively copy directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir1/subdir' --> '.' 1066s # res = 0, error code 2 = Target file exists 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir1/subdir' --> 'target-file' 1066s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1066s # res = 0, error code 25 = Can’t recursively copy directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1066s # res = 0, error code 25 = Can’t recursively copy directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1066s # res = 0, error code 25 = Can’t recursively copy directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir2' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir-target' --> 'dir-target' 1066s # res = 0, error code 25 = Can’t recursively copy directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir-target' --> '.' 1066s # res = 0, error code 2 = Target file exists 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir-target' --> 'target-file' 1066s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file/dir-target”: Not a directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir-target' --> 'not_exists' 1066s # res = 0, error code 25 = Can’t recursively copy directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir-target' --> 'dir_no-access' 1066s # res = 0, error code 25 = Can’t recursively copy directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'dir-target' --> 'dir_no-write' 1066s # res = 0, error code 25 = Can’t recursively copy directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'target-file' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'target-file' --> '.' 1066s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file”: File exists 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'target-file' --> 'target-file' 1066s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file/target-file”: Not a directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'target-file' --> 'not_exists' 1066s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists/target-file”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'target-file' --> 'dir_no-access' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'target-file' --> 'dir_no-write' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file-symlink' --> '.' 1066s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/normal_file-symlink: File exists 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1066s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1066s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1066s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1066s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'executable_file' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'executable_file' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'executable_file' --> '.' 1066s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/executable_file”: File exists 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'executable_file' --> 'target-file' 1066s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file/executable_file”: Not a directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'executable_file' --> 'not_exists' 1066s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'executable_file' --> 'dir_no-access' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'executable_file' --> 'dir_no-write' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'private_file' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'private_file' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'private_file' --> '.' 1066s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/private_file”: File exists 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'private_file' --> 'target-file' 1066s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file/private_file”: Not a directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'private_file' --> 'not_exists' 1066s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists/private_file”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'private_file' --> 'dir_no-access' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'private_file' --> 'dir_no-write' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file2' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file2' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file2' --> '.' 1066s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/normal_file2”: File exists 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file2' --> 'target-file' 1066s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file/normal_file2”: Not a directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file2' --> 'not_exists' 1066s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'UTF_příliš z' --> '.' 1066s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/UTF_příliš z”: File exists 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'UTF_příliš z' --> 'target-file' 1066s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 1066s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'pattern_file' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'pattern_file' --> '.' 1066s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/pattern_file”: File exists 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'pattern_file' --> 'target-file' 1066s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file/pattern_file”: Not a directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'pattern_file' --> 'not_exists' 1066s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1066s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'not_exists' --> 'dir-target' 1066s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'not_exists' --> '.' 1066s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'not_exists' --> 'target-file' 1066s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'not_exists' --> 'not_exists' 1066s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'not_exists' --> 'dir_no-access' 1066s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'not_exists' --> 'dir_no-write' 1066s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists”: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'not_exists' --> 'dir-target' 1066s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'lost_symlink' --> 'dir-target' 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'lost_symlink' --> '.' 1066s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/lost_symlink: File exists 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'lost_symlink' --> 'target-file' 1066s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/target-file/lost_symlink: Not a directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'lost_symlink' --> 'not_exists' 1066s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1066s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1066s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1066s ok 8 /live-g-file/test_copy_move 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_delete/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_delete/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_delete/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_delete/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_delete/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_delete/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_delete/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/test_delete/.dirs/runtime 1066s # Deleting dir1, path = /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir1 1066s # result = 0, error = Error removing file /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir1: Directory not empty 1066s # Deleting dir2, path = /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir2 1066s # result = 0, error = Error removing file /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir2: No such file or directory 1066s # Deleting executable_file, path = /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/executable_file 1066s # result = 0, error = Error trashing file /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/executable_file: No such file or directory 1066s # Deleting readonly_file, path = /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/readonly_file 1066s # Deleting dir_příliš z, path = /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_příliš z 1066s # Deleting not_exists, path = /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists 1066s # result = 0, error = Error removing file /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists: No such file or directory 1066s # Deleting not_exists, path = /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists 1066s # result = 0, error = Error trashing file /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/not_exists: No such file or directory 1066s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-execute/file 1066s # result = 0, error = Error removing file /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/dir_no-execute/file: No such file or directory 1066s # Deleting lost_symlink, path = /tmp/test_live-g-file_G36PJ3/testdir_live-g-file/lost_symlink 1066s ok - glib/live-g-file.test 1066s # Running test: glib/gdbus-close-pending.test 1066s ok 9 /live-g-file/test_delete 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_make_directory_with_parents/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_make_directory_with_parents/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_make_directory_with_parents/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_make_directory_with_parents/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_make_directory_with_parents/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/test_make_directory_with_parents/.dirs/runtime 1066s # We do not have CAP_DAC_OVERRIDE or equivalent 1066s ok 10 /live-g-file/test_make_directory_with_parents 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/final_clean/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/final_clean/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/final_clean/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/final_clean/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/final_clean/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/final_clean/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/final_clean/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/final_clean/.dirs/runtime 1066s # Cleaning target testing structure in '/tmp/test_live-g-file_G36PJ3/testdir_live-g-file'... 1066s # deleting 'dir1' 1066s # deleting 'subdir' 1066s # deleting 'dir-target' 1066s # deleting 'dir2' 1066s # deleting 'target-file' 1066s # deleting 'normal_file-symlink' 1066s # deleting 'pattern_file' 1066s # deleting 'executable_file' 1066s # deleting 'private_file' 1066s # deleting 'normal_file2' 1066s # deleting 'UTF_příliš z' 1066s # deleting 'lost_symlink' 1066s # deleting 'dir_no-access' 1066s # deleting 'dir_no-write' 1066s # deleting 'target-file' 1066s # deleting 'normal_file' 1066s # deleting 'normal_file-symlink' 1066s # deleting 'executable_file~' 1066s # deleting 'private_file' 1066s # deleting 'normal_file2~' 1066s # deleting 'a' 1066s # deleting 'UTF_příliš z' 1066s # deleting 'dir_hidden' 1066s # deleting '.a-hidden-file' 1066s # deleting 'file-in-.hidden1' 1066s # deleting '.hidden' 1066s # deleting 'file-in-.hidden2' 1066s # deleting 'pattern_file' 1066s # deleting 'executable_file' 1066s # deleting 'normal_file2' 1066s # deleting 'not_exists2' 1066s # deleting 'not_exists3' 1066s # deleting 'not_exists4' 1066s ok 11 /live-g-file/final_clean 1066s # Start of test_unix_is_mountpoint tests 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 1066s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_G36PJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 1066s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1066s # End of test_unix_is_mountpoint tests 1066s # End of live-g-file tests 1066s TAP version 14 1066s # random seed: R02S35f66666eec549ef122ce1896e4b1279 1066s 1..2 1066s # Start of gdbus tests 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/close-pending/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/close-pending/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_JQHWJ3/gdbus/close-pending/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/close-pending/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_JQHWJ3/gdbus/close-pending/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/close-pending/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/close-pending/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/close-pending/.dirs/runtime 1067s ok 1 /gdbus/close-pending 1067s # slow test /gdbus/close-pending executed in 1.05 secs 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/unref-pending/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/unref-pending/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_JQHWJ3/gdbus/unref-pending/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/unref-pending/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_JQHWJ3/gdbus/unref-pending/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/unref-pending/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/unref-pending/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_JQHWJ3/gdbus/unref-pending/.dirs/runtime 1067s ok - glib/gdbus-close-pending.test 1067s # Running test: glib/notify-init.test 1067s ok 2 /gdbus/unref-pending 1067s # End of gdbus tests 1067s TAP version 14 1067s # random seed: R02S6e25ee6311f729fb3ea17f0a56c3be1a 1067s 1..1 1067s # Start of properties tests 1067s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1067s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1067s ok 1 /properties/notify-in-init 1067s # End of properties tests 1067s TAP version 14 1067s # random seed: R02S4627644b6080b0a464f0a5d8effc99a3 1067s 1..3 1067s # Start of static-proxy tests 1067s ok 1 /static-proxy/uri 1067s ok 2 /static-proxy/socks 1067s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 1067s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 1067s ok 3 /static-proxy/ignore 1067s ok - glib/notify-init.test 1067s # Running test: glib/simple-proxy.test 1068s ok - glib/simple-proxy.test 1068s # Running test: glib/file-enumerator.test 1068s ok - glib/file-enumerator.test 1068s # Running test: glib/application-command-line.test 1068s ok - glib/application-command-line.test 1068s # Running test: glib/assert-msg-test.py.test 1068s # End of static-proxy tests 1068s TAP version 14 1068s # random seed: R02S8589852ffec1395fe4a8c5e292ff9899 1068s 1..1 1068s # Start of file-enumerator tests 1068s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1068s ok 1 /file-enumerator/close-on-dispose 1068s # End of file-enumerator tests 1068s TAP version 14 1068s # random seed: R02S96ec48f8a0ec089706312cb9198f9fbf 1068s 1..1 1068s # Start of application-command-line tests 1068s ok 1 /application-command-line/basic-properties 1068s # End of application-command-line tests 1068s TAP version 13 1068s ok 1 __main__.TestAssertMessage.test_gassert 1068s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1068s # tmpdir: /tmp/tmp0ft9010y 1068s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1068s # Return code: -6 1068s # Output: 1068s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1068s # Error: 1068s # ** 1068s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1068s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1068s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1068s # tmpdir: /tmp/tmpzo6z2oaa 1068s 1..2 1068s ok - glib/assert-msg-test.py.test 1068s # Running test: glib/unix-mounts.test 1068s TAP version 14 1068s # random seed: R02S087ec416594f9e90aed0501af77ed546 1068s 1..4 1068s # Start of unix-mounts tests 1068s ok 1 /unix-mounts/is-system-fs-type 1068s ok 2 /unix-mounts/is-system-device-path 1068s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1068s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1068s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1068s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1068s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1068s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1068s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1068s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1068s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1068s ok 3 /unix-mounts/get-mount-points 1068s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1068s ok 4 /unix-mounts/get-mount-entries 1068s ok - glib/unix-mounts.test 1068s # Running test: glib/repository-search-paths.test 1068s # End of unix-mounts tests 1068s TAP version 14 1068s # random seed: R02S6302c6ada74e2d624e65a6788463e111 1068s 1..4 1068s # Start of repository tests 1068s # Start of search-paths tests 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/default/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/default/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/default/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/default/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/default/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/default/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/default/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/default/.dirs/runtime 1068s ok 1 /repository/search-paths/default 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/prepend/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/prepend/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/prepend/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/prepend/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/prepend/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/prepend/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/prepend/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_LVDKJ3/repository/search-paths/prepend/.dirs/runtime 1068s ok - glib/repository-search-paths.test 1068s # Running test: glib/async-splice-output-stream.test 1068s ok 2 /repository/search-paths/prepend 1068s # End of search-paths tests 1068s # Start of library-paths tests 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/default/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/default/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/default/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/default/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/default/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/default/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/default/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/default/.dirs/runtime 1068s ok 3 /repository/library-paths/default 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/prepend/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/prepend/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/prepend/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/prepend/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/prepend/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/prepend/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/prepend/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_LVDKJ3/repository/library-paths/prepend/.dirs/runtime 1068s ok 4 /repository/library-paths/prepend 1068s # End of library-paths tests 1068s # End of repository tests 1068s TAP version 14 1068s # random seed: R02Sa70f29844d5dd28a55605715e2ae6007 1068s 1..5 1068s # Start of async-splice tests 1068s ok 1 /async-splice/copy-chunks 1068s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1068s ok 2 /async-splice/copy-chunks-threaded-input 1068s ok 3 /async-splice/copy-chunks-threaded-output 1068s ok - glib/async-splice-output-stream.test 1068s ok 4 /async-splice/copy-chunks-threaded 1068s ok 5 /async-splice/cancelled 1068s # End of async-splice tests 1068s # Running test: glib/g-file.test 1068s TAP version 14 1068s # random seed: R02Sc6adf88d3d9acffc22b58379127560f9 1068s 1..8 1068s # Start of g-file tests 1068s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1068s ok 1 /g-file/test_g_file_new_null 1068s ok 2 /g-file/test_g_file_new_for_path 1068s ok 3 /g-file/test_g_file_new_for_uri 1068s ok 4 /g-file/test_g_file_dup 1068s ok 5 /g-file/test_g_file_get_parse_name_utf8 1068s file:///tmp/test-tmp-glib_g-file.test-NLPJJ3 1068s file:///tmp 1068s file:///tmp 1068s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1068s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1068s ok 6 /g-file/test_g_file_new_for_commandline_arg 1068s /dir1 /dir1/dir2/dir3/ 1068s /dir1/ /dir1/dir2/dir3/ 1068s /dir1 /dir1/dir2/dir3 1068s /dir1/ /dir1/dir2/dir3 1068s /tmp/ /something/ 1068s /dir1/dir2 /dir1/ 1068s //dir1/new //dir1/new/dir2/dir3 1068s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 1068s file:///dir1 file:///dir1/dir2/dir3/ 1068s file:///dir1/ file:///dir1/dir2/dir3/ 1068s file:///dir1 file:///dir1/dir2/dir3 1068s file:///dir1/ file:///dir1/dir2/dir3 1068s file:///tmp/ file:///something/ 1068s file:///dir1/dir2 file:///dir1/ 1068s file:////dir1/new file:////dir1/new/dir2/dir3 1068s 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 1068s ok 7 /g-file/test_g_file_has_prefix 1068s ok 8 /g-file/test_g_file_get_parent_child 1068s # End of g-file tests 1068s ok - glib/g-file.test 1068s # Running test: glib/gnotification.test 1068s TAP version 14 1068s # random seed: R02S44b9b920c5a22573b21bd2807803be3f 1068s 1..2 1068s # Start of gnotification tests 1068s ok 1 /gnotification/basic 1068s ok 2 /gnotification/properties 1068s # End of gnotification tests 1068s ok - glib/gnotification.test 1068s # Running test: glib/memory-settings-backend.test 1068s TAP version 14 1068s # random seed: R02S5c38c85dbcf8684465698f599dbd2c7d 1068s 1..1 1068s # Start of memory-settings-backend tests 1068s ok 1 /memory-settings-backend/extension-point-registered 1068s # End of memory-settings-backend tests 1068s ok - glib/memory-settings-backend.test 1068s # Running test: glib/tls-interaction.test 1068s TAP version 14 1068s # random seed: R02S01bcbf5597c371c7199a981f71c05bd9 1068s 1..42 1068s # Start of tls-interaction tests 1068s # Start of ask-password tests 1068s # Start of invoke-with-loop tests 1068s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1068s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1068s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1068s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1068s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1068s # End of invoke-with-loop tests 1068s # Start of invoke-without-loop tests 1068s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1068s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1068s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1068s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1068s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1068s # End of invoke-without-loop tests 1068s # Start of invoke-in-loop tests 1068s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1068s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1068s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1068s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1068s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1068s # End of invoke-in-loop tests 1068s # Start of sync tests 1068s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1068s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1068s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1068s # End of sync tests 1068s # Start of async tests 1068s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1068s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1068s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1068s # End of async tests 1068s # End of ask-password tests 1068s # Start of request-certificate tests 1068s # Start of invoke-with-loop tests 1068s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1068s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1068s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1068s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1068s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1068s # End of invoke-with-loop tests 1068s # Start of invoke-without-loop tests 1068s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1068s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1068s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1068s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1068s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1068s # End of invoke-without-loop tests 1068s # Start of invoke-in-loop tests 1068s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1068s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1068s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1068s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1068s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1068s # End of invoke-in-loop tests 1068s # Start of sync tests 1068s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1068s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1068s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1068s # End of sync tests 1068s # Start of async tests 1068s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1068s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1068s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1068s # End of async tests 1068s # End of request-certificate tests 1068s # End of tls-interaction tests 1068s ok - glib/tls-interaction.test 1068s # Running test: glib/signal-handler.test 1068s ok - glib/signal-handler.test 1068s # Running test: glib/cxx-98.test 1068s ok - glib/cxx-98.test 1068s # Running test: glib/defaultvalue.test 1068s TAP version 14 1068s # random seed: R02S325e987b6fc31344f4bb1f2cbad90ef4 1068s 1..7 1068s # Start of signal tests 1068s # Start of handler tests 1068s # min perf: connected 1 handlers in 0.000 seconds 1068s ok 1 /signal/handler/connect-many 1068s # min perf: disconnected 1 handlers in 0.000 seconds 1068s ok 2 /signal/handler/disconnect-many-ordered 1068s # min perf: disconnected 1 handlers in 0.000 seconds 1068s ok 3 /signal/handler/disconnect-many-inverse 1068s # min perf: disconnected 1 handlers in 0.000 seconds 1068s ok 4 /signal/handler/disconnect-many-random 1068s # min perf: disconnected 1 handlers in 0.000 seconds 1068s ok 5 /signal/handler/disconnect-2-signals 1068s # min perf: disconnected 1 handlers in 0.000 seconds 1068s ok 6 /signal/handler/disconnect-2-objects 1068s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1068s ok 7 /signal/handler/block-many 1068s # End of handler tests 1068s # End of signal tests 1068s TAP version 14 1068s # random seed: R02Sc42a35f68f21c80b5be9fbf45e1a8a31 1068s 1..2 1068s # Start of gtask tests 1068s # 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. 1068s ok 1 /gtask/name 1068s # Start of name tests 1068s # 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. 1068s ok 2 /gtask/name/macro-wrapper 1068s # End of name tests 1068s # End of gtask tests 1068s TAP version 14 1068s # random seed: R02S409351ddae5b9d6c2174d289b3e34075 1068s 1..84 1068s # Start of Default Values tests 1068s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1068s ok - glib/defaultvalue.test 1068s # Running test: glib/autoptr-girepository.test 1068s ok 2 /Default Values/GAppLaunchContext 1068s ok 3 /Default Values/GApplicationCommandLine 1068s # skipping GApplication:is-remote 1068s ok 4 /Default Values/GApplication 1068s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1068s ok 6 /Default Values/GBindingGroup 1068s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1068s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1068s ok 9 /Default Values/GBytesIcon 1068s ok 10 /Default Values/GCancellable 1068s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1068s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1068s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1068s ok 14 /Default Values/GCredentials 1068s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1068s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1068s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1068s ok 18 /Default Values/GDBusAuthObserver 1068s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1068s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1068s ok 21 /Default Values/GDBusMessage 1068s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1068s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1068s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1068s ok 25 /Default Values/GDBusObjectProxy 1068s ok 26 /Default Values/GDBusObjectSkeleton 1068s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1068s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1068s ok 29 /Default Values/GEmblem 1068s ok 30 /Default Values/GEmblemedIcon 1068s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1068s ok 32 /Default Values/GFileInfo 1068s ok 33 /Default Values/GFileInputStream 1068s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1068s ok 35 /Default Values/GFileOutputStream 1068s ok 36 /Default Values/GFilenameCompleter 1068s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1068s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1068s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1068s ok 40 /Default Values/GInitiallyUnowned 1068s ok 41 /Default Values/GIOModule 1068s ok 42 /Default Values/GListStore 1068s ok 43 /Default Values/GMemoryInputStream 1068s ok 44 /Default Values/GMemoryOutputStream 1068s ok 45 /Default Values/GMenu 1068s ok 46 /Default Values/GMenuItem 1068s ok 47 /Default Values/GMountOperation 1068s ok 48 /Default Values/GNativeSocketAddress 1068s ok 49 /Default Values/GNetworkAddress 1068s ok 50 /Default Values/GNetworkService 1068s ok 51 /Default Values/GNotification 1068s ok 52 /Default Values/GObject 1068s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1068s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1068s # skipping GProxyAddressEnumerator:proxy-resolver 1068s ok 54 /Default Values/GProxyAddressEnumerator 1068s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1068s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1068s ok 57 /Default Values/GSignalGroup 1068s ok 58 /Default Values/GSimpleAction 1068s ok 59 /Default Values/GSimpleActionGroup 1068s ok 60 /Default Values/GSimpleAsyncResult 1068s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1068s ok 62 /Default Values/GSimplePermission 1068s ok 63 /Default Values/GSimpleProxyResolver 1068s # skipping GSocketClient:proxy-resolver 1068s ok 64 /Default Values/GSocketClient 1068s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1068s ok 66 /Default Values/GSocket # SKIP initialization failed 1068s ok 67 /Default Values/GSocketListener 1068s ok 68 /Default Values/GSocketService 1068s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1068s ok 70 /Default Values/GSubprocessLauncher 1068s # GLib-GIO-DEBUG: GTask 0x2aa1f172b00 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1068s ok 71 /Default Values/GTask 1068s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1068s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1068s ok 74 /Default Values/GTestDBus 1068s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1068s ok 76 /Default Values/GThreadedSocketService 1068s ok 77 /Default Values/GTlsInteraction 1068s ok 78 /Default Values/GTlsPassword 1068s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1068s ok 80 /Default Values/GUnixFDList 1068s ok 81 /Default Values/GVfs 1068s ok 82 /Default Values/GVolumeMonitor 1068s ok 83 /Default Values/GZlibCompressor 1068s ok 84 /Default Values/GZlibDecompressor 1068s # End of Default Values tests 1068s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1068s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1068s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1068s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1068s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1068s TAP version 14 1068s # random seed: R02Sce8fce1f188510bcf415db6a7baaf560 1068s 1..24 1068s # Start of autoptr tests 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/repository/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/repository/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/repository/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/repository/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/repository/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/repository/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/repository/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/repository/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 1 /autoptr/repository 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/typelib/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/typelib/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/typelib/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/typelib/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/typelib/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/typelib/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/typelib/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/typelib/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 2 /autoptr/typelib 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/base-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/base-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/base-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/base-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/base-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/base-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/base-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/base-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 3 /autoptr/base-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/arg-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/arg-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/arg-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/arg-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/arg-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/arg-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/arg-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/arg-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 4 /autoptr/arg-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callable-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callable-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/callable-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callable-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/callable-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callable-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callable-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callable-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 5 /autoptr/callable-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callback-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callback-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/callback-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callback-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/callback-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callback-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callback-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/callback-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok - glib/autoptr-girepository.test 1068s # Running test: glib/gsocketclient-slow.test 1068s ok 6 /autoptr/callback-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/constant-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/constant-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/constant-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/constant-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/constant-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/constant-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/constant-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/constant-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 7 /autoptr/constant-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/enum-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/enum-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/enum-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/enum-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/enum-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/enum-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/enum-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/enum-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 8 /autoptr/enum-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/field-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/field-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/field-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/field-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/field-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/field-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/field-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/field-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 9 /autoptr/field-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/flags-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/flags-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/flags-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/flags-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/flags-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/flags-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/flags-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/flags-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 10 /autoptr/flags-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/function-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/function-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/function-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/function-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/function-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/function-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/function-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/function-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 11 /autoptr/function-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/interface-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/interface-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/interface-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/interface-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/interface-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/interface-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/interface-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/interface-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 12 /autoptr/interface-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/object-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/object-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/object-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/object-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/object-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/object-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/object-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/object-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 13 /autoptr/object-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/property-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/property-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/property-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/property-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/property-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/property-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/property-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/property-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 14 /autoptr/property-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/registered-type-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/registered-type-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/registered-type-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/registered-type-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/registered-type-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/registered-type-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/registered-type-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/registered-type-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 15 /autoptr/registered-type-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/signal-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/signal-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/signal-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/signal-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/signal-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/signal-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/signal-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/signal-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 16 /autoptr/signal-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/struct-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/struct-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/struct-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/struct-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/struct-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/struct-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/struct-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/struct-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 17 /autoptr/struct-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/type-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/type-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/type-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/type-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/type-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/type-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/type-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/type-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 18 /autoptr/type-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/union-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/union-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/union-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/union-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/union-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/union-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/union-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/union-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 19 /autoptr/union-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/value-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/value-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/value-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/value-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/value-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/value-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/value-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/value-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 20 /autoptr/value-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/vfunc-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/vfunc-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/vfunc-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/vfunc-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/autoptr/vfunc-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/vfunc-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/vfunc-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/autoptr/vfunc-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 21 /autoptr/vfunc-info 1068s # End of autoptr tests 1068s # Start of auto tests 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/arg-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/arg-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/auto/arg-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/arg-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/auto/arg-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/arg-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/arg-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/auto/arg-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 22 /auto/arg-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/type-info/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/type-info/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/auto/type-info/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/type-info/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/auto/type-info/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/type-info/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/type-info/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/auto/type-info/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 23 /auto/type-info 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/function-invoker/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/function-invoker/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_DZLHJ3/auto/function-invoker/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/function-invoker/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_DZLHJ3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_DZLHJ3/auto/function-invoker/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/function-invoker/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_DZLHJ3/auto/function-invoker/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_DZLHJ3/auto/function-invoker/.dirs/runtime 1068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1068s ok 24 /auto/function-invoker 1068s # End of auto tests 1068s TAP version 14 1068s # random seed: R02Sad9f0e727b1db9ceb7654a70c5138843 1068s 1..4 1068s # Start of socket-client tests 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1068s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1068s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34c748e0 and GSocketClientAsyncConnectData 0x2aa34c6f520 1068s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1068s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1068s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34c78540 for GSocketClientAsyncConnectData 0x2aa34c6f520 1068s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1068s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1068s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1068s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1068s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1068s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1068s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34c78540 for GSocketClientAsyncConnectData 0x2aa34c6f520 1068s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1069s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1069s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1069s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1069s ok 1 /socket-client/connection-fail 1069s # slow test /socket-client/connection-fail executed in 1.20 secs 1069s # Start of happy-eyeballs tests 1069s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34c77110 and GSocketClientAsyncConnectData 0x2aa34c78070 1069s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1069s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1069s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34c7b340 for GSocketClientAsyncConnectData 0x2aa34c78070 1069s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1069s # Executing: glib/gsocketclient-slow.test 1070s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1070s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1070s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1070s ok 2 /socket-client/happy-eyeballs/slow 1070s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1070s # Start of cancellation tests 1070s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34c77d50 and GSocketClientAsyncConnectData 0x2aa34c7b5e0 1070s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1070s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1070s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34c77030 and GSocketClientAsyncConnectData 0x2aa34c7afa0 1070s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1070s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34c7bba0 for GSocketClientAsyncConnectData 0x2aa34c7afa0 1070s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1070s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1070s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1070s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1070s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1070s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1070s # End of cancellation tests 1070s # End of happy-eyeballs tests 1070s # End of socket-client tests 1070s ok - glib/gsocketclient-slow.test 1070s # Running test: glib/genmarshal.py.test 1070s TAP version 13 1070s ok 1 __main__.TestGenmarshal.test_empty_list 1070s # glib-genmarshal: /usr/bin/glib-genmarshal 1070s # tmpdir: /tmp/tmp75_yqtfu 1070s # /tmp/tmp75_yqtfu/tmpme8k802u.list: 1070s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp75_yqtfu/tmpme8k802u.list', '--header', '--quiet'] 1070s # Return code: 0 1070s # Output: 1070s # /* 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. */ 1070s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1070s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1070s # 1070s # #include 1070s # 1070s # G_BEGIN_DECLS 1070s # 1070s # 1070s # G_END_DECLS 1070s # 1070s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1070s # Error: 1070s # 1070s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp75_yqtfu/tmpme8k802u.list', '--body', '--quiet'] 1070s # Return code: 0 1070s # Output: 1070s # /* 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. */ 1070s # #include 1070s # 1070s # #ifdef G_ENABLE_DEBUG 1070s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1070s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1070s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1070s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1070s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1070s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1070s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1070s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1070s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1070s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1070s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1070s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1070s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1070s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1070s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1070s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1070s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1070s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1070s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1070s # #else /* !G_ENABLE_DEBUG */ 1070s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1070s # * Do not access GValues directly in your code. Instead, use the 1070s # * g_value_get_*() functions 1070s # */ 1070s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1070s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1070s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1070s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1070s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1070s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1070s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1070s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1070s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1070s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1070s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1070s # #endif /* !G_ENABLE_DEBUG */ 1070s # Error: 1070s ok 2 __main__.TestGenmarshal.test_help 1070s # glib-genmarshal: /usr/bin/glib-genmarshal 1070s # tmpdir: /tmp/tmpl1_z95w2 1070s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1070s # Return code: 0 1070s # Output: 1070s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1070s # [--internal] [--valist-marshallers] [-v] 1070s # [--g-fatal-warnings] [--include-header [HEADER]] 1070s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1070s # [--prototypes] [--header] [--body] [--stdinc | 1070s # --nostdinc] [--quiet | --verbose] 1070s # [FILE ...] 1070s # 1070s # Generate signal marshallers for GObject 1070s # 1070s # positional arguments: 1070s # FILE Files with lists of marshallers to generate, or "-" 1070s # for standard input 1070s # 1070s # options: 1070s # -h, --help show this help message and exit 1070s # --prefix STRING Specify marshaller prefix 1070s # --output FILE Write output into the specified file 1070s # --skip-source Skip source location comments 1070s # --internal Mark generated functions as internal 1070s # --valist-marshallers Generate va_list marshallers 1070s # -v, --version Print version information, and exit 1070s # --g-fatal-warnings Make warnings fatal 1070s # --include-header [HEADER] 1070s # Include the specified header in the body 1070s # --pragma-once Use "pragma once" as the inclusion guard 1070s # -D CPP_DEFINES Pre-processor define 1070s # -U CPP_UNDEFINES Pre-processor undefine 1070s # --prototypes Generate the marshallers prototype in the C code 1070s # --header Generate C headers 1070s # --body Generate C code 1070s # --stdinc Include standard marshallers 1070s # --nostdinc Use standard marshallers 1070s # --quiet Only print warnings and errors 1070s # --verbose Be verbose, and include debugging information 1070s # Error: 1070s ok 3 __main__.TestGenmarshal.test_no_args 1070s # glib-genmarshal: /usr/bin/glib-genmarshal 1070s # tmpdir: /tmp/tmp0cg35_06 1070s # Running: ['/usr/bin/glib-genmarshal'] 1070s # Return code: 0 1070s # Output: 1070s # 1070s # Error: 1070s ok 4 __main__.TestGenmarshal.test_void_boolean 1070s # glib-genmarshal: /usr/bin/glib-genmarshal 1070s # tmpdir: /tmp/tmp2ww_er4c 1070s # /tmp/tmp2ww_er4c/tmpaqppc_31.list: VOID:BOOLEAN 1070s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2ww_er4c/tmpaqppc_31.list', '--header', '--quiet'] 1070s # Return code: 0 1070s # Output: 1070s # /* 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. */ 1070s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1070s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1070s # 1070s # #include 1070s # 1070s # G_BEGIN_DECLS 1070s # 1070s # /* VOID:BOOLEAN (/tmp/tmp2ww_er4c/tmpaqppc_31.list:1) */ 1070s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1070s # 1070s # 1070s # G_END_DECLS 1070s # 1070s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1070s # Error: 1070s # 1070s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2ww_er4c/tmpaqppc_31.list', '--body', '--quiet'] 1070s # Return code: 0 1070s # Output: 1070s # /* 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. */ 1070s # #include 1070s # 1070s # #ifdef G_ENABLE_DEBUG 1070s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1070s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1070s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1070s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1070s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1070s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1070s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1070s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1070s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1070s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1070s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1070s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1070s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1070s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1070s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1070s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1070s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1070s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1070s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1070s # #else /* !G_ENABLE_DEBUG */ 1070s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1070s # * Do not access GValues directly in your code. Instead, use the 1070s # * g_value_get_*() functions 1070s # */ 1070s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1070s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1070s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1070s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1070s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1070s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1070s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1070s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1070s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1070s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1070s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1070s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1070s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1070s # #endif /* !G_ENABLE_DEBUG */ 1070s # Error: 1071s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1071s # glib-genmarshal: /usr/bin/glib-genmarshal 1071s # tmpdir: /tmp/tmpndguc974 1071s # /tmp/tmpndguc974/tmp1nb188na.list: VOID:BOOLEAN,INT64 1071s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpndguc974/tmp1nb188na.list', '--header', '--quiet'] 1071s # Return code: 0 1071s # Output: 1071s # /* 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. */ 1071s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1071s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1071s # 1071s # #include 1071s # 1071s # G_BEGIN_DECLS 1071s # 1071s # /* VOID:BOOLEAN,INT64 (/tmp/tmpndguc974/tmp1nb188na.list:1) */ 1071s # extern 1071s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1071s # GValue *return_value, 1071s # guint n_param_values, 1071s # const GValue *param_values, 1071s # gpointer invocation_hint, 1071s # gpointer marshal_data); 1071s # 1071s # 1071s # G_END_DECLS 1071s # 1071s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1071s # Error: 1071s # 1071s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpndguc974/tmp1nb188na.list', '--body', '--quiet'] 1071s # Return code: 0 1071s # Output: 1071s # /* 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. */ 1071s # #include 1071s # 1071s # #ifdef G_ENABLE_DEBUG 1071s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1071s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1071s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1071s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1071s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1071s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1071s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1071s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1071s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1071s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1071s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1071s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1071s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1071s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1071s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1071s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1071s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1071s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1071s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1071s # #else /* !G_ENABLE_DEBUG */ 1071s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1071s # * Do not access GValues directly in your code. Instead, use the 1071s # * g_value_get_*() functions 1071s # */ 1071s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1071s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1071s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1071s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1071s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1071s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1071s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1071s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1071s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1071s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1071s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1071s # #endif /* !G_ENABLE_DEBUG */ 1071s # 1071s # /* VOID:BOOLEAN,INT64 (/tmp/tmpndguc974/tmp1nb188na.list:1) */ 1071s # void 1071s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1071s # GValue *return_value G_GNUC_UNUSED, 1071s # guint n_param_values, 1071s # const GValue *param_values, 1071s # gpointer invocation_hint G_GNUC_UNUSED, 1071s # gpointer marshal_data) 1071s # { 1071s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1071s # gboolean arg1, 1071s # gint64 arg2, 1071s # gpointer data2); 1071s # GCClosure *cc = (GCClosure *) closure; 1071s # gpointer data1, data2; 1071s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1071s # 1071s # g_return_if_fail (n_param_values == 3); 1071s # 1071s # if (G_CCLOSURE_SWAP_DATA (closure)) 1071s # { 1071s # data1 = closure->data; 1071s # data2 = g_value_peek_pointer (param_values + 0); 1071s # } 1071s # else 1071s # { 1071s # data1 = g_value_peek_pointer (param_values + 0); 1071s # data2 = closure->data; 1071s # } 1071s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1071s # 1071s # callback (data1, 1071s # g_marshal_value_peek_boolean (param_values + 1), 1071s # g_marshal_value_peek_int64 (param_values + 2), 1071s # data2); 1071s # } 1071s # Error: 1071s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1071s # glib-genmarshal: /usr/bin/glib-genmarshal 1071s # tmpdir: /tmp/tmp28633d2p 1071s # /tmp/tmp28633d2p/tmp8hdcmisw.list: VOID:PARAM 1071s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp28633d2p/tmp8hdcmisw.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1071s # Return code: 0 1071s # Output: 1071s # /* 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. */ 1071s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1071s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1071s # 1071s # G_BEGIN_DECLS 1071s # 1071s # /* VOID:PARAM (/tmp/tmp28633d2p/tmp8hdcmisw.list:1) */ 1071s # extern 1071s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1071s # GValue *return_value, 1071s # guint n_param_values, 1071s # const GValue *param_values, 1071s # gpointer invocation_hint, 1071s # gpointer marshal_data); 1071s # extern 1071s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1071s # GValue *return_value, 1071s # gpointer instance, 1071s # va_list args, 1071s # gpointer marshal_data, 1071s # int n_params, 1071s # GType *param_types); 1071s # 1071s # 1071s # G_END_DECLS 1071s # 1071s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1071s # Error: 1071s # 1071s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp28633d2p/tmp8hdcmisw.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1071s # Return code: 0 1071s # Output: 1071s # /* 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. */ 1071s # #ifdef G_ENABLE_DEBUG 1071s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1071s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1071s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1071s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1071s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1071s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1071s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1071s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1071s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1071s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1071s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1071s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1071s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1071s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1071s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1071s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1071s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1071s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1071s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1071s # #else /* !G_ENABLE_DEBUG */ 1071s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1071s # * Do not access GValues directly in your code. Instead, use the 1071s # * g_value_get_*() functions 1071s # */ 1071s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1071s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1071s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1071s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1071s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1071s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1071s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1071s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1071s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1071s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1071s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1071s # #endif /* !G_ENABLE_DEBUG */ 1071s # 1071s # /* VOID:PARAM (/tmp/tmp28633d2p/tmp8hdcmisw.list:1) */ 1071s # void 1071s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1071s # GValue *return_value G_GNUC_UNUSED, 1071s # guint n_param_values, 1071s # const GValue *param_values, 1071s # gpointer invocation_hint G_GNUC_UNUSED, 1071s # gpointer marshal_data) 1071s # { 1071s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1071s # gpointer arg1, 1071s # gpointer data2); 1071s # GCClosure *cc = (GCClosure *) closure; 1071s # gpointer data1, data2; 1071s # GMarshalFunc_VOID__PARAM callback; 1071s # 1071s # g_return_if_fail (n_param_values == 2); 1071s # 1071s # if (G_CCLOSURE_SWAP_DATA (closure)) 1071s # { 1071s # data1 = closure->data; 1071s # data2 = g_value_peek_pointer (param_values + 0); 1071s # } 1071s # else 1071s # { 1071s # data1 = g_value_peek_pointer (param_values + 0); 1071s # data2 = closure->data; 1071s # } 1071s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1071s # 1071s # callback (data1, 1071s # g_marshal_value_peek_param (param_values + 1), 1071s # data2); 1071s # } 1071s # 1071s # void 1071s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1071s # GValue *return_value G_GNUC_UNUSED, 1071s # gpointer instance, 1071s # va_list args, 1071s # gpointer marshal_data, 1071s # int n_params, 1071s # GType *param_types) 1071s # { 1071s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1071s # gpointer arg1, 1071s # gpointer data2); 1071s # GCClosure *cc = (GCClosure *) closure; 1071s # gpointer data1, data2; 1071s # GMarshalFunc_VOID__PARAM callback; 1071s # gpointer arg0; 1071s # va_list args_copy; 1071s # 1071s # va_copy (args_copy, args); 1071s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1071s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1071s # arg0 = g_param_spec_ref (arg0); 1071s # va_end (args_copy); 1071s # 1071s # 1071s # if (G_CCLOSURE_SWAP_DATA (closure)) 1071s # { 1071s # data1 = closure->data; 1071s # data2 = instance; 1071s # } 1071s # else 1071s # { 1071s # data1 = instance; 1071s # data2 = closure->data; 1071s # } 1071s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1071s # 1071s # callback (data1, 1071s # arg0, 1071s # data2); 1071s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1071s # g_param_spec_unref (arg0); 1071s # } 1071s # Error: 1071s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1071s # glib-genmarshal: /usr/bin/glib-genmarshal 1071s # tmpdir: /tmp/tmplfvq5k7j 1071s # /tmp/tmplfvq5k7j/tmpflv1chyj.list: VOID:STRING 1071s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplfvq5k7j/tmpflv1chyj.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1071s # Return code: 0 1071s # Output: 1071s # /* 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. */ 1071s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1071s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1071s # 1071s # G_BEGIN_DECLS 1071s # 1071s # /* VOID:STRING (/tmp/tmplfvq5k7j/tmpflv1chyj.list:1) */ 1071s # extern 1071s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1071s # GValue *return_value, 1071s # guint n_param_values, 1071s # const GValue *param_values, 1071s # gpointer invocation_hint, 1071s # gpointer marshal_data); 1071s # extern 1071s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1071s # GValue *return_value, 1071s # gpointer instance, 1071s # va_list args, 1071s # gpointer marshal_data, 1071s # int n_params, 1071s # GType *param_types); 1071s # 1071s # 1071s # G_END_DECLS 1071s # 1071s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1071s # Error: 1071s # 1071s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplfvq5k7j/tmpflv1chyj.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1071s # Return code: 0 1071s # Output: 1071s # /* 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. */ 1071s # #ifdef G_ENABLE_DEBUG 1071s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1071s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1071s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1071s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1071s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1071s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1071s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1071s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1071s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1071s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1071s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1071s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1071s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1071s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1071s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1071s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1071s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1071s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1071s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1071s # #else /* !G_ENABLE_DEBUG */ 1071s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1071s # * Do not access GValues directly in your code. Instead, use the 1071s # * g_value_get_*() functions 1071s # */ 1071s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1071s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1071s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1071s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1071s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1071s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1071s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1071s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1071s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1071s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1071s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1071s # #endif /* !G_ENABLE_DEBUG */ 1071s # 1071s # /* VOID:STRING (/tmp/tmplfvq5k7j/tmpflv1chyj.list:1) */ 1071s # void 1071s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1071s # GValue *return_value G_GNUC_UNUSED, 1071s # guint n_param_values, 1071s # const GValue *param_values, 1071s # gpointer invocation_hint G_GNUC_UNUSED, 1071s # gpointer marshal_data) 1071s # { 1071s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1071s # gpointer arg1, 1071s # gpointer data2); 1071s # GCClosure *cc = (GCClosure *) closure; 1071s # gpointer data1, data2; 1071s # GMarshalFunc_VOID__STRING callback; 1071s # 1071s # g_return_if_fail (n_param_values == 2); 1071s # 1071s # if (G_CCLOSURE_SWAP_DATA (closure)) 1071s # { 1071s # data1 = closure->data; 1071s # data2 = g_value_peek_pointer (param_values + 0); 1071s # } 1071s # else 1071s # { 1071s # data1 = g_value_peek_pointer (param_values + 0); 1071s # data2 = closure->data; 1071s # } 1071s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1071s # 1071s # callback (data1, 1071s # g_marshal_value_peek_string (param_values + 1), 1071s # data2); 1071s # } 1071s # 1071s # void 1071s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1071s # GValue *return_value G_GNUC_UNUSED, 1071s # gpointer instance, 1071s # va_list args, 1071s # gpointer marshal_data, 1071s # int n_params, 1071s # GType *param_types) 1071s # { 1071s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1071s # gpointer arg1, 1071s # gpointer data2); 1071s # GCClosure *cc = (GCClosure *) closure; 1071s # gpointer data1, data2; 1071s # GMarshalFunc_VOID__STRING callback; 1071s # gpointer arg0; 1071s # va_list args_copy; 1071s # 1071s # va_copy (args_copy, args); 1071s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1071s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1071s # arg0 = g_strdup (arg0); 1071s # va_end (args_copy); 1071s # 1071s # 1071s # if (G_CCLOSURE_SWAP_DATA (closure)) 1071s # { 1071s # data1 = closure->data; 1071s # data2 = instance; 1071s # } 1071s # else 1071s # { 1071s # data1 = instance; 1071s # data2 = closure->data; 1071s # } 1071s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1071s # 1071s # callback (data1, 1071s # arg0, 1071s # data2); 1071s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1071s # g_free (arg0); 1071s # } 1071s # Error: 1071s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1071s # glib-genmarshal: /usr/bin/glib-genmarshal 1071s # tmpdir: /tmp/tmpjddtb4th 1071s # /tmp/tmpjddtb4th/tmp39tb7_6n.list: VOID:VARIANT 1071s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjddtb4th/tmp39tb7_6n.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1071s # Return code: 0 1071s # Output: 1071s # /* 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. */ 1071s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1071s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1071s # 1071s # G_BEGIN_DECLS 1071s # 1071s # /* VOID:VARIANT (/tmp/tmpjddtb4th/tmp39tb7_6n.list:1) */ 1071s # extern 1071s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1071s # GValue *return_value, 1071s # guint n_param_values, 1071s # const GValue *param_values, 1071s # gpointer invocation_hint, 1071s # gpointer marshal_data); 1071s # extern 1071s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1071s # GValue *return_value, 1071s # gpointer instance, 1071s # va_list args, 1071s # gpointer marshal_data, 1071s # int n_params, 1071s # GType *param_types); 1071s # 1071s # 1071s # G_END_DECLS 1071s # 1071s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1071s # Error: 1071s # 1071s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjddtb4th/tmp39tb7_6n.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1071s # Return code: 0 1071s # Output: 1071s # /* 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. */ 1071s # #ifdef G_ENABLE_DEBUG 1071s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1071s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1071s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1071s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1071s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1071s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1071s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1071s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1071s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1071s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1071s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1071s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1071s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1071s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1071s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1071s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1071s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1071s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1071s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1071s # #else /* !G_ENABLE_DEBUG */ 1071s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1071s # * Do not access GValues directly in your code. Instead, use the 1071s # * g_value_get_*() functions 1071s # */ 1071s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1071s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1071s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1071s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1071s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1071s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1071s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1071s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1071s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1071s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1071s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1071s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1071s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1071s # #endif /* !G_ENABLE_DEBUG */ 1071s # 1071s # /* VOID:VARIANT (/tmp/tmpjddtb4th/tmp39tb7_6n.list:1) */ 1071s # void 1071s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1071s # GValue *return_value G_GNUC_UNUSED, 1071s # guint n_param_values, 1071s # const GValue *param_values, 1071s # gpointer invocation_hint G_GNUC_UNUSED, 1071s # gpointer marshal_data) 1071s # { 1071s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1071s # gpointer arg1, 1071s # gpointer data2); 1071s # GCClosure *cc = (GCClosure *) closure; 1071s # gpointer data1, data2; 1071s # GMarshalFunc_VOID__VARIANT callback; 1071s # 1071s # g_return_if_fail (n_param_values == 2); 1071s # 1071s # if (G_CCLOSURE_SWAP_DATA (closure)) 1071s # { 1071s # data1 = closure->data; 1071s # data2 = g_value_peek_pointer (param_values + 0); 1071s # } 1071s # else 1071s # { 1071s # data1 = g_value_peek_pointer (param_values + 0); 1071s # data2 = closure->data; 1071s # } 1071s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1071s # 1071s # callback (data1, 1071s # g_marshal_value_peek_variant (param_values + 1), 1071s # data2); 1071s # } 1071s # 1071s # void 1071s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1071s # GValue *return_value G_GNUC_UNUSED, 1071s # gpointer instance, 1071s # va_list args, 1071s # gpointer marshal_data, 1071s # int n_params, 1071s # GType *param_types) 1071s # { 1071s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1071s # gpointer arg1, 1071s # gpointer data2); 1071s # GCClosure *cc = (GCClosure *) closure; 1071s # gpointer data1, data2; 1071s # GMarshalFunc_VOID__VARIANT callback; 1071s # gpointer arg0; 1071s # va_list args_copy; 1071s # 1071s # va_copy (args_copy, args); 1071s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1071s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1071s # arg0 = g_variant_ref_sink (arg0); 1071s # va_end (args_copy); 1071s # 1071s # 1071s # if (G_CCLOSURE_SWAP_DATA (closure)) 1071s # { 1071s # data1 = closure->data; 1071s # data2 = instance; 1071s # } 1071s # else 1071s # { 1071s # data1 = instance; 1071s # data2 = closure->data; 1071s # } 1071s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1071s # 1071s # callback (data1, 1071s # arg0, 1071s # data2); 1071s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1071s # g_variant_unref (arg0); 1071s # } 1071s # Error: 1071s 1..8 1071s ok - glib/genmarshal.py.test 1071s # Running test: glib/utils-c-89.test 1071s TAP version 14 1071s # random seed: R02Sda74dd975dd7be92181ccb23b99aaf0b 1071s 1..41 1071s # Start of utils tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/language-names/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/language-names/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/language-names/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/language-names/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/language-names/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/language-names/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/language-names/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/language-names/.dirs/runtime 1071s ok 1 /utils/language-names 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/locale-variants/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/locale-variants/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/locale-variants/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/locale-variants/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/locale-variants/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/locale-variants/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/locale-variants/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/locale-variants/.dirs/runtime 1071s # Testing locale ‘en’ 1071s # Testing locale ‘sr@latin’ 1071s # Testing locale ‘fr_BE’ 1071s # Testing locale ‘sr_SR@latin’ 1071s # Testing locale ‘sr_SR@latin.UTF-8’ 1071s # Testing locale ‘sr@latin_invalid’ 1071s # Testing locale ‘sr.UTF-8@latin’ 1071s # Testing locale ‘sr.UTF-8_latin’ 1071s # Testing locale ‘sr.UTF-8@latin_invalid’ 1071s ok 2 /utils/locale-variants 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/version/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/version/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/version/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/version/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/version/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/version/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/version/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/version/.dirs/runtime 1071s ok 3 /utils/version 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/appname/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/appname/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/appname/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/appname/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/appname/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/appname/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/appname/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/appname/.dirs/runtime 1071s ok 4 /utils/appname 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/prgname-thread-safety/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/prgname-thread-safety/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/prgname-thread-safety/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/prgname-thread-safety/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/prgname-thread-safety/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/prgname-thread-safety/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/prgname-thread-safety/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/prgname-thread-safety/.dirs/runtime 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1071s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1071s ok 5 /utils/prgname-thread-safety 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/tmpdir/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/tmpdir/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/tmpdir/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/tmpdir/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/tmpdir/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/tmpdir/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/tmpdir/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/tmpdir/.dirs/runtime 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1071s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1071s Unable to clean up temporary directory /tmp/test_utils-c-89_3B4GJ3/utils/tmpdir: No such file or directory 1071s ok 6 /utils/tmpdir 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/basic_bits/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/basic_bits/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/basic_bits/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/basic_bits/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/basic_bits/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/basic_bits/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/basic_bits/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/basic_bits/.dirs/runtime 1071s ok 7 /utils/basic_bits 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/bits/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/bits/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/bits/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/bits/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/bits/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/bits/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/bits/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/bits/.dirs/runtime 1071s ok 8 /utils/bits 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/swap/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/swap/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/swap/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/swap/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/swap/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/swap/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/swap/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/swap/.dirs/runtime 1071s ok 9 /utils/swap 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/find-program/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/find-program/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/find-program/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/find-program/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/find-program/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/find-program/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/find-program/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/find-program/.dirs/runtime 1071s ok 10 /utils/find-program 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/find-program-for-path/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/find-program-for-path/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/find-program-for-path/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/find-program-for-path/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/find-program-for-path/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/find-program-for-path/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/find-program-for-path/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/find-program-for-path/.dirs/runtime 1071s ok 11 /utils/find-program-for-path 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/debug/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/debug/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/debug/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/debug/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/debug/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/debug/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/debug/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/debug/.dirs/runtime 1071s Unable to clean up temporary directory /tmp/test_utils-c-89_3B4GJ3/utils/debug: No such file or directory 1071s ok 12 /utils/debug 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/codeset/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/codeset/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/codeset/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/codeset/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/codeset/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/codeset/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/codeset/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/codeset/.dirs/runtime 1071s ok 13 /utils/codeset 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/codeset2/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/codeset2/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/codeset2/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/codeset2/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/codeset2/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/codeset2/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/codeset2/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/codeset2/.dirs/runtime 1071s Unable to clean up temporary directory /tmp/test_utils-c-89_3B4GJ3/utils/codeset2: No such file or directory 1071s ok 14 /utils/codeset2 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/console-charset/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/console-charset/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/console-charset/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/console-charset/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/console-charset/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/console-charset/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/console-charset/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/console-charset/.dirs/runtime 1071s ok 15 /utils/console-charset 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/gettext/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/gettext/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/gettext/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/gettext/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/gettext/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/gettext/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/gettext/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/gettext/.dirs/runtime 1071s ok 16 /utils/gettext 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/username/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/username/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/username/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/username/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/username/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/username/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/username/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/username/.dirs/runtime 1071s ok 17 /utils/username 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/realname/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/realname/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/realname/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/realname/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/realname/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/realname/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/realname/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/realname/.dirs/runtime 1071s ok 18 /utils/realname 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/hostname/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/hostname/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/hostname/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/hostname/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/hostname/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/hostname/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/hostname/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/hostname/.dirs/runtime 1071s ok 19 /utils/hostname 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/os-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/os-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/os-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/os-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/os-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/os-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/os-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/os-info/.dirs/runtime 1071s # NAME: Ubuntu 1071s ok 20 /utils/os-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/.dirs/runtime 1071s ok 21 /utils/clear-pointer 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer-cast/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer-cast/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer-cast/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer-cast/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer-cast/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer-cast/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer-cast/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer-cast/.dirs/runtime 1071s ok 22 /utils/clear-pointer-cast 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/take-pointer/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/take-pointer/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/take-pointer/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/take-pointer/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/take-pointer/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/take-pointer/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/take-pointer/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/take-pointer/.dirs/runtime 1071s ok 23 /utils/take-pointer 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-source/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-source/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-source/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-source/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-source/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-source/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-source/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/clear-source/.dirs/runtime 1071s ok 24 /utils/clear-source 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/misc-mem/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/misc-mem/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/misc-mem/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/misc-mem/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/misc-mem/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/misc-mem/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/misc-mem/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/misc-mem/.dirs/runtime 1071s ok 25 /utils/misc-mem 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/.dirs/runtime 1071s # /utils/aligned-mem summary: Aligned memory allocator 1071s # Alignment must not be zero 1071s # Alignment must be a power of two 1071s # Alignment must be a multiple of sizeof(void*) 1071s ok 26 /utils/aligned-mem 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/free-sized/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/free-sized/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/free-sized/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/free-sized/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/free-sized/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/free-sized/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/free-sized/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/free-sized/.dirs/runtime 1071s # /utils/free-sized summary: Check that g_free_sized() works 1071s ok 27 /utils/free-sized 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/nullify/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/nullify/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/nullify/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/nullify/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/nullify/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/nullify/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/nullify/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/nullify/.dirs/runtime 1071s ok 28 /utils/nullify 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/atexit/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/atexit/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/atexit/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/atexit/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/atexit/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/atexit/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/atexit/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/atexit/.dirs/runtime 1071s Unable to clean up temporary directory /tmp/test_utils-c-89_3B4GJ3/utils/atexit: No such file or directory 1071s ok 29 /utils/atexit 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/check-setuid/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/check-setuid/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/check-setuid/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/check-setuid/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/check-setuid/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/check-setuid/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/check-setuid/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/check-setuid/.dirs/runtime 1071s ok 30 /utils/check-setuid 1071s ok - glib/utils-c-89.test 1071s # Running test: glib/array-test.test 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/int-limits/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/int-limits/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/int-limits/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/int-limits/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/int-limits/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/int-limits/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/int-limits/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/int-limits/.dirs/runtime 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1071s ok 31 /utils/int-limits 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-list/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-list/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-list/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-list/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-list/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-list/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-list/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/clear-list/.dirs/runtime 1071s ok 32 /utils/clear-list 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-slist/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-slist/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-slist/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-slist/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-slist/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-slist/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-slist/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/clear-slist/.dirs/runtime 1071s ok 33 /utils/clear-slist 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/steal-handle-id/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/steal-handle-id/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/steal-handle-id/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/steal-handle-id/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/steal-handle-id/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/steal-handle-id/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/steal-handle-id/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/steal-handle-id/.dirs/runtime 1071s ok 34 /utils/steal-handle-id 1071s # Start of user-special-dirs tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/desktop/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/desktop/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/desktop/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/desktop/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/desktop/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/desktop/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/desktop/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/desktop/.dirs/runtime 1071s ok 35 /utils/user-special-dirs/desktop 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1071s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1071s Unable to clean up temporary directory /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/load-unlocked: No such file or directory 1071s ok 36 /utils/user-special-dirs/load-unlocked 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1071s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1071s Unable to clean up temporary directory /tmp/test_utils-c-89_3B4GJ3/utils/user-special-dirs/reload-leaks: No such file or directory 1071s ok 37 /utils/user-special-dirs/reload-leaks 1071s # End of user-special-dirs tests 1071s # Start of clear-pointer tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/side-effects/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/side-effects/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/side-effects/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/side-effects/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/side-effects/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/side-effects/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/side-effects/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/clear-pointer/side-effects/.dirs/runtime 1071s ok 38 /utils/clear-pointer/side-effects 1071s # End of clear-pointer tests 1071s # Start of aligned-mem tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/alignment/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/alignment/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/alignment/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/alignment/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/alignment/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/alignment/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/alignment/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/alignment/.dirs/runtime 1071s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1071s ok 39 /utils/aligned-mem/alignment 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/zeroed/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/zeroed/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/zeroed/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/zeroed/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/zeroed/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/zeroed/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/zeroed/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/zeroed/.dirs/runtime 1071s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1071s ok 40 /utils/aligned-mem/zeroed 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/free-sized/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/free-sized/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/free-sized/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/free-sized/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/free-sized/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/free-sized/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/free-sized/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_3B4GJ3/utils/aligned-mem/free-sized/.dirs/runtime 1071s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1071s ok 41 /utils/aligned-mem/free-sized 1071s # Start of subprocess tests 1071s # End of subprocess tests 1071s # End of aligned-mem tests 1071s # End of utils tests 1071s TAP version 14 1071s # random seed: R02S48e6085e0342b9b461a959e0800bd8a9 1071s 1..120 1071s # Start of array tests 1071s ok 1 /array/ref-count 1071s ok 2 /array/steal 1071s ok 3 /array/clear-func 1071s ok 4 /array/binary-search 1071s ok 5 /array/overflow-append-vals 1071s ok 6 /array/overflow-set-size 1071s # Start of new tests 1071s ok 7 /array/new/zero-terminated 1071s ok 8 /array/new/take 1071s ok 9 /array/new/take-zero-terminated 1071s # Start of take tests 1071s ok 10 /array/new/take/empty 1071s ok 11 /array/new/take/overflow 1071s ok 12 /array/new/take/zero-size 1071s # End of take tests 1071s # Start of take-zero-terminated tests 1071s ok 13 /array/new/take-zero-terminated/zero-size 1071s ok 14 /array/new/take-zero-terminated/null 1071s # End of take-zero-terminated tests 1071s # End of new tests 1071s # Start of copy tests 1071s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 1071s ok 15 /array/copy/sized 1071s ok 16 /array/copy/zero-terminated 1071s ok 17 /array/copy/non-zero-terminated-no-clear 1071s ok 18 /array/copy/non-zero-terminated-clear 1071s ok 19 /array/copy/zero-terminated-no-clear 1071s ok 20 /array/copy/zero-terminated-clear 1071s # End of copy tests 1071s # Start of remove-range tests 1071s ok 21 /array/remove-range/zero-terminated-null 1071s ok 22 /array/remove-range/non-zero-terminated-no-clear 1071s ok 23 /array/remove-range/non-zero-terminated-clear 1071s ok 24 /array/remove-range/zero-terminated-no-clear 1071s ok 25 /array/remove-range/zero-terminated-clear 1071s # End of remove-range tests 1071s # Start of set-size tests 1071s ok 26 /array/set-size/zero-terminated-null 1071s ok 27 /array/set-size/non-zero-terminated-no-clear 1071s ok 28 /array/set-size/non-zero-terminated-clear 1071s ok 29 /array/set-size/zero-terminated-no-clear 1071s ok 30 /array/set-size/zero-terminated-clear 1071s # Start of sized tests 1071s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 1071s ok 32 /array/set-size/sized/non-zero-terminated-clear 1071s ok 33 /array/set-size/sized/zero-terminated-no-clear 1071s ok 34 /array/set-size/sized/zero-terminated-clear 1071s # End of sized tests 1071s # End of set-size tests 1071s # Start of append-val tests 1071s ok 35 /array/append-val/non-zero-terminated-no-clear 1071s ok 36 /array/append-val/non-zero-terminated-clear 1071s ok 37 /array/append-val/zero-terminated-no-clear 1071s ok 38 /array/append-val/zero-terminated-clear 1071s # End of append-val tests 1071s # Start of prepend-val tests 1071s ok 39 /array/prepend-val/non-zero-terminated-no-clear 1071s ok 40 /array/prepend-val/non-zero-terminated-clear 1071s ok 41 /array/prepend-val/zero-terminated-no-clear 1071s ok 42 /array/prepend-val/zero-terminated-clear 1071s # End of prepend-val tests 1071s # Start of prepend-vals tests 1071s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 1071s ok 44 /array/prepend-vals/non-zero-terminated-clear 1071s ok 45 /array/prepend-vals/zero-terminated-no-clear 1071s ok 46 /array/prepend-vals/zero-terminated-clear 1071s # End of prepend-vals tests 1071s # Start of insert-vals tests 1071s ok 47 /array/insert-vals/non-zero-terminated-no-clear 1071s ok 48 /array/insert-vals/non-zero-terminated-clear 1071s ok 49 /array/insert-vals/zero-terminated-no-clear 1071s ok 50 /array/insert-vals/zero-terminated-clear 1071s # End of insert-vals tests 1071s # Start of remove-index tests 1071s ok 51 /array/remove-index/non-zero-terminated-no-clear 1071s ok 52 /array/remove-index/non-zero-terminated-clear 1071s ok 53 /array/remove-index/zero-terminated-no-clear 1071s ok 54 /array/remove-index/zero-terminated-clear 1071s # End of remove-index tests 1071s # Start of remove-index-fast tests 1071s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 1071s ok 56 /array/remove-index-fast/non-zero-terminated-clear 1071s ok 57 /array/remove-index-fast/zero-terminated-no-clear 1071s ok 58 /array/remove-index-fast/zero-terminated-clear 1071s # End of remove-index-fast tests 1071s # Start of sort tests 1071s ok 59 /array/sort/non-zero-terminated-no-clear 1071s ok 60 /array/sort/non-zero-terminated-clear 1071s ok 61 /array/sort/zero-terminated-no-clear 1071s ok 62 /array/sort/zero-terminated-clear 1071s # End of sort tests 1071s # Start of sort-with-data tests 1071s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 1071s ok 64 /array/sort-with-data/non-zero-terminated-clear 1071s ok 65 /array/sort-with-data/zero-terminated-no-clear 1071s ok 66 /array/sort-with-data/zero-terminated-clear 1071s # End of sort-with-data tests 1071s # End of array tests 1071s # Start of pointerarray tests 1071s ok 67 /pointerarray/add 1071s ok 68 /pointerarray/insert 1071s ok 69 /pointerarray/new-take 1071s ok 70 /pointerarray/new-take-null-terminated 1071s ok 71 /pointerarray/new-from-array 1071s ok 72 /pointerarray/new-from-null-terminated-array 1071s ok 73 /pointerarray/free-func 1071s ok 74 /pointerarray/array_extend_and_steal 1071s ok 75 /pointerarray/sort 1071s ok 76 /pointerarray/sort-with-data 1071s ok 77 /pointerarray/sort-values 1071s ok 78 /pointerarray/sort-values-with-data 1071s ok 79 /pointerarray/remove-range 1071s ok 80 /pointerarray/steal 1071s # Start of free tests 1071s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1071s ok 81 /pointerarray/free/null-terminated 1071s # End of free tests 1071s # Start of new-take tests 1071s ok 82 /pointerarray/new-take/empty 1071s ok 83 /pointerarray/new-take/overflow 1071s ok 84 /pointerarray/new-take/with-free-func 1071s # End of new-take tests 1071s # Start of new-take-null-terminated tests 1071s ok 85 /pointerarray/new-take-null-terminated/empty 1071s ok 86 /pointerarray/new-take-null-terminated/with-free-func 1071s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 1071s # End of new-take-null-terminated tests 1071s # Start of new-from-array tests 1071s ok 88 /pointerarray/new-from-array/empty 1071s ok 89 /pointerarray/new-from-array/overflow 1071s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 1071s # End of new-from-array tests 1071s # Start of new-from-null-terminated-array tests 1071s ok 91 /pointerarray/new-from-null-terminated-array/empty 1071s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1071s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 1071s # End of new-from-null-terminated-array tests 1071s # Start of ref-count tests 1071s ok 94 /pointerarray/ref-count/not-null-terminated 1071s ok 95 /pointerarray/ref-count/null-terminated 1071s # End of ref-count tests 1071s # Start of array_copy tests 1071s # /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 1071s ok 96 /pointerarray/array_copy/not-null-terminated 1071s # /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 1071s ok 97 /pointerarray/array_copy/null-terminated 1071s # End of array_copy tests 1071s # Start of array_extend tests 1071s ok 98 /pointerarray/array_extend/not-null-terminated 1071s ok 99 /pointerarray/array_extend/null-terminated 1071s # End of array_extend tests 1071s # Start of sort tests 1071s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1071s ok 100 /pointerarray/sort/example 1071s # End of sort tests 1071s # Start of sort-with-data tests 1071s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1071s ok 101 /pointerarray/sort-with-data/example 1071s # End of sort-with-data tests 1071s # Start of sort-values tests 1071s ok 102 /pointerarray/sort-values/example 1071s # End of sort-values tests 1071s # Start of sort-values-with-data tests 1071s ok 103 /pointerarray/sort-values-with-data/example 1071s # End of sort-values-with-data tests 1071s # Start of find tests 1071s ok 104 /pointerarray/find/empty 1071s ok 105 /pointerarray/find/non-empty 1071s # End of find tests 1071s # Start of steal_index tests 1071s ok 106 /pointerarray/steal_index/not-null-terminated 1071s ok 107 /pointerarray/steal_index/null-terminated 1071s # End of steal_index tests 1071s # End of pointerarray tests 1071s # Start of bytearray tests 1071s ok 108 /bytearray/steal 1071s ok 109 /bytearray/append 1071s ok 110 /bytearray/prepend 1071s ok 111 /bytearray/remove 1071s ok 112 /bytearray/remove-fast 1071s ok 113 /bytearray/remove-range 1071s ok 114 /bytearray/ref-count 1071s ok 115 /bytearray/set-size 1071s ok 116 /bytearray/sort 1071s ok 117 /bytearray/sort-with-data 1071s ok 118 /bytearray/new-take 1071s ok 119 /bytearray/new-take-overflow 1071s ok 120 /bytearray/free-to-bytes 1071s # End of bytearray tests 1071s ok - glib/array-test.test 1071s # Running test: glib/gdbus-peer.test 1071s TAP version 14 1071s # random seed: R02S7741f1ef59bcff2d41bc28bba4623bfd 1071s 1..12 1071s # Start of gdbus tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/.dirs/runtime 1071s # Testing with unix:dir address 1071s # Testing with unix:tmpdir address 1071s # Testing with unix:path address 1071s ok 1 /gdbus/peer-to-peer 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/delayed-message-processing/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/delayed-message-processing/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/delayed-message-processing/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/delayed-message-processing/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/delayed-message-processing/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/delayed-message-processing/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/delayed-message-processing/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/delayed-message-processing/.dirs/runtime 1071s # Testing with unix:dir address 1072s ok 2 /gdbus/delayed-message-processing 1072s # slow test /gdbus/delayed-message-processing executed in 0.56 secs 1072s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/nonce-tcp/.dirs/home 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/nonce-tcp/.dirs/cache 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/nonce-tcp/.dirs/system-config2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/nonce-tcp/.dirs/config 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/nonce-tcp/.dirs/system-data2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/nonce-tcp/.dirs/data 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/nonce-tcp/.dirs/state 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/nonce-tcp/.dirs/runtime 1072s ok 3 /gdbus/nonce-tcp 1072s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/tcp-anonymous/.dirs/home 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/tcp-anonymous/.dirs/cache 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/tcp-anonymous/.dirs/system-config2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/tcp-anonymous/.dirs/config 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/tcp-anonymous/.dirs/system-data2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/tcp-anonymous/.dirs/data 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/tcp-anonymous/.dirs/state 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/tcp-anonymous/.dirs/runtime 1072s ok 4 /gdbus/tcp-anonymous 1072s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/credentials/.dirs/home 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/credentials/.dirs/cache 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/credentials/.dirs/system-config2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/credentials/.dirs/config 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/credentials/.dirs/system-data2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/credentials/.dirs/data 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/credentials/.dirs/state 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/credentials/.dirs/runtime 1072s ok 5 /gdbus/credentials 1072s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/codegen-peer-to-peer/.dirs/home 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/codegen-peer-to-peer/.dirs/cache 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/codegen-peer-to-peer/.dirs/system-config2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/codegen-peer-to-peer/.dirs/config 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/codegen-peer-to-peer/.dirs/system-data2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/codegen-peer-to-peer/.dirs/data 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/codegen-peer-to-peer/.dirs/state 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/codegen-peer-to-peer/.dirs/runtime 1072s # Testing with unix:dir address 1072s # Machine ID: d859eeb5e84e4d76868f83f997b11562 1073s ok 6 /gdbus/codegen-peer-to-peer 1073s # slow test /gdbus/codegen-peer-to-peer executed in 1.13 secs 1073s # Start of peer-to-peer tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/signals/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/signals/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/signals/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/signals/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/signals/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/signals/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/signals/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/signals/.dirs/runtime 1073s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1073s # Testing with unix:dir address 1073s ok 7 /gdbus/peer-to-peer/signals 1073s # Start of invalid tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/server/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/server/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/server/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/server/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/server/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1073s ok 8 /gdbus/peer-to-peer/invalid/server 1073s # Start of conn tests 1073s # Start of stream tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1073s ok - glib/gdbus-peer.test 1073s # Running test: glib/converter-stream.test 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1073s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1073s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1073s # End of stream tests 1073s # Start of addr tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1073s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TLHQJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1073s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1073s # End of addr tests 1073s # End of conn tests 1073s # End of invalid tests 1073s # End of peer-to-peer tests 1073s # End of gdbus tests 1073s TAP version 14 1073s # random seed: R02S4bdd0ef12bf96375732d7b952fbdbd9d 1073s 1..17 1073s # Start of converter tests 1073s ok 1 /converter/basics 1073s # End of converter tests 1073s # Start of converter-input-stream tests 1073s ok 2 /converter-input-stream/expander 1073s ok 3 /converter-input-stream/compressor 1073s # Start of truncation tests 1074s ok 4 /converter-input-stream/truncation/zlib 1074s # slow test /converter-input-stream/truncation/zlib executed in 1.06 secs 1074s ok 5 /converter-input-stream/truncation/gzip 1074s # Executing: glib/converter-stream.test 1075s ok 6 /converter-input-stream/truncation/raw 1075s # End of truncation tests 1075s # Start of charset tests 1075s ok 7 /converter-input-stream/charset/utf8->latin1 1075s ok 8 /converter-input-stream/charset/latin1->utf8 1075s ok 9 /converter-input-stream/charset/fallbacks 1075s # End of charset tests 1075s # End of converter-input-stream tests 1075s # Start of converter-output-stream tests 1075s # Start of roundtrip tests 1075s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1075s ok 10 /converter-output-stream/roundtrip/zlib-0 1075s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1075s ok 11 /converter-output-stream/roundtrip/zlib-9 1075s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1075s ok 12 /converter-output-stream/roundtrip/gzip-0 1075s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1076s ok 13 /converter-output-stream/roundtrip/gzip-9 1076s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1076s ok 14 /converter-output-stream/roundtrip/raw-0 1076s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1076s ok 15 /converter-output-stream/roundtrip/raw-9 1076s # End of roundtrip tests 1076s # End of converter-output-stream tests 1076s # Start of converter-stream tests 1076s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1076s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1f583820 and GSocketClientAsyncConnectData 0x2aa1f57bf80 1076s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1076s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1076s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1f584dc0 for GSocketClientAsyncConnectData 0x2aa1f57bf80 1076s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1076s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1076s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1076s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1076s ok 16 /converter-stream/pollable 1076s ok 17 /converter-stream/leftover 1076s # End of converter-stream tests 1076s TAP version 14 1076s # random seed: R02Sa91329c25729f652847c40216fd80395 1076s 1..1 1076s # Start of gdbus tests 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_QVDOJ3/gdbus/proxy-unique-name/.dirs/home 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_QVDOJ3/gdbus/proxy-unique-name/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_QVDOJ3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_QVDOJ3/gdbus/proxy-unique-name/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_QVDOJ3/gdbus/proxy-unique-name/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_QVDOJ3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_QVDOJ3/gdbus/proxy-unique-name/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_QVDOJ3/gdbus/proxy-unique-name/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_QVDOJ3/gdbus/proxy-unique-name/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_QVDOJ3/gdbus/proxy-unique-name/.dirs/runtime 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s ok 1 /gdbus/proxy-unique-name 1076s # End of gdbus tests 1076s TAP version 14 1076s # random seed: R02S855ecb47355272ded548dd16480721f4 1076s 1..1 1076s # Start of gobject tests 1076s # Start of refcount tests 1076s ok - glib/converter-stream.test 1076s # Running test: glib/gdbus-proxy-unique-name.test 1076s ok - glib/gdbus-proxy-unique-name.test 1076s # Running test: glib/properties-refcount3.test 1079s # Executing: glib/properties-refcount3.test 1084s # Executing: glib/properties-refcount3.test 1089s # Executing: glib/properties-refcount3.test 1095s # Executing: glib/properties-refcount3.test 1100s # Executing: glib/properties-refcount3.test 1105s # Executing: glib/properties-refcount3.test 1106s # 1106s # stopping 1106s # 1106s # stopped 1106s # 1106s # 28552580 923418 1106s # 1106s ok 1 /gobject/refcount/properties-3 1106s # slow test /gobject/refcount/properties-3 executed in 30.02 secs 1106s # End of refcount tests 1106s # End of gobject tests 1106s ok - glib/properties-refcount3.test 1106s # Running test: glib/portal-support-none.test 1106s TAP version 14 1106s # random seed: R02S7dc9aea5595bd0902df4eb7908d9d876 1106s 1..1 1106s # Start of portal-support tests 1106s ok 1 /portal-support/none 1106s # End of portal-support tests 1106s ok - glib/portal-support-none.test 1106s # Running test: glib/permission.test 1106s ok - glib/permission.test 1106s TAP version 14 1106s # random seed: R02Sb77f7aa0d42caa3b64990a2a16ab69f1 1106s 1..1 1106s # Start of permission tests 1106s ok 1 /permission/simple 1106s # End of permission tests 1106s # Running test: glib/gdbus-test-codegen.test 1106s TAP version 14 1106s # random seed: R02S6e5dec5bde2a8d20e22c42fc4a0dc52d 1106s 1..8 1106s # Start of gdbus tests 1106s # Start of codegen tests 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/annotations/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/annotations/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/annotations/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/annotations/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/annotations/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/annotations/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/annotations/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/annotations/.dirs/runtime 1106s ok 1 /gdbus/codegen/annotations 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/interface_stability/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/interface_stability/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/interface_stability/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/interface_stability/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/interface_stability/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/interface_stability/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/interface_stability/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/interface_stability/.dirs/runtime 1106s ok 2 /gdbus/codegen/interface_stability 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/object-manager/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/object-manager/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/object-manager/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/object-manager/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/object-manager/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/object-manager/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/object-manager/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/object-manager/.dirs/runtime 1106s ok 3 /gdbus/codegen/object-manager 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/property-naming/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/property-naming/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/property-naming/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/property-naming/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/property-naming/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/property-naming/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/property-naming/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/property-naming/.dirs/runtime 1106s ok 4 /gdbus/codegen/property-naming 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/autocleanups/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/autocleanups/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/autocleanups/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/autocleanups/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/autocleanups/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/autocleanups/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/autocleanups/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/autocleanups/.dirs/runtime 1106s ok 5 /gdbus/codegen/autocleanups 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/deprecations/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/deprecations/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/deprecations/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/deprecations/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/deprecations/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/deprecations/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/deprecations/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/deprecations/.dirs/runtime 1106s ok 6 /gdbus/codegen/deprecations 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/standalone-interface-info/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/standalone-interface-info/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/standalone-interface-info/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/standalone-interface-info/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1106s ok 7 /gdbus/codegen/standalone-interface-info 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/unix-fd-list/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/unix-fd-list/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/unix-fd-list/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/unix-fd-list/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/unix-fd-list/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZKDXJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1106s ok 8 /gdbus/codegen/unix-fd-list 1106s # End of codegen tests 1106s # End of gdbus tests 1106s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1106s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1106s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1106s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1106s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1106s ok - glib/gdbus-test-codegen.test 1106s # Running test: glib/gdbus-proxy.test 1106s TAP version 14 1106s # random seed: R02S4f18d6ddeb417790e907ada26b6610f6 1106s 1..5 1106s # Start of gdbus tests 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/.dirs/runtime 1108s ok 1 /gdbus/proxy 1108s # slow test /gdbus/proxy executed in 1.79 secs 1108s # Start of proxy tests 1108s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-properties/.dirs/home 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-properties/.dirs/cache 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-properties/.dirs/system-config2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-properties/.dirs/config 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-properties/.dirs/system-data2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-properties/.dirs/data 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-properties/.dirs/state 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-properties/.dirs/runtime 1108s ok 2 /gdbus/proxy/no-properties 1108s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/wellknown-noauto/.dirs/home 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/wellknown-noauto/.dirs/cache 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/wellknown-noauto/.dirs/config 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/wellknown-noauto/.dirs/data 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/wellknown-noauto/.dirs/state 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/wellknown-noauto/.dirs/runtime 1108s ok 3 /gdbus/proxy/wellknown-noauto 1108s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/async/.dirs/home 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/async/.dirs/cache 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/async/.dirs/system-config2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/async/.dirs/config 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/async/.dirs/system-data2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/async/.dirs/data 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/async/.dirs/state 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/async/.dirs/runtime 1110s ok 4 /gdbus/proxy/async 1110s # slow test /gdbus/proxy/async executed in 1.71 secs 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-match-rule/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-match-rule/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-match-rule/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-match-rule/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-match-rule/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-match-rule/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-match-rule/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_H61VJ3/gdbus/proxy/no-match-rule/.dirs/runtime 1110s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1110s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1110s # Executing: glib/gdbus-proxy.test 1111s ok 5 /gdbus/proxy/no-match-rule 1111s # slow test /gdbus/proxy/no-match-rule executed in 1.74 secs 1111s # End of proxy tests 1111s # End of gdbus tests 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok - glib/gdbus-proxy.test 1111s # Running test: glib/objects-refcount1.test 1111s TAP version 14 1111s # random seed: R02S177ab0d94854cec3cfe5c8b7519fa8fd 1111s 1..1 1111s # Start of gobject tests 1111s # Start of refcount tests 1111s # init 0x2aa3f61bd90 1111s # 1111s # init 0x2aa3f61be90 1111s # 1115s # Executing: glib/objects-refcount1.test 1117s # dispose 0x2aa3f61bd90! 1117s # 1117s # dispose 0x2aa3f61be90! 1117s # 1117s ok 1 /gobject/refcount/object-basics 1117s # slow test /gobject/refcount/object-basics executed in 5.05 secs 1117s # End of refcount tests 1117s # End of gobject tests 1117s ok - glib/objects-refcount1.test 1117s # Running test: glib/utf8-misc.test 1117s TAP version 14 1117s # random seed: R02Sf1677ff80ae4afdc7b01224f20fc8dc8 1117s 1..7 1117s # Start of utf8 tests 1117s ok 1 /utf8/strlen 1117s ok 2 /utf8/strncpy 1117s ok 3 /utf8/strrchr 1117s ok 4 /utf8/reverse 1117s ok 5 /utf8/substring 1117s ok 6 /utf8/make-valid 1117s ok 7 /utf8/truncate-middle 1117s # End of utf8 tests 1117s ok - glib/utf8-misc.test 1117s # Running test: glib/markup-escape.test 1117s ok - glib/markup-escape.test 1117s # Running test: glib/markup-parse.test 1117s TAP version 14 1117s # random seed: R02Sea1fbba68b4c3a7fad262983b31f401e 1117s 1..41 1117s # Start of markup tests 1117s ok 1 /markup/format 1117s # Start of escape-text tests 1117s ok 2 /markup/escape-text/0 1117s ok 3 /markup/escape-text/1 1117s ok 4 /markup/escape-text/2 1117s ok 5 /markup/escape-text/3 1117s ok 6 /markup/escape-text/4 1117s ok 7 /markup/escape-text/5 1117s ok 8 /markup/escape-text/6 1117s ok 9 /markup/escape-text/7 1117s ok 10 /markup/escape-text/8 1117s ok 11 /markup/escape-text/9 1117s ok 12 /markup/escape-text/10 1117s ok 13 /markup/escape-text/11 1117s ok 14 /markup/escape-text/12 1117s ok 15 /markup/escape-text/13 1117s ok 16 /markup/escape-text/14 1117s ok 17 /markup/escape-text/15 1117s ok 18 /markup/escape-text/16 1117s ok 19 /markup/escape-text/17 1117s ok 20 /markup/escape-text/18 1117s ok 21 /markup/escape-text/19 1117s ok 22 /markup/escape-text/20 1117s ok 23 /markup/escape-text/21 1117s ok 24 /markup/escape-text/22 1117s # End of escape-text tests 1117s # Start of escape-unichar tests 1117s ok 25 /markup/escape-unichar/0 1117s ok 26 /markup/escape-unichar/1 1117s ok 27 /markup/escape-unichar/2 1117s ok 28 /markup/escape-unichar/3 1117s ok 29 /markup/escape-unichar/4 1117s ok 30 /markup/escape-unichar/5 1117s ok 31 /markup/escape-unichar/6 1117s ok 32 /markup/escape-unichar/7 1117s ok 33 /markup/escape-unichar/8 1117s ok 34 /markup/escape-unichar/9 1117s ok 35 /markup/escape-unichar/10 1117s ok 36 /markup/escape-unichar/11 1117s ok 37 /markup/escape-unichar/12 1117s ok 38 /markup/escape-unichar/13 1117s ok 39 /markup/escape-unichar/14 1117s ok 40 /markup/escape-unichar/15 1117s ok 41 /markup/escape-unichar/16 1117s # End of escape-unichar tests 1117s # End of markup tests 1117s TAP version 14 1117s # random seed: R02S7d915c5cd5c593a780dda4debb70ed42 1117s 1..71 1117s # Start of markup tests 1117s # Start of parse tests 1117s ok 1 /markup/parse/fail-29.gmarkup 1117s ok 2 /markup/parse/fail-17.gmarkup 1117s ok 3 /markup/parse/fail-36.gmarkup 1117s ok 4 /markup/parse/valid-11.gmarkup 1117s ok 5 /markup/parse/valid-2.gmarkup 1117s ok 6 /markup/parse/fail-35.gmarkup 1117s ok 7 /markup/parse/valid-7.gmarkup 1117s ok 8 /markup/parse/fail-14.gmarkup 1117s ok 9 /markup/parse/fail-40.gmarkup 1117s ok 10 /markup/parse/fail-7.gmarkup 1117s ok 11 /markup/parse/valid-3.gmarkup 1117s ok 12 /markup/parse/fail-6.gmarkup 1117s ok 13 /markup/parse/fail-37.gmarkup 1117s ok 14 /markup/parse/fail-32.gmarkup 1117s ok 15 /markup/parse/fail-30.gmarkup 1117s ok 16 /markup/parse/fail-34.gmarkup 1117s ok 17 /markup/parse/fail-3.gmarkup 1117s ok 18 /markup/parse/fail-52.gmarkup 1117s ok 19 /markup/parse/fail-51.gmarkup 1117s ok 20 /markup/parse/fail-4.gmarkup 1117s ok 21 /markup/parse/fail-48.gmarkup 1117s ok 22 /markup/parse/fail-24.gmarkup 1117s ok 23 /markup/parse/fail-53.gmarkup 1117s ok 24 /markup/parse/valid-4.gmarkup 1117s ok 25 /markup/parse/fail-27.gmarkup 1117s ok 26 /markup/parse/fail-20.gmarkup 1117s ok 27 /markup/parse/fail-44.gmarkup 1117s ok 28 /markup/parse/fail-13.gmarkup 1117s ok 29 /markup/parse/fail-18.gmarkup 1117s ok 30 /markup/parse/valid-8.gmarkup 1117s ok 31 /markup/parse/fail-45.gmarkup 1117s ok 32 /markup/parse/fail-41.gmarkup 1117s ok 33 /markup/parse/fail-1.gmarkup 1117s ok 34 /markup/parse/valid-6.gmarkup 1117s ok 35 /markup/parse/fail-22.gmarkup 1117s ok 36 /markup/parse/fail-43.gmarkup 1117s ok 37 /markup/parse/fail-9.gmarkup 1117s ok 38 /markup/parse/valid-10.gmarkup 1117s ok 39 /markup/parse/fail-11.gmarkup 1117s ok 40 /markup/parse/valid-14.gmarkup 1117s ok 41 /markup/parse/fail-26.gmarkup 1117s ok 42 /markup/parse/fail-8.gmarkup 1117s ok 43 /markup/parse/fail-31.gmarkup 1117s ok 44 /markup/parse/fail-16.gmarkup 1117s ok 45 /markup/parse/valid-12.gmarkup 1117s ok 46 /markup/parse/fail-12.gmarkup 1117s ok 47 /markup/parse/fail-49.gmarkup 1117s ok 48 /markup/parse/fail-39.gmarkup 1117s ok 49 /markup/parse/fail-2.gmarkup 1117s ok 50 /markup/parse/fail-25.gmarkup 1117s ok 51 /markup/parse/fail-38.gmarkup 1117s ok 52 /markup/parse/fail-10.gmarkup 1117s ok 53 /markup/parse/valid-5.gmarkup 1117s ok 54 /markup/parse/fail-15.gmarkup 1117s ok 55 /markup/parse/fail-54.gmarkup 1117s ok 56 /markup/parse/fail-28.gmarkup 1117s ok 57 /markup/parse/fail-5.gmarkup 1117s ok 58 /markup/parse/fail-47.gmarkup 1117s ok 59 /markup/parse/valid-13.gmarkup 1117s ok 60 /markup/parse/valid-16.gmarkup 1117s ok 61 /markup/parse/fail-23.gmarkup 1117s ok 62 /markup/parse/fail-33.gmarkup 1117s ok 63 /markup/parse/fail-19.gmarkup 1117s ok 64 /markup/parse/valid-9.gmarkup 1117s ok 65 /markup/parse/valid-1.gmarkup 1117s ok 66 /markup/parse/valid-17.gmarkup 1117s ok 67 /markup/parse/fail-46.gmarkup 1117s ok 68 /markup/parse/fail-42.gmarkup 1117s ok 69 /markup/parse/fail-21.gmarkup 1117s ok 70 /markup/parse/fail-50.gmarkup 1117s ok 71 /markup/parse/valid-15.gmarkup 1117s # End of parse tests 1117s # End of markup tests 1117s ok - glib/markup-parse.test 1117s # Running test: glib/object.test 1117s TAP version 14 1117s # random seed: R02S157858a17b3e6ddf5023eefda71cbf17 1117s ok - glib/object.test 1117s # Running test: glib/unix-streams.test 1117s 1..2 1117s # Start of object tests 1117s # Start of constructor tests 1117s ok 1 /object/constructor/singleton 1117s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1117s # End of constructor tests 1117s # End of object tests 1117s TAP version 14 1117s # random seed: R02S616c16e4100986fcf39b08ea0c43ff80 1117s 1..9 1117s # Start of unix-streams tests 1117s ok 1 /unix-streams/basic 1117s ok 2 /unix-streams/pipe-io-test 1117s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1118s ok 3 /unix-streams/nonblocking-io-test 1118s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1118s ok 4 /unix-streams/read_write 1118s ok 5 /unix-streams/read_writev 1118s ok 6 /unix-streams/write-wouldblock 1118s ok 7 /unix-streams/writev-wouldblock 1118s ok 8 /unix-streams/write-async-wouldblock 1118s ok 9 /unix-streams/writev-async-wouldblock 1118s # End of unix-streams tests 1118s ok - glib/unix-streams.test 1118s # Running test: glib/memory-monitor-portal.test 1118s TAP version 13 1118s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1118s 1..1 1118s ok - glib/memory-monitor-portal.test 1118s # Running test: glib/gdbus-method-invocation.test 1118s TAP version 14 1118s # random seed: R02S39825e9bee2b5c90a1b948bf7252674a 1118s 1..1 1118s # Start of gdbus tests 1118s # Start of method-invocation tests 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_TKEPJ3/gdbus/method-invocation/return/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_TKEPJ3/gdbus/method-invocation/return/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_TKEPJ3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_TKEPJ3/gdbus/method-invocation/return/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_TKEPJ3/gdbus/method-invocation/return/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_TKEPJ3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_TKEPJ3/gdbus/method-invocation/return/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_TKEPJ3/gdbus/method-invocation/return/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_TKEPJ3/gdbus/method-invocation/return/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_TKEPJ3/gdbus/method-invocation/return/.dirs/runtime 1118s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1118s # Calling org.freedesktop.DBus.Properties.Get 1118s # Calling org.freedesktop.DBus.Properties.Get 1118s # Calling org.freedesktop.DBus.Properties.Get 1118s # Calling org.freedesktop.DBus.Properties.Set 1118s # Calling org.freedesktop.DBus.Properties.GetAll 1118s # Calling org.example.Foo.WrongReturnType 1118s # Calling org.example.Foo.GetFDs 1118s # Calling org.example.Foo.GetFDs 1118s # Calling org.example.Foo.ReturnError 1118s # Calling org.example.Foo.CloseBeforeReturning 1118s ok 1 /gdbus/method-invocation/return 1118s ok - glib/gdbus-method-invocation.test 1118s # Running test: glib/g-file-info.test 1118s # End of method-invocation tests 1118s # End of gdbus tests 1118s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1118s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1118s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1118s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1118s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1118s TAP version 14 1118s # random seed: R02S390d8a1cb1b2fadf865a5ada549c2943 1118s 1..6 1118s # Start of g-file-info tests 1118s ok 1 /g-file-info/test_g_file_info 1118s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1118s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1118s ok 2 /g-file-info/xattrs 1118s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1118s ok 3 /g-file-info/set-modified-date-time-precision 1118s # Start of test_g_file_info tests 1118s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1118s ok 4 /g-file-info/test_g_file_info/modification-time 1118s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1118s ok 5 /g-file-info/test_g_file_info/access-time 1118s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1118s ok - glib/g-file-info.test 1118s # Running test: glib/slice.test 1118s ok 6 /g-file-info/test_g_file_info/creation-time 1118s # End of test_g_file_info tests 1118s # End of g-file-info tests 1118s TAP version 14 1118s # random seed: R02S5a0ac3369c2277377c2d9c243a1cb0ea 1118s 1..3 1118s # Start of slice tests 1118s ok 1 /slice/copy 1118s ok 2 /slice/chain 1118s ok 3 /slice/allocate 1118s # End of slice tests 1118s ok - glib/slice.test 1118s # Running test: glib/volumemonitor.test 1118s TAP version 14 1118s # random seed: R02S5cd442a22d54f18047b4a8cb00927290 1118s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1118s 1..3 1118s # Start of volumemonitor tests 1118s ok 1 /volumemonitor/connected_drives 1118s ok 2 /volumemonitor/volumes 1118s ok 3 /volumemonitor/mounts 1118s # End of volumemonitor tests 1118s ok - glib/volumemonitor.test 1118s # Running test: glib/utils-c-99.test 1118s TAP version 14 1118s # random seed: R02Seab6a357045217c7ac662f9c83f9bea6 1118s 1..41 1118s # Start of utils tests 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/language-names/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/language-names/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/language-names/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/language-names/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/language-names/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/language-names/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/language-names/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/language-names/.dirs/runtime 1118s ok 1 /utils/language-names 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/locale-variants/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/locale-variants/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/locale-variants/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/locale-variants/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/locale-variants/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/locale-variants/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/locale-variants/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/locale-variants/.dirs/runtime 1118s # Testing locale ‘en’ 1118s # Testing locale ‘sr@latin’ 1118s # Testing locale ‘fr_BE’ 1118s # Testing locale ‘sr_SR@latin’ 1118s # Testing locale ‘sr_SR@latin.UTF-8’ 1118s # Testing locale ‘sr@latin_invalid’ 1118s # Testing locale ‘sr.UTF-8@latin’ 1118s # Testing locale ‘sr.UTF-8_latin’ 1118s # Testing locale ‘sr.UTF-8@latin_invalid’ 1118s ok 2 /utils/locale-variants 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/version/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/version/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/version/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/version/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/version/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/version/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/version/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/version/.dirs/runtime 1118s ok 3 /utils/version 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/appname/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/appname/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/appname/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/appname/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/appname/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/appname/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/appname/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/appname/.dirs/runtime 1118s ok 4 /utils/appname 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/prgname-thread-safety/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/prgname-thread-safety/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/prgname-thread-safety/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/prgname-thread-safety/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/prgname-thread-safety/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/prgname-thread-safety/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/prgname-thread-safety/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/prgname-thread-safety/.dirs/runtime 1118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1118s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1118s ok 5 /utils/prgname-thread-safety 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/tmpdir/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/tmpdir/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/tmpdir/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/tmpdir/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/tmpdir/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/tmpdir/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/tmpdir/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/tmpdir/.dirs/runtime 1118s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1118s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1118s Unable to clean up temporary directory /tmp/test_utils-c-99_T0X2J3/utils/tmpdir: No such file or directory 1118s ok 6 /utils/tmpdir 1118s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/basic_bits/.dirs/home 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/basic_bits/.dirs/cache 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/basic_bits/.dirs/system-config2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/basic_bits/.dirs/config 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/basic_bits/.dirs/system-data2 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/basic_bits/.dirs/data 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/basic_bits/.dirs/state 1118s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/basic_bits/.dirs/runtime 1119s ok 7 /utils/basic_bits 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/bits/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/bits/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/bits/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/bits/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/bits/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/bits/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/bits/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/bits/.dirs/runtime 1119s ok 8 /utils/bits 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/swap/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/swap/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/swap/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/swap/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/swap/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/swap/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/swap/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/swap/.dirs/runtime 1119s ok 9 /utils/swap 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/find-program/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/find-program/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/find-program/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/find-program/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/find-program/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/find-program/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/find-program/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/find-program/.dirs/runtime 1119s ok 10 /utils/find-program 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/find-program-for-path/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/find-program-for-path/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/find-program-for-path/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/find-program-for-path/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/find-program-for-path/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/find-program-for-path/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/find-program-for-path/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/find-program-for-path/.dirs/runtime 1119s ok 11 /utils/find-program-for-path 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/debug/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/debug/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/debug/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/debug/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/debug/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/debug/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/debug/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/debug/.dirs/runtime 1119s Unable to clean up temporary directory /tmp/test_utils-c-99_T0X2J3/utils/debug: No such file or directory 1119s ok 12 /utils/debug 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/codeset/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/codeset/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/codeset/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/codeset/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/codeset/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/codeset/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/codeset/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/codeset/.dirs/runtime 1119s ok 13 /utils/codeset 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/codeset2/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/codeset2/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/codeset2/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/codeset2/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/codeset2/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/codeset2/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/codeset2/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/codeset2/.dirs/runtime 1119s Unable to clean up temporary directory /tmp/test_utils-c-99_T0X2J3/utils/codeset2: No such file or directory 1119s ok 14 /utils/codeset2 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/console-charset/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/console-charset/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/console-charset/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/console-charset/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/console-charset/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/console-charset/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/console-charset/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/console-charset/.dirs/runtime 1119s ok 15 /utils/console-charset 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/gettext/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/gettext/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/gettext/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/gettext/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/gettext/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/gettext/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/gettext/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/gettext/.dirs/runtime 1119s ok 16 /utils/gettext 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/username/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/username/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/username/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/username/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/username/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/username/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/username/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/username/.dirs/runtime 1119s ok 17 /utils/username 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/realname/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/realname/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/realname/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/realname/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/realname/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/realname/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/realname/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/realname/.dirs/runtime 1119s ok 18 /utils/realname 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/hostname/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/hostname/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/hostname/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/hostname/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/hostname/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/hostname/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/hostname/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/hostname/.dirs/runtime 1119s ok 19 /utils/hostname 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/os-info/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/os-info/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/os-info/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/os-info/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/os-info/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/os-info/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/os-info/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/os-info/.dirs/runtime 1119s # NAME: Ubuntu 1119s ok 20 /utils/os-info 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/.dirs/runtime 1119s ok 21 /utils/clear-pointer 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer-cast/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer-cast/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/clear-pointer-cast/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer-cast/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/clear-pointer-cast/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer-cast/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer-cast/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer-cast/.dirs/runtime 1119s ok 22 /utils/clear-pointer-cast 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/take-pointer/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/take-pointer/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/take-pointer/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/take-pointer/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/take-pointer/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/take-pointer/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/take-pointer/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/take-pointer/.dirs/runtime 1119s ok 23 /utils/take-pointer 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-source/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-source/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/clear-source/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-source/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/clear-source/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-source/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-source/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/clear-source/.dirs/runtime 1119s ok 24 /utils/clear-source 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/misc-mem/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/misc-mem/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/misc-mem/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/misc-mem/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/misc-mem/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/misc-mem/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/misc-mem/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/misc-mem/.dirs/runtime 1119s ok 25 /utils/misc-mem 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/.dirs/runtime 1119s # /utils/aligned-mem summary: Aligned memory allocator 1119s # Alignment must not be zero 1119s # Alignment must be a power of two 1119s # Alignment must be a multiple of sizeof(void*) 1119s ok 26 /utils/aligned-mem 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/free-sized/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/free-sized/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/free-sized/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/free-sized/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/free-sized/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/free-sized/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/free-sized/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/free-sized/.dirs/runtime 1119s # /utils/free-sized summary: Check that g_free_sized() works 1119s ok 27 /utils/free-sized 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/nullify/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/nullify/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/nullify/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/nullify/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/nullify/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/nullify/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/nullify/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/nullify/.dirs/runtime 1119s ok 28 /utils/nullify 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/atexit/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/atexit/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/atexit/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/atexit/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/atexit/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/atexit/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/atexit/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/atexit/.dirs/runtime 1119s Unable to clean up temporary directory /tmp/test_utils-c-99_T0X2J3/utils/atexit: No such file or directory 1119s ok 29 /utils/atexit 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/check-setuid/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/check-setuid/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/check-setuid/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/check-setuid/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/check-setuid/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/check-setuid/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/check-setuid/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/check-setuid/.dirs/runtime 1119s ok 30 /utils/check-setuid 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/int-limits/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/int-limits/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/int-limits/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/int-limits/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/int-limits/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/int-limits/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/int-limits/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/int-limits/.dirs/runtime 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1119s ok 31 /utils/int-limits 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-list/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-list/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/clear-list/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-list/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/clear-list/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-list/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-list/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/clear-list/.dirs/runtime 1119s ok 32 /utils/clear-list 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-slist/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-slist/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/clear-slist/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-slist/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/clear-slist/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-slist/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-slist/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/clear-slist/.dirs/runtime 1119s ok 33 /utils/clear-slist 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/steal-handle-id/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/steal-handle-id/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/steal-handle-id/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/steal-handle-id/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/steal-handle-id/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/steal-handle-id/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/steal-handle-id/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/steal-handle-id/.dirs/runtime 1119s ok 34 /utils/steal-handle-id 1119s # Start of user-special-dirs tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/desktop/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/desktop/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/desktop/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/desktop/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/desktop/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/desktop/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/desktop/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/desktop/.dirs/runtime 1119s ok 35 /utils/user-special-dirs/desktop 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1119s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1119s Unable to clean up temporary directory /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/load-unlocked: No such file or directory 1119s ok 36 /utils/user-special-dirs/load-unlocked 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1119s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1119s Unable to clean up temporary directory /tmp/test_utils-c-99_T0X2J3/utils/user-special-dirs/reload-leaks: No such file or directory 1119s ok 37 /utils/user-special-dirs/reload-leaks 1119s # End of user-special-dirs tests 1119s # Start of clear-pointer tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/side-effects/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/side-effects/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/side-effects/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/side-effects/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/side-effects/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/side-effects/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/side-effects/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/clear-pointer/side-effects/.dirs/runtime 1119s ok 38 /utils/clear-pointer/side-effects 1119s # End of clear-pointer tests 1119s # Start of aligned-mem tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/alignment/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/alignment/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/alignment/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/alignment/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/alignment/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/alignment/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/alignment/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/alignment/.dirs/runtime 1119s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1119s ok 39 /utils/aligned-mem/alignment 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/zeroed/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/zeroed/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/zeroed/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/zeroed/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/zeroed/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/zeroed/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/zeroed/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/zeroed/.dirs/runtime 1119s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1119s ok 40 /utils/aligned-mem/zeroed 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/free-sized/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/free-sized/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/free-sized/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/free-sized/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/free-sized/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/free-sized/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/free-sized/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_T0X2J3/utils/aligned-mem/free-sized/.dirs/runtime 1119s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1119s ok 41 /utils/aligned-mem/free-sized 1119s # Start of subprocess tests 1119s # End of subprocess tests 1119s # End of aligned-mem tests 1119s # End of utils tests 1119s ok - glib/utils-c-99.test 1119s # Running test: glib/mutex.test 1119s TAP version 14 1119s # random seed: R02S0ad22abce04ba5c19fa67bc78566e444 1119s 1..17 1119s # Start of thread tests 1119s ok 1 /thread/mutex1 1119s ok 2 /thread/mutex2 1119s ok 3 /thread/mutex3 1119s ok 4 /thread/mutex4 1120s # Executing: glib/mutex.test 1127s # Executing: glib/mutex.test 1128s ok 5 /thread/mutex5 1128s # slow test /thread/mutex5 executed in 9.55 secs 1128s # Start of mutex tests 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1128s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1129s ok 6 /thread/mutex/errno 1129s # slow test /thread/mutex/errno executed in 0.69 secs 1129s # Start of perf tests 1129s # max perf: inf mips 1129s ok 7 /thread/mutex/perf/uncontended 1129s # Start of contended tests 1129s # max perf: inf mips 1129s ok 8 /thread/mutex/perf/contended/1 1129s # max perf: inf mips 1129s ok 9 /thread/mutex/perf/contended/2 1129s # max perf: inf mips 1129s ok 10 /thread/mutex/perf/contended/3 1129s # max perf: 5.000000 mips 1129s ok 11 /thread/mutex/perf/contended/4 1129s # max perf: 6.000000 mips 1129s ok 12 /thread/mutex/perf/contended/5 1129s # max perf: inf mips 1129s ok 13 /thread/mutex/perf/contended/6 1129s # max perf: 8.000000 mips 1129s ok 14 /thread/mutex/perf/contended/7 1129s # max perf: 9.000000 mips 1129s ok 15 /thread/mutex/perf/contended/8 1129s # max perf: 10.000000 mips 1129s ok 16 /thread/mutex/perf/contended/9 1129s # max perf: inf mips 1129s ok 17 /thread/mutex/perf/contended/10 1129s # End of contended tests 1129s # End of perf tests 1129s # End of mutex tests 1129s # End of thread tests 1129s ok - glib/mutex.test 1129s # Running test: glib/sandbox.test 1129s TAP version 14 1129s # random seed: R02Sfe441a327ee235ee63391070f18c7a31 1129s 1..4 1129s # Start of sandbox tests 1129s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_M6JRJ3/sandbox/none/.dirs/home 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/none/.dirs/cache 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_M6JRJ3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_M6JRJ3/sandbox/none/.dirs/system-config2 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/none/.dirs/config 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_M6JRJ3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_M6JRJ3/sandbox/none/.dirs/system-data2 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/none/.dirs/data 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/none/.dirs/state 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_M6JRJ3/sandbox/none/.dirs/runtime 1129s ok 1 /sandbox/none 1129s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_M6JRJ3/sandbox/snap/.dirs/home 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/snap/.dirs/cache 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_M6JRJ3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_M6JRJ3/sandbox/snap/.dirs/system-config2 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/snap/.dirs/config 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_M6JRJ3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_M6JRJ3/sandbox/snap/.dirs/system-data2 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/snap/.dirs/data 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/snap/.dirs/state 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_M6JRJ3/sandbox/snap/.dirs/runtime 1129s # Created snap.yaml in /tmp/test_sandbox_M6JRJ3/snap/current/meta/snap.yaml 1129s ok 2 /sandbox/snap 1129s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_M6JRJ3/sandbox/classic-snap/.dirs/home 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/classic-snap/.dirs/cache 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_M6JRJ3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_M6JRJ3/sandbox/classic-snap/.dirs/system-config2 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/classic-snap/.dirs/config 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_M6JRJ3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_M6JRJ3/sandbox/classic-snap/.dirs/system-data2 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/classic-snap/.dirs/data 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/classic-snap/.dirs/state 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_M6JRJ3/sandbox/classic-snap/.dirs/runtime 1129s ok - glib/sandbox.test 1129s # Running test: glib/charset.test 1129s # Created snap.yaml in /tmp/test_sandbox_M6JRJ3/snap/current/meta/snap.yaml 1129s ok 3 /sandbox/classic-snap 1129s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/home 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/cache 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/system-config2 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/config 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/system-data2 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/data 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/state 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/runtime 1129s # Creating .flatpak-info in /tmp/test_sandbox_M6JRJ3/sandbox/flatpak/.dirs/runtime/.flatpak-info 1129s ok 4 /sandbox/flatpak 1129s # End of sandbox tests 1129s ok - glib/charset.test 1129s # Running test: glib/portal-support-flatpak-full.test 1129s TAP version 14 1129s # random seed: R02Sc3f7180c89ff117f68890b8d11ae83d1 1129s 1..2 1129s # Start of charset tests 1129s # Test 0 1129s # Test 1 1129s # Test 2 1129s # Test 3 1129s ok 1 /charset/language_names_with_category 1129s ok 2 /charset/language_names_with_category_async 1129s # End of charset tests 1129s TAP version 14 1129s # random seed: R02Sec6b5f2e572f87a2266332f8c2698943 1129s 1..1 1129s # Start of portal-support tests 1129s # Start of flatpak tests 1129s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/home 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/cache 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/system-config2 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/config 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/system-data2 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/data 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/state 1129s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/runtime 1129s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_00OPJ3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1129s ok 1 /portal-support/flatpak/full 1129s # End of flatpak tests 1129s # End of portal-support tests 1129s ok - glib/portal-support-flatpak-full.test 1129s # Running test: glib/date.test 1129s TAP version 14 1129s # random seed: R02S4c1e3016fea9c9d3d16d4bafcdd98ee0 1129s 1..122 1129s # Start of date tests 1129s ok 1 /date/basic 1129s ok 2 /date/empty 1129s ok 3 /date/dmy 1129s ok 4 /date/julian 1129s ok 5 /date/compare 1129s ok 6 /date/dates 1129s ok 7 /date/strftime 1129s ok 8 /date/two-digit-years 1129s ok 9 /date/parse 1129s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1129s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1129s ok 11 /date/month_substring 1129s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1129s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1129s ok 13 /date/clamp 1129s ok 14 /date/order 1129s ok 15 /date/copy 1129s # Vector 0: 0000-00-00, invalid 1129s # Vector 1: 0001-01-01, valid 1129s # Vector 2: 0000-01-01, invalid 1129s # Vector 3: 2000-02-30, invalid 1129s # Vector 4: 2000-02-29, valid 1129s # Vector 5: 2001-02-29, invalid 1129s # Vector 6: 65535-01-01, valid 1129s ok 16 /date/valid-dmy 1129s # Considering 2000-01-01 1129s # Considering 2000-01-07 1129s # Considering 2000-01-08 1129s # Considering 2001-01-01 1129s # Considering 2001-01-07 1129s # Considering 2001-01-08 1129s # Considering 2002-01-01 1129s # Considering 2002-01-07 1129s # Considering 2002-01-08 1129s # Considering 2003-01-01 1129s # Considering 2003-01-07 1129s # Considering 2003-01-08 1129s # Considering 2004-01-01 1129s # Considering 2004-01-07 1129s # Considering 2004-01-08 1129s # Considering 2006-01-01 1129s # Considering 2006-01-07 1129s # Considering 2006-01-08 1129s # Considering 2010-01-01 1129s # Considering 2010-01-07 1129s # Considering 2010-01-08 1129s ok 17 /date/week-of-year 1129s # Start of parse tests 1129s # Test 0 1129s # Test 1 1129s ok 18 /date/parse/invalid 1129s # End of parse tests 1129s # Start of year tests 1129s ok 19 /date/year/1 1129s ok 20 /date/year/2 1129s ok 21 /date/year/3 1129s ok 22 /date/year/4 1129s ok 23 /date/year/5 1129s ok 24 /date/year/6 1129s ok 25 /date/year/7 1129s ok 26 /date/year/8 1129s ok 27 /date/year/9 1129s ok 28 /date/year/10 1129s ok 29 /date/year/11 1129s ok 30 /date/year/12 1129s ok 31 /date/year/13 1129s ok 32 /date/year/14 1129s ok 33 /date/year/98 1130s ok 34 /date/year/99 1130s ok 35 /date/year/100 1130s ok 36 /date/year/101 1130s ok 37 /date/year/102 1130s ok 38 /date/year/103 1130s ok 39 /date/year/397 1130s ok 40 /date/year/398 1130s ok 41 /date/year/399 1130s ok 42 /date/year/400 1130s ok 43 /date/year/401 1130s ok 44 /date/year/402 1130s ok 45 /date/year/403 1130s ok 46 /date/year/404 1130s ok 47 /date/year/405 1130s ok 48 /date/year/406 1130s ok 49 /date/year/1598 1130s ok 50 /date/year/1599 1130s ok 51 /date/year/1600 1130s ok 52 /date/year/1601 1130s ok 53 /date/year/1602 1130s ok 54 /date/year/1650 1130s ok 55 /date/year/1651 1130s ok 56 /date/year/1897 1130s ok 57 /date/year/1898 1130s ok 58 /date/year/1899 1130s ok 59 /date/year/1900 1130s ok 60 /date/year/1901 1130s ok 61 /date/year/1902 1130s ok 62 /date/year/1903 1130s ok 63 /date/year/1961 1130s ok 64 /date/year/1962 1130s ok 65 /date/year/1963 1130s ok 66 /date/year/1964 1130s ok 67 /date/year/1965 1130s ok 68 /date/year/1967 1130s ok 69 /date/year/1968 1130s ok 70 /date/year/1969 1130s ok 71 /date/year/1970 1130s ok 72 /date/year/1971 1130s ok 73 /date/year/1972 1130s ok 74 /date/year/1973 1130s ok 75 /date/year/1974 1130s ok 76 /date/year/1975 1130s ok 77 /date/year/1976 1130s ok 78 /date/year/1977 1130s ok 79 /date/year/1978 1130s ok 80 /date/year/1979 1130s ok 81 /date/year/1980 1130s ok 82 /date/year/1981 1130s ok 83 /date/year/1982 1130s ok 84 /date/year/1983 1130s ok 85 /date/year/1984 1130s ok 86 /date/year/1985 1130s ok 87 /date/year/1986 1130s ok 88 /date/year/1987 1130s ok 89 /date/year/1988 1130s ok 90 /date/year/1989 1130s ok 91 /date/year/1990 1130s ok 92 /date/year/1991 1130s ok 93 /date/year/1992 1130s ok 94 /date/year/1993 1130s ok 95 /date/year/1994 1130s ok 96 /date/year/1995 1130s ok 97 /date/year/1996 1130s ok 98 /date/year/1997 1130s ok 99 /date/year/1998 1130s ok 100 /date/year/1999 1130s ok 101 /date/year/2000 1130s ok 102 /date/year/2001 1130s ok 103 /date/year/2002 1130s ok 104 /date/year/2003 1130s ok 105 /date/year/2004 1130s ok 106 /date/year/2005 1130s ok 107 /date/year/2006 1130s ok 108 /date/year/2007 1130s ok 109 /date/year/2008 1130s ok 110 /date/year/2009 1130s ok 111 /date/year/2010 1130s ok 112 /date/year/2011 1130s ok 113 /date/year/2012 1130s ok 114 /date/year/3000 1130s ok 115 /date/year/3001 1130s ok 116 /date/year/3002 1130s ok 117 /date/year/3998 1130s ok 118 /date/year/3999 1130s ok 119 /date/year/4000 1130s ok 120 /date/year/4001 1130s ok 121 /date/year/4002 1130s ok 122 /date/year/4003 1130s # End of year tests 1130s # End of date tests 1130s ok - glib/date.test 1130s # Running test: glib/data-output-stream.test 1130s TAP version 14 1130s # random seed: R02S4ec85676cdc3e675d12055b3972ae8af 1130s 1..7 1130s # Start of data-output-stream tests 1130s ok 1 /data-output-stream/basic 1130s ok 2 /data-output-stream/write-lines-LF 1130s ok 3 /data-output-stream/write-lines-CR 1130s ok 4 /data-output-stream/write-lines-CR-LF 1130s ok 5 /data-output-stream/write-int 1130s ok 6 /data-output-stream/seek 1130s ok 7 /data-output-stream/truncate 1130s # End of data-output-stream tests 1130s ok - glib/data-output-stream.test 1130s # Running test: glib/once.test 1130s TAP version 14 1130s # random seed: R02S2091509e0342c839b6360d5017da27a4 1130s 1..5 1130s # Start of once tests 1130s # /once/single-threaded summary: Test g_once() usage from a single thread 1130s ok 1 /once/single-threaded 1130s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1130s ok 2 /once/multi-threaded 1130s # End of once tests 1130s # Start of once-init tests 1130s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1130s ok 3 /once-init/single-threaded 1130s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1130s ok 4 /once-init/multi-threaded 1130s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1130s ok 5 /once-init/string 1130s # End of once-init tests 1130s ok - glib/once.test 1130s # Running test: glib/atomic-c-89.test 1130s TAP version 14 1130s # random seed: R02S7130bcaf933f66320e45d774ef575cdb 1130s 1..2 1130s # Start of atomic tests 1130s ok 1 /atomic/types 1130s ok 2 /atomic/threaded 1130s # End of atomic tests 1130s ok - glib/atomic-c-89.test 1130s # Running test: glib/option-argv0.test 1130s TAP version 14 1130s # random seed: R02S1ee9bfd97095ada1f9f3cbf5d3103f86 1130s 1..1 1130s # Start of option tests 1130s ok 1 /option/argv0 1130s # End of option tests 1130s ok - glib/option-argv0.test 1130s # Running test: glib/overflow.test 1130s TAP version 14 1130s # random seed: R02S5f80652eaade756ca9be18a8cfbe8b53 1130s 1..6 1130s # Start of glib tests 1130s # Start of checked-math tests 1130s ok 1 /glib/checked-math/guint-add 1130s ok 2 /glib/checked-math/guint-mul 1130s ok 3 /glib/checked-math/guint64-add 1130s ok 4 /glib/checked-math/guint64-mul 1130s ok 5 /glib/checked-math/gsize-add 1130s ok 6 /glib/checked-math/gsize-mul 1130s # End of checked-math tests 1130s # End of glib tests 1130s ok - glib/overflow.test 1130s # Running test: glib/threadtests.test 1130s TAP version 14 1130s # random seed: R02S2091fcf212d5accbfb0bfcd73d304439 1130s 1..5 1130s # Start of GObject tests 1130s ok 1 /GObject/threaded-object-init 1131s # Executing: glib/threadtests.test 1134s ok 2 /GObject/threaded-weak-ref 1134s # slow test /GObject/threaded-weak-ref executed in 3.90 secs 1134s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1134s # /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 1134s ok 3 /GObject/threaded-toggle-notify 1134s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1134s # Start of threaded-weak-ref tests 1134s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1134s # /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. 1134s ok 5 /GObject/threaded-weak-ref/on-finalization 1134s # End of threaded-weak-ref tests 1134s # End of GObject tests 1134s ok - glib/threadtests.test 1134s # Running test: glib/memory-monitor.test 1134s TAP version 14 1134s # random seed: R02S381607af77813af3968135112c5b9aa0 1134s 1..1 1134s # Start of memory-monitor tests 1134s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1134s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 1134s ok 1 /memory-monitor/default 1134s # End of memory-monitor tests 1134s ok - glib/memory-monitor.test 1134s # Running test: glib/converter.test 1134s TAP version 14 1134s # random seed: R02Sbc9f9a2d778a5a23c7d8df557a494c98 1134s 1..3 1134s # Start of converter tests 1134s ok - glib/converter.test 1134s # Running test: glib/gi-compile-repository.py.test 1134s ok 1 /converter/bytes 1134s ok 2 /converter/extra-bytes-at-end 1134s ok 3 /converter/gzip-os-property 1134s # End of converter tests 1134s TAP version 13 1134s ok 1 __main__.TestGICompileRepository.test_open_failure 1134s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1134s # gi-compile-repository: /usr/bin/gi-compile-repository 1134s # tmpdir: /tmp/tmpabiyao3v 1134s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpabiyao3v/invalid.typelib'] 1134s # Return code: 1 1134s # Output: 1134s # 1134s # Error: 1134s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 1134s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 1134s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1134s # gi-compile-repository: /usr/bin/gi-compile-repository 1134s # tmpdir: /tmp/tmpnmyn1xxa 1134s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpnmyn1xxa/GLib-2.typelib'] 1134s # Return code: 0 1134s # Output: 1134s # 1134s # Error: 1134s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 1134s # gi-compile-repository: /usr/bin/gi-compile-repository 1134s # tmpdir: /tmp/tmp46mh4s_n 1134s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 1134s # Return code: 1 1134s # Output: 1134s # 1134s # Error: 1134s # 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/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1135s # gi-compile-repository: /usr/bin/gi-compile-repository 1135s # tmpdir: /tmp/tmp9pnjr3ft 1135s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp9pnjr3ft/GObject-2.typelib', '--includedir', '/usr/lib/s390x-linux-gnu/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/tmp3f6bff04 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/s390x-linux-gnu/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 1137s # Executing: glib/gi-compile-repository.py.test 1137s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 1137s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1137s # gi-compile-repository: /usr/bin/gi-compile-repository 1137s # tmpdir: /tmp/tmpb3g6neth 1137s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpb3g6neth/Gio-2.typelib', '--includedir', '/usr/lib/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1137s # Return code: 0 1137s # Output: 1137s # 1137s # Error: 1138s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 1138s # gi-compile-repository: /usr/bin/gi-compile-repository 1138s # tmpdir: /tmp/tmpzdactk60 1138s # 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/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1138s # Return code: 1 1138s # Output: 1138s # 1138s # Error: 1138s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1138s 1..7 1138s TAP version 14 1138s # random seed: R02Sb56cd2daac17db7d9bb2a66446647b81 1138s 1..2 1138s # Start of properties tests 1138s # Start of custom-dispatch tests 1138s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1138s ok 1 /properties/custom-dispatch/init 1138s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1138s ok 2 /properties/custom-dispatch/set 1138s # End of custom-dispatch tests 1138s # End of properties tests 1138s ok - glib/gi-compile-repository.py.test 1138s # Running test: glib/custom-dispatch.test 1138s TAP version 14 1138s # random seed: R02S27b091e01e69ec3f243093e7933ba442 1138s 1..9 1138s # Start of gthread tests 1138s ok - glib/custom-dispatch.test 1138s # Running test: glib/spawn-singlethread.test 1138s ok - glib/spawn-singlethread.test 1138s # Running test: glib/network-address.test 1138s ok 1 /gthread/spawn-single-sync 1138s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1138s ok 2 /gthread/spawn-stderr-socket 1138s ok 3 /gthread/spawn-single-async 1138s # thread 1 1138s # thread 1 1138s ok 4 /gthread/spawn-single-async-with-fds 1138s ok 5 /gthread/spawn-async-with-invalid-fds 1138s ok 6 /gthread/spawn-script 1138s ok 7 /gthread/spawn-posix-spawn 1138s # Start of spawn tests 1138s ok 8 /gthread/spawn/nonexistent 1138s # FD map: 1138s # • 5 → 15 1138s # • 6 → 16 1138s # • 7 → 17 1138s # • 8 → 18 1138s # • 9 → 19 1138s # • 10 → 20 1138s # • 11 → 21 1138s # • 12 → 22 1138s # • 13 → 23 1138s # • 3 → 13 1138s ok 9 /gthread/spawn/fd-assignment-clash 1138s # End of spawn tests 1138s # End of gthread tests 1138s TAP version 14 1138s # random seed: R02Sdeaf40f4df8f4ed6d089806566df2dde 1138s 1..72 1138s # Start of network-address tests 1138s ok 1 /network-address/basic 1138s ok 2 /network-address/scope-id 1138s ok 3 /network-address/uri-scope-id 1138s ok 4 /network-address/to-string 1138s # Start of parse-host tests 1138s ok 5 /network-address/parse-host/0 1138s ok 6 /network-address/parse-host/1 1138s ok 7 /network-address/parse-host/2 1138s ok 8 /network-address/parse-host/3 1138s ok 9 /network-address/parse-host/4 1138s ok 10 /network-address/parse-host/5 1138s ok 11 /network-address/parse-host/6 1138s ok 12 /network-address/parse-host/7 1138s ok 13 /network-address/parse-host/8 1138s ok 14 /network-address/parse-host/9 1138s ok 15 /network-address/parse-host/10 1138s ok 16 /network-address/parse-host/11 1138s ok 17 /network-address/parse-host/12 1138s ok 18 /network-address/parse-host/13 1138s # End of parse-host tests 1138s # Start of parse-uri tests 1138s ok 19 /network-address/parse-uri/0 1138s ok 20 /network-address/parse-uri/1 1138s ok 21 /network-address/parse-uri/2 1138s ok 22 /network-address/parse-uri/3 1138s ok 23 /network-address/parse-uri/4 1138s ok 24 /network-address/parse-uri/5 1138s ok 25 /network-address/parse-uri/6 1138s ok 26 /network-address/parse-uri/7 1138s ok 27 /network-address/parse-uri/8 1138s ok 28 /network-address/parse-uri/9 1138s # End of parse-uri tests 1138s # Start of resolve-address tests 1138s # Input: 192.168.1.2 1138s ok 29 /network-address/resolve-address/0 1138s # Input: fe80::42 1138s ok 30 /network-address/resolve-address/1 1138s # Input: 192.168.1.2:80 1138s ok 31 /network-address/resolve-address/2 1138s # Input: [fe80::42] 1138s ok 32 /network-address/resolve-address/3 1138s # Input: [fe80::42]:80 1138s ok 33 /network-address/resolve-address/4 1138s # Input: 192.168.258 1138s ok 34 /network-address/resolve-address/5 1138s # Input: 192.11010306 1138s ok 35 /network-address/resolve-address/6 1138s # Input: 3232235778 1138s ok 36 /network-address/resolve-address/7 1138s # Input: 0300.0250.0001.0001 1138s ok 37 /network-address/resolve-address/8 1138s # Input: 0xC0.0xA8.0x01.0x02 1138s ok 38 /network-address/resolve-address/9 1138s # Input: 0xc0.0xa8.0x01.0x02 1138s ok 39 /network-address/resolve-address/10 1138s # Input: 0xc0a80102 1138s ok 40 /network-address/resolve-address/11 1138s # End of resolve-address tests 1138s # Start of loopback tests 1138s ok 41 /network-address/loopback/basic 1138s ok 42 /network-address/loopback/sync 1138s ok 43 /network-address/loopback/async 1138s # End of loopback tests 1138s # Start of localhost tests 1138s ok 44 /network-address/localhost/async 1138s ok 45 /network-address/localhost/sync 1138s # End of localhost tests 1138s # Start of happy-eyeballs tests 1138s ok 46 /network-address/happy-eyeballs/basic 1139s ok 47 /network-address/happy-eyeballs/parallel 1139s ok 48 /network-address/happy-eyeballs/slow-ipv4 1139s ok 49 /network-address/happy-eyeballs/slow-ipv6 1139s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1139s not ok - Test timed out after 300 seconds 1140s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1140s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1140s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1140s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1140s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1140s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1140s # /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. 1140s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1140s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1140s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1140s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1140s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1140s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1140s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1140s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1140s ok 57 /network-address/happy-eyeballs/both-error 1140s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1140s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1140s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1140s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1140s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1140s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1140s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1140s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1140s # End of happy-eyeballs tests 1140s # End of network-address tests 1140s # Start of gresolver tests 1140s # Start of resolve-address tests 1140s # Input: 192.168.1.2 1140s ok 61 /gresolver/resolve-address/0 1140s # Input: fe80::42 1140s ok 62 /gresolver/resolve-address/1 1140s # Input: 192.168.1.2:80 1140s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 1140s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1140s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1140s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1140s # Error: Error resolving “192.168.1.2:80”: Name or service not known 1140s ok 63 /gresolver/resolve-address/2 1140s # Input: [fe80::42] 1140s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 1140s # Error: Error resolving “[fe80::42]”: Name or service not known 1140s ok 64 /gresolver/resolve-address/3 1140s # Input: [fe80::42]:80 1140s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 1140s # Error: Error resolving “[fe80::42]:80”: Name or service not known 1140s ok 65 /gresolver/resolve-address/4 1140s # Input: 192.168.258 1140s # Error: Error resolving “192.168.258”: Name or service not known 1140s ok 66 /gresolver/resolve-address/5 1140s # Input: 192.11010306 1140s # Error: Error resolving “192.11010306”: Name or service not known 1140s ok 67 /gresolver/resolve-address/6 1140s # Input: 3232235778 1140s # Error: Error resolving “3232235778”: Name or service not known 1140s ok 68 /gresolver/resolve-address/7 1140s # Input: 0300.0250.0001.0001 1140s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 1140s ok 69 /gresolver/resolve-address/8 1140s # Input: 0xC0.0xA8.0x01.0x02 1140s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 1140s ok 70 /gresolver/resolve-address/9 1140s # Input: 0xc0.0xa8.0x01.0x02 1140s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 1140s ok 71 /gresolver/resolve-address/10 1140s # Input: 0xc0a80102 1140s # Error: Error resolving “0xc0a80102”: Name or service not known 1140s ok 72 /gresolver/resolve-address/11 1140s # End of resolve-address tests 1140s # End of gresolver tests 1140s ok - glib/network-address.test 1140s # Running test: glib/singleton.test 1140s ok - glib/singleton.test 1140s # Running test: glib/refstring.test 1140s TAP version 14 1140s # random seed: R02Sa5daef6832966bd73cbf7ef978878583 1140s 1..2 1140s # Start of gobject tests 1140s # Start of singleton tests 1140s ok 1 /gobject/singleton/construction 1140s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1140s ok 2 /gobject/singleton/construct-property 1140s # End of singleton tests 1140s # End of gobject tests 1140s TAP version 14 1140s # random seed: R02Se0700660d1ca4f617768265ae43093e4 1140s 1..8 1140s # Start of refstring tests 1140s # s = 'hello, world' (0x2aa412582c0) 1140s ok 1 /refstring/base 1140s ok 2 /refstring/length 1140s ok 3 /refstring/length-auto 1140s ok 4 /refstring/length-nuls 1140s # s = 'hello, world' (0x2aa41258160) 1140s # p = s = 'hello, world' (0x2aa41258160) 1140s # releasing p[0x2aa41258160] ('hello, world') 1140s # p = 'goodbye, world' (0x2aa412582c0) 1140s # releasing p[0x2aa412582c0] ('goodbye, world') 1140s # releasing s[0x2aa41258160] ('hello, world') 1140s ok 5 /refstring/intern 1140s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1140s ok 6 /refstring/hash_equal 1140s # /refstring/equal summary: Test g_ref_string_equal() standalone 1140s ok 7 /refstring/equal 1140s ok 8 /refstring/intern-thread-safety 1140s # End of refstring tests 1140s ok - glib/refstring.test 1140s # Running test: glib/binding.test 1140s TAP version 14 1140s # random seed: R02S3ab8d5d728f5fc8a5aad4b044de98774 1140s 1..19 1140s # Start of binding tests 1140s ok 1 /binding/default 1140s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1140s ok 2 /binding/canonicalisation 1140s ok 3 /binding/bidirectional 1140s ok 4 /binding/transform 1140s ok 5 /binding/transform-default 1140s ok 6 /binding/transform-closure 1140s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1140s ok 7 /binding/chain 1140s ok 8 /binding/sync-create 1140s ok 9 /binding/invert-boolean 1140s ok 10 /binding/same-object 1140s ok 11 /binding/unbind 1140s ok 12 /binding/unbind-weak 1140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1140s ok 13 /binding/unbind-multiple 1140s ok 14 /binding/fail 1140s ok 15 /binding/interface 1140s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1140s ok 16 /binding/concurrent-unbind 1140s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1140s ok 17 /binding/concurrent-finalizing 1140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1140s ok 18 /binding/dispose-source 1140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1140s ok 19 /binding/dispose-target 1140s # End of binding tests 1140s ok - glib/binding.test 1140s # Running test: glib/refcount-macro.test 1140s TAP version 14 1140s # random seed: R02S8925a078854358d7987be76ec6b56d75 1140s 1..4 1140s # Start of refcount tests 1140s ok 1 /refcount/grefcount 1140s ok 2 /refcount/gatomicrefcount 1140s # Start of grefcount tests 1140s ok 3 /refcount/grefcount/saturation 1140s # End of grefcount tests 1140s # Start of gatomicrefcount tests 1140s ok 4 /refcount/gatomicrefcount/saturation 1140s # End of gatomicrefcount tests 1140s ok - glib/refcount-macro.test 1140s # End of refcount tests 1140s # Running test: glib/memory-monitor-poll.test 1140s TAP version 14 1140s # random seed: R02S2c0462c3a12f7cf88b0bd2ccba8c28df 1140s 1..4 1140s # Start of memory-monitor-poll tests 1140s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 1140s ok 1 /memory-monitor-poll/dup-default 1140s # GLib-GIO-DEBUG: memory free ratio 0.190000 1140s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1140s ok 2 /memory-monitor-poll/critical-event 1140s # GLib-GIO-DEBUG: memory free ratio 0.290000 1140s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1140s ok 3 /memory-monitor-poll/medium-event 1140s # GLib-GIO-DEBUG: memory free ratio 0.390000 1140s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1140s ok 4 /memory-monitor-poll/low-event 1140s # End of memory-monitor-poll tests 1140s ok - glib/memory-monitor-poll.test 1140s # Running test: glib/field-info.test 1140s TAP version 14 1140s # random seed: R02S9e990b300d9af013a43186bb0a141804 1140s 1..4 1140s # Start of field-info tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_H5K1J3/field-info/basic-struct-field/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_H5K1J3/field-info/basic-struct-field/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_H5K1J3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_H5K1J3/field-info/basic-struct-field/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_H5K1J3/field-info/basic-struct-field/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_H5K1J3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_H5K1J3/field-info/basic-struct-field/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_H5K1J3/field-info/basic-struct-field/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_H5K1J3/field-info/basic-struct-field/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_H5K1J3/field-info/basic-struct-field/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct 1140s ok 1 /field-info/basic-struct-field 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_H5K1J3/field-info/basic-union-field/.dirs/home 1140s ok - glib/field-info.test 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_H5K1J3/field-info/basic-union-field/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_H5K1J3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_H5K1J3/field-info/basic-union-field/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_H5K1J3/field-info/basic-union-field/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_H5K1J3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_H5K1J3/field-info/basic-union-field/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_H5K1J3/field-info/basic-union-field/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_H5K1J3/field-info/basic-union-field/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_H5K1J3/field-info/basic-union-field/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union 1140s ok 2 /field-info/basic-union-field 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_H5K1J3/field-info/read-write-struct-field/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_H5K1J3/field-info/read-write-struct-field/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_H5K1J3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_H5K1J3/field-info/read-write-struct-field/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_H5K1J3/field-info/read-write-struct-field/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_H5K1J3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_H5K1J3/field-info/read-write-struct-field/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_H5K1J3/field-info/read-write-struct-field/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_H5K1J3/field-info/read-write-struct-field/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_H5K1J3/field-info/read-write-struct-field/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union 1140s ok 3 /field-info/read-write-struct-field 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_H5K1J3/field-info/read-write-union-field/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_H5K1J3/field-info/read-write-union-field/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_H5K1J3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_H5K1J3/field-info/read-write-union-field/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_H5K1J3/field-info/read-write-union-field/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_H5K1J3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_H5K1J3/field-info/read-write-union-field/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_H5K1J3/field-info/read-write-union-field/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_H5K1J3/field-info/read-write-union-field/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_H5K1J3/field-info/read-write-union-field/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union 1140s ok 4 /field-info/read-write-union-field 1140s # End of field-info tests 1140s # Running test: glib/portal-support-snap-classic.test 1140s ok - glib/portal-support-snap-classic.test 1140s TAP version 14 1140s # random seed: R02Sef67637b82a815928853f51a3e302a67 1140s 1..3 1140s # Start of portal-support tests 1140s # Start of snap-classic tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl/.dirs/runtime 1140s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/no-snapctl: No such file or directory 1140s ok 1 /portal-support/snap-classic/no-snapctl 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/runtime 1140s # Created snap.yaml in /tmp/test_portal-support-snap-classic_WUUZJ3/meta/snap.yaml 1140s # Created snapctl in /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none/.dirs/runtime/snapctl 1140s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/none: No such file or directory 1140s ok 2 /portal-support/snap-classic/none 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/runtime 1140s # Created snap.yaml in /tmp/test_portal-support-snap-classic_WUUZJ3/meta/snap.yaml 1140s # Created snapctl in /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all/.dirs/runtime/snapctl 1140s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WUUZJ3/portal-support/snap-classic/all: No such file or directory 1140s ok 3 /portal-support/snap-classic/all 1140s # End of snap-classic tests 1140s # End of portal-support tests 1140s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WUUZJ3: No such file or directory 1140s # Running test: glib/filenamecompleter.test 1141s TAP version 14 1141s # random seed: R02S8fa556dcb9dd6685f8bf207e05006dd6 1141s 1..1 1141s # Start of filenamecompleter tests 1141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_2ZRZJ3/filenamecompleter/basic/.dirs/home 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_2ZRZJ3/filenamecompleter/basic/.dirs/cache 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_2ZRZJ3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_2ZRZJ3/filenamecompleter/basic/.dirs/system-config2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_2ZRZJ3/filenamecompleter/basic/.dirs/config 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_2ZRZJ3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_2ZRZJ3/filenamecompleter/basic/.dirs/system-data2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_2ZRZJ3/filenamecompleter/basic/.dirs/data 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_2ZRZJ3/filenamecompleter/basic/.dirs/state 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_2ZRZJ3/filenamecompleter/basic/.dirs/runtime 1141s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1141s ok 1 /filenamecompleter/basic 1141s # End of filenamecompleter tests 1141s ok - glib/filenamecompleter.test 1141s # Running test: glib/gdbus-proxy-threads.test 1141s TAP version 14 1141s # random seed: R02Sd4e831e7de8497f53d9f2eb43cb58f8e 1141s 1..1 1141s # Start of gdbus tests 1141s # Start of proxy tests 1141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_1UBZJ3/gdbus/proxy/vs-threads/.dirs/home 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_1UBZJ3/gdbus/proxy/vs-threads/.dirs/cache 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_1UBZJ3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_1UBZJ3/gdbus/proxy/vs-threads/.dirs/system-config2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_1UBZJ3/gdbus/proxy/vs-threads/.dirs/config 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_1UBZJ3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_1UBZJ3/gdbus/proxy/vs-threads/.dirs/system-data2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_1UBZJ3/gdbus/proxy/vs-threads/.dirs/data 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_1UBZJ3/gdbus/proxy/vs-threads/.dirs/state 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_1UBZJ3/gdbus/proxy/vs-threads/.dirs/runtime 1141s ok 1 /gdbus/proxy/vs-threads 1141s # slow test /gdbus/proxy/vs-threads executed in 0.51 secs 1141s # End of proxy tests 1141s # End of gdbus tests 1141s cleaning up pid 38531 1141s ok - glib/gdbus-proxy-threads.test 1141s # Running test: glib/gdbus-introspection.test 1141s TAP version 14 1141s # random seed: R02S226353c4bfae6adfc79b196fe3b266cb 1141s 1..4 1141s # Start of gdbus tests 1141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-parser/.dirs/home 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-parser/.dirs/cache 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-parser/.dirs/system-config2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-parser/.dirs/config 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-parser/.dirs/system-data2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-parser/.dirs/data 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-parser/.dirs/state 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-parser/.dirs/runtime 1141s ok 1 /gdbus/introspection-parser 1141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-generate/.dirs/home 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-generate/.dirs/cache 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-generate/.dirs/system-config2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-generate/.dirs/config 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-generate/.dirs/system-data2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-generate/.dirs/data 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-generate/.dirs/state 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-generate/.dirs/runtime 1141s ok 2 /gdbus/introspection-generate 1141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-default-direction/.dirs/home 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-default-direction/.dirs/cache 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-default-direction/.dirs/system-config2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-default-direction/.dirs/config 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-default-direction/.dirs/system-data2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-default-direction/.dirs/data 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-default-direction/.dirs/state 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-default-direction/.dirs/runtime 1141s ok 3 /gdbus/introspection-default-direction 1141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-extra-data/.dirs/home 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-extra-data/.dirs/cache 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-extra-data/.dirs/system-config2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-extra-data/.dirs/config 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-extra-data/.dirs/system-data2 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-extra-data/.dirs/data 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-extra-data/.dirs/state 1141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_PTEOJ3/gdbus/introspection-extra-data/.dirs/runtime 1141s ok 4 /gdbus/introspection-extra-data 1141s # End of gdbus tests 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s ok - glib/gdbus-introspection.test 1141s # Running test: glib/spawn-multithreaded.test 1141s TAP version 14 1141s # random seed: R02S43e48bef38c9c28e442f3caa9fe6df36 1141s 1..4 1141s # Start of gthread tests 1141s # Executing: glib/spawn-multithreaded.test 1142s # Child 38554 (ttl 1) exited, status 0 1143s # Child 38555 (ttl 2) exited, status 0 1143s ok 1 /gthread/spawn-childs 1143s # slow test /gthread/spawn-childs executed in 2.01 secs 1143s # Created pid: 38560 (ttl 1) 1143s # Created pid: 38561 (ttl 2) 1144s # Child 38560 (ttl 1) exited, status 0 1145s # Child 38561 (ttl 2) exited, status 0 1145s ok 2 /gthread/spawn-childs-threads 1145s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1145s ok 3 /gthread/spawn-sync 1145s ok 4 /gthread/spawn-async 1145s # End of gthread tests 1145s ok - glib/spawn-multithreaded.test 1145s # Running test: glib/network-monitor.test 1145s TAP version 14 1145s # random seed: R02S8770faa24961a57a3151a415999f9e72 1145s 1..4 1145s # Start of network-monitor tests 1145s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1145s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1145s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1145s ok - glib/network-monitor.test 1145s # Running test: glib/rec-mutex.test 1145s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1145s ok 1 /network-monitor/default 1145s ok 2 /network-monitor/remove_default 1145s ok 3 /network-monitor/add_networks 1145s ok 4 /network-monitor/remove_networks 1145s # End of network-monitor tests 1145s TAP version 14 1145s # random seed: R02Sc7eb822449a1f504b73d2da450dfc3bc 1145s 1..29 1145s # Start of thread tests 1145s ok 1 /thread/rec-mutex1 1145s ok 2 /thread/rec-mutex2 1145s ok 3 /thread/rec-mutex3 1145s ok - glib/rec-mutex.test 1145s # Running test: glib/atomic-c-11.test 1145s ok - glib/atomic-c-11.test 1145s # Running test: glib/fileutils.test 1145s ok 4 /thread/rec-mutex4 1145s # Start of rec-mutex tests 1145s # Start of perf tests 1145s # Start of uncontended tests 1145s # max perf: inf mips 1145s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1145s # max perf: inf mips 1145s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1145s # max perf: inf mips 1145s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1145s # max perf: 1.000000 mips 1145s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1145s # max perf: inf mips 1145s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1145s # End of uncontended tests 1145s # Start of contended1 tests 1145s # max perf: inf mips 1145s ok 10 /thread/rec-mutex/perf/contended1/depth1 1145s # max perf: inf mips 1145s ok 11 /thread/rec-mutex/perf/contended1/depth2 1145s # max perf: inf mips 1145s ok 12 /thread/rec-mutex/perf/contended1/depth3 1145s # max perf: inf mips 1145s ok 13 /thread/rec-mutex/perf/contended1/depth4 1145s # max perf: 2.000000 mips 1145s ok 14 /thread/rec-mutex/perf/contended1/depth5 1145s # End of contended1 tests 1145s # Start of contended2 tests 1145s # max perf: inf mips 1145s ok 15 /thread/rec-mutex/perf/contended2/depth1 1145s # max perf: inf mips 1145s ok 16 /thread/rec-mutex/perf/contended2/depth2 1145s # max perf: 3.000000 mips 1145s ok 17 /thread/rec-mutex/perf/contended2/depth3 1145s # max perf: 3.000000 mips 1145s ok 18 /thread/rec-mutex/perf/contended2/depth4 1145s # max perf: 3.000000 mips 1145s ok 19 /thread/rec-mutex/perf/contended2/depth5 1145s # End of contended2 tests 1145s # Start of contended3 tests 1145s # max perf: inf mips 1145s ok 20 /thread/rec-mutex/perf/contended3/depth1 1145s # max perf: 4.000000 mips 1145s ok 21 /thread/rec-mutex/perf/contended3/depth2 1145s # max perf: 4.000000 mips 1145s ok 22 /thread/rec-mutex/perf/contended3/depth3 1145s # max perf: 4.000000 mips 1145s ok 23 /thread/rec-mutex/perf/contended3/depth4 1145s # max perf: 4.000000 mips 1145s ok 24 /thread/rec-mutex/perf/contended3/depth5 1145s # End of contended3 tests 1145s # Start of contended4 tests 1145s # max perf: 5.000000 mips 1145s ok 25 /thread/rec-mutex/perf/contended4/depth1 1145s # max perf: 5.000000 mips 1145s ok 26 /thread/rec-mutex/perf/contended4/depth2 1145s # max perf: 5.000000 mips 1145s ok 27 /thread/rec-mutex/perf/contended4/depth3 1145s # max perf: 5.000000 mips 1145s ok 28 /thread/rec-mutex/perf/contended4/depth4 1145s # max perf: 5.000000 mips 1145s ok 29 /thread/rec-mutex/perf/contended4/depth5 1145s # End of contended4 tests 1145s # End of perf tests 1145s # End of rec-mutex tests 1145s # End of thread tests 1145s TAP version 14 1145s # random seed: R02S05c455b1c2505d85f5b4a9027b2ad018 1145s 1..2 1145s # Start of atomic tests 1145s ok 1 /atomic/types 1145s ok 2 /atomic/threaded 1145s # End of atomic tests 1145s TAP version 14 1145s # random seed: R02Sb3b70d534144aa3f36ec9ed3d5728c34 1145s 1..27 1145s # Start of fileutils tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/paths/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/paths/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/paths/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/paths/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/paths/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/paths/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/paths/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/paths/.dirs/runtime 1145s ok 1 /fileutils/paths 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-path/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-path/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/build-path/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-path/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/build-path/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-path/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-path/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/build-path/.dirs/runtime 1145s ok 2 /fileutils/build-path 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-pathv/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-pathv/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/build-pathv/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-pathv/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/build-pathv/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-pathv/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-pathv/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/build-pathv/.dirs/runtime 1145s ok 3 /fileutils/build-pathv 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-filename/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-filename/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/build-filename/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-filename/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/build-filename/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-filename/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-filename/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/build-filename/.dirs/runtime 1145s ok 4 /fileutils/build-filename 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-filenamev/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-filenamev/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/build-filenamev/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-filenamev/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/build-filenamev/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-filenamev/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/build-filenamev/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/build-filenamev/.dirs/runtime 1145s ok 5 /fileutils/build-filenamev 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents/.dirs/runtime 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # Checking g_mkdir_with_parents() in subdir ./hum/ 1145s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 1145s ok 6 /fileutils/mkdir-with-parents 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents-permission/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents-permission/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents-permission/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents-permission/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents-permission/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/mkdir-with-parents-permission/.dirs/runtime 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s ok 7 /fileutils/mkdir-with-parents-permission 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/format-size-for-display/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/format-size-for-display/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/format-size-for-display/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/format-size-for-display/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/format-size-for-display/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/format-size-for-display/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/format-size-for-display/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/format-size-for-display/.dirs/runtime 1145s ok 8 /fileutils/format-size-for-display 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/errors/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/errors/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/errors/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/errors/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/errors/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/errors/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/errors/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/errors/.dirs/runtime 1145s ok 9 /fileutils/errors 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/basename/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/basename/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/basename/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/basename/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/basename/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/basename/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/basename/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/basename/.dirs/runtime 1145s ok 10 /fileutils/basename 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-basename/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-basename/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/get-basename/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-basename/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/get-basename/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-basename/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-basename/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/get-basename/.dirs/runtime 1145s ok 11 /fileutils/get-basename 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/dirname/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/dirname/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/dirname/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/dirname/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/dirname/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/dirname/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/dirname/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/dirname/.dirs/runtime 1145s ok 12 /fileutils/dirname 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/dir-make-tmp/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/dir-make-tmp/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/dir-make-tmp/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/dir-make-tmp/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/dir-make-tmp/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/dir-make-tmp/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/dir-make-tmp/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/dir-make-tmp/.dirs/runtime 1145s ok 13 /fileutils/dir-make-tmp 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/file-open-tmp/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/file-open-tmp/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/file-open-tmp/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/file-open-tmp/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/file-open-tmp/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/file-open-tmp/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/file-open-tmp/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/file-open-tmp/.dirs/runtime 1145s ok 14 /fileutils/file-open-tmp 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/file-test/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/file-test/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/file-test/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/file-test/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/file-test/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/file-test/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/file-test/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/file-test/.dirs/runtime 1145s ok 15 /fileutils/file-test 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkstemp/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkstemp/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/mkstemp/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkstemp/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/mkstemp/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkstemp/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkstemp/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/mkstemp/.dirs/runtime 1145s ok 16 /fileutils/mkstemp 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdtemp/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdtemp/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/mkdtemp/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdtemp/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/mkdtemp/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdtemp/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/mkdtemp/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/mkdtemp/.dirs/runtime 1145s ok 17 /fileutils/mkdtemp 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/get-contents/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/get-contents/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents/.dirs/runtime 1145s ok 18 /fileutils/get-contents 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents-large-file/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents-large-file/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/get-contents-large-file/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents-large-file/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/get-contents-large-file/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents-large-file/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents-large-file/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/get-contents-large-file/.dirs/runtime 1145s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/set-contents/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/set-contents/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents/.dirs/runtime 1145s ok 20 /fileutils/set-contents 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/.dirs/runtime 1145s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1145s # Flags 0 and test 0 1145s # Flags 0 and test 1 1145s # Flags 0 and test 2 1145s # Flags 0 and test 3 1145s # Flags 0 and test 4 1145s # Flags 0 and test 5 1145s # Flags 0 and test 6 1145s # Flags 1 and test 0 1145s # Flags 1 and test 1 1145s # Flags 1 and test 2 1145s # Flags 1 and test 3 1145s # Flags 1 and test 4 1145s # Flags 1 and test 5 1145s # Flags 1 and test 6 1145s # Flags 2 and test 0 1145s # Flags 2 and test 1 1145s # Flags 2 and test 2 1145s # Flags 2 and test 3 1145s # Flags 2 and test 4 1145s # Flags 2 and test 5 1145s # Flags 2 and test 6 1145s # Flags 3 and test 0 1145s # Flags 3 and test 1 1145s # Flags 3 and test 2 1145s # Flags 3 and test 3 1145s # Flags 3 and test 4 1145s # Flags 3 and test 5 1145s # Flags 3 and test 6 1145s # Flags 4 and test 0 1145s # Flags 4 and test 1 1145s # Flags 4 and test 2 1145s # Flags 4 and test 3 1145s # Flags 4 and test 4 1145s # Flags 4 and test 5 1145s # Flags 4 and test 6 1145s # Flags 5 and test 0 1145s # Flags 5 and test 1 1145s # Flags 5 and test 2 1145s # Flags 5 and test 3 1145s # Flags 5 and test 4 1145s # Flags 5 and test 5 1145s # Flags 5 and test 6 1145s # Flags 6 and test 0 1145s # Flags 6 and test 1 1145s # Flags 6 and test 2 1145s # Flags 6 and test 3 1145s # Flags 6 and test 4 1145s # Flags 6 and test 5 1145s # Flags 6 and test 6 1145s ok 21 /fileutils/set-contents-full 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/read-link/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/read-link/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/read-link/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/read-link/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/read-link/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/read-link/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/read-link/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/read-link/.dirs/runtime 1145s ok 22 /fileutils/read-link 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/stdio-wrappers/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/stdio-wrappers/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/stdio-wrappers/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/stdio-wrappers/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/stdio-wrappers/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/stdio-wrappers/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/stdio-wrappers/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/stdio-wrappers/.dirs/runtime 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s ok 23 /fileutils/stdio-wrappers 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/fopen-modes/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/fopen-modes/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/fopen-modes/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/fopen-modes/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/fopen-modes/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/fopen-modes/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/fopen-modes/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/fopen-modes/.dirs/runtime 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1145s # Testing fopen() mode 'w' 1145s # Testing fopen() mode 'r' 1145s # Testing fopen() mode 'a' 1145s # Testing fopen() mode 'w+' 1145s # Testing fopen() mode 'r+' 1145s # Testing fopen() mode 'a+' 1145s # Testing fopen() mode 'wb' 1145s # Testing fopen() mode 'rb' 1145s # Testing fopen() mode 'ab' 1145s # Testing fopen() mode 'w+b' 1145s # Testing fopen() mode 'r+b' 1145s # Testing fopen() mode 'a+b' 1145s # Testing fopen() mode 'wb+' 1145s # Testing fopen() mode 'rb+' 1145s # Testing fopen() mode 'ab+' 1145s # Testing fopen() mode 'we' 1145s # Testing fopen() mode 're' 1145s # Testing fopen() mode 'ae' 1145s # Testing fopen() mode 'w+e' 1145s # Testing fopen() mode 'r+e' 1145s # Testing fopen() mode 'a+e' 1145s # Testing fopen() mode 'wbe' 1145s # Testing fopen() mode 'rbe' 1145s # Testing fopen() mode 'abe' 1145s # Testing fopen() mode 'w+be' 1145s # Testing fopen() mode 'r+be' 1145s # Testing fopen() mode 'a+be' 1145s # Testing fopen() mode 'wb+e' 1145s # Testing fopen() mode 'rb+e' 1145s # Testing fopen() mode 'ab+e' 1145s # Testing fopen() mode 'web' 1145s # Testing fopen() mode 'reb' 1145s # Testing fopen() mode 'aeb' 1145s # Testing fopen() mode 'w+eb' 1145s # Testing fopen() mode 'r+eb' 1145s # Testing fopen() mode 'a+eb' 1145s # Testing fopen() mode 'web+' 1145s # Testing fopen() mode 'reb+' 1145s # Testing fopen() mode 'aeb+' 1145s ok 24 /fileutils/fopen-modes 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/clear-fd/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/clear-fd/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/clear-fd/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/clear-fd/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/clear-fd/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/clear-fd/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/clear-fd/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/clear-fd/.dirs/runtime 1145s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1145s # Will be closed by autocleanup: 3, -42 1145s # Testing error handling 1145s ok 25 /fileutils/clear-fd 1145s # Start of set-contents-full tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-file/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-file/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-file/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-file/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-file/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-file/.dirs/runtime 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1145s ok 26 /fileutils/set-contents-full/read-only-file 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-directory/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-directory/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-directory/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-directory/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-directory/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_FZFXJ3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1145s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1145s # Flags 0 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # Flags 1 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # Flags 2 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # Flags 3 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # Flags 4 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # Flags 5 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # Flags 6 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s ok - glib/fileutils.test 1145s # Running test: glib/refcount.test 1145s ok - glib/refcount.test 1145s ok 27 /fileutils/set-contents-full/read-only-directory 1145s # End of set-contents-full tests 1145s # Start of clear-fd tests 1145s # Start of subprocess tests 1145s # End of subprocess tests 1145s # End of clear-fd tests 1145s # End of fileutils tests 1145s Unable to clean up temporary directory /tmp/test_fileutils_FZFXJ3/glib-file-set-contents-full-rodir-HE2TJ3: Directory not empty 1145s Unable to clean up temporary directory /tmp/test_fileutils_FZFXJ3/glib-file-set-contents-full-rodir-9X4TJ3: Directory not empty 1145s Unable to clean up temporary directory /tmp/test_fileutils_FZFXJ3/glib-file-set-contents-full-rodir-DR1TJ3: Directory not empty 1145s Unable to clean up temporary directory /tmp/test_fileutils_FZFXJ3/glib-file-set-contents-full-rodir-I7YTJ3: Directory not empty 1145s Unable to clean up temporary directory /tmp/test_fileutils_FZFXJ3/glib-file-set-contents-full-rodir-VU2TJ3: Directory not empty 1145s Unable to clean up temporary directory /tmp/test_fileutils_FZFXJ3/glib-file-set-contents-full-rodir-113TJ3: Directory not empty 1145s Unable to clean up temporary directory /tmp/test_fileutils_FZFXJ3/glib-file-set-contents-full-rodir-OR8TJ3: Directory not empty 1145s Unable to clean up temporary directory /tmp/test_fileutils_FZFXJ3: Directory not empty 1145s TAP version 14 1145s # random seed: R02S7ffe8180ed5c8697b7577beeb9dd8162 1145s 1..4 1145s # Start of refcount tests 1145s ok 1 /refcount/grefcount 1145s ok 2 /refcount/gatomicrefcount 1145s # Start of grefcount tests 1145s ok 3 /refcount/grefcount/saturation 1145s # End of grefcount tests 1145s # Start of gatomicrefcount tests 1145s ok 4 /refcount/gatomicrefcount/saturation 1145s # End of gatomicrefcount tests 1145s # End of refcount tests 1145s TAP version 14 1145s # random seed: R02Sa9ae34450c75025977541fbb59e7e31a 1145s 1..3 1145s # Start of debug-controller tests 1145s # Start of dbus tests 1145s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1145s # Running test: glib/debugcontroller.test 1145s # GLib-GIO-DEBUG: Debug output enabled 1145s # GLib-GIO-DEBUG: Debug output disabled 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s ok 1 /debug-controller/dbus/basic 1145s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1145s ok 2 /debug-controller/dbus/duplicate 1145s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1145s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1145s # End of dbus tests 1145s # End of debug-controller tests 1145s ok - glib/debugcontroller.test 1145s # Running test: glib/bitlock.test 1145s ok - glib/bitlock.test 1145s # Running test: glib/bindinggroup.test 1145s TAP version 14 1145s # random seed: R02S9c5b470dd63d9f5b496cffdc6eff8559 1145s 1..2 1145s # Start of bitlock tests 1145s # Start of performance tests 1145s # max perf: iterations per second 1145s ok 1 /bitlock/performance/uncontended 1145s ok 2 /bitlock/performance/parallel 1145s # End of performance tests 1145s # End of bitlock tests 1145s TAP version 14 1145s # random seed: R02S0262bb4a8e1d8448d48fd2edc5fe059d 1145s 1..11 1145s # Start of GObject tests 1145s # Start of BindingGroup tests 1145s ok 1 /GObject/BindingGroup/invalid 1145s ok 2 /GObject/BindingGroup/default 1145s ok 3 /GObject/BindingGroup/bidirectional 1145s ok 4 /GObject/BindingGroup/transform 1145s ok 5 /GObject/BindingGroup/transform-closures 1145s ok 6 /GObject/BindingGroup/same-object 1145s ok 7 /GObject/BindingGroup/weak-ref-source 1145s ok 8 /GObject/BindingGroup/weak-ref-target 1145s ok 9 /GObject/BindingGroup/properties 1145s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1145s ok 11 /GObject/BindingGroup/empty-closures 1145s # End of BindingGroup tests 1145s # End of GObject tests 1145s ok - glib/bindinggroup.test 1145s # Running test: glib/gdbus-connection-flush.test 1145s TAP version 14 1145s # random seed: R02Sb29175ef3d0a0c6194027fcd284a7b1b 1145s 1..2 1145s # Start of gdbus tests 1145s # Start of connection tests 1145s # Start of flush tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/busy/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/busy/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/busy/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/busy/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/busy/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/busy/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/busy/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/busy/.dirs/runtime 1145s ok 1 /gdbus/connection/flush/busy 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/idle/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/idle/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/idle/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/idle/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/idle/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/idle/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/idle/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_NMSTJ3/gdbus/connection/flush/idle/.dirs/runtime 1145s ok 2 /gdbus/connection/flush/idle 1145s # End of flush tests 1145s # End of connection tests 1145s # End of gdbus tests 1145s ok - glib/gdbus-connection-flush.test 1145s # Running test: glib/portal-support-flatpak-network-only.test 1145s TAP version 14 1145s # random seed: R02S263a554e1963d0e11a9d9376e237d641 1145s 1..1 1145s # Start of portal-support tests 1145s # Start of flatpak tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/runtime 1145s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_13OUJ3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1145s ok 1 /portal-support/flatpak/network 1145s # End of flatpak tests 1145s # End of portal-support tests 1145s TAP version 14 1145s # random seed: R02S0b328aa366713ccf39a2ac51aa2961c4 1145s 1..10 1145s # Start of buffered-input-stream tests 1145s ok 1 /buffered-input-stream/peek 1145s ok 2 /buffered-input-stream/peek-buffer 1145s ok 3 /buffered-input-stream/set-buffer-size 1145s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1145s ok 4 /buffered-input-stream/read-byte 1145s ok 5 /buffered-input-stream/read 1145s ok 6 /buffered-input-stream/read-async 1145s ok 7 /buffered-input-stream/skip 1145s ok 8 /buffered-input-stream/skip-async 1145s ok 9 /buffered-input-stream/seek 1145s # End of buffered-input-stream tests 1145s # Start of filter-input-stream tests 1145s ok 10 /filter-input-stream/close 1145s # End of filter-input-stream tests 1145s ok - glib/portal-support-flatpak-network-only.test 1145s # Running test: glib/buffered-input-stream.test 1145s ok - glib/buffered-input-stream.test 1145s # Running test: glib/gdbus-serialization.test 1145s TAP version 14 1145s # random seed: R02Sef271db49c60df2de595c9a6283b341f 1145s 1..18 1145s # Start of gdbus tests 1145s # Start of message-serialize tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/basic/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/basic/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/basic/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/basic/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/basic/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/basic/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/basic/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/basic/.dirs/runtime 1145s ok 1 /gdbus/message-serialize/basic 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/complex/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/complex/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/complex/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/complex/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/complex/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/complex/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/complex/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/complex/.dirs/runtime 1145s ok 2 /gdbus/message-serialize/complex 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/invalid/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/invalid/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/invalid/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/invalid/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/invalid/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/invalid/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/invalid/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/invalid/.dirs/runtime 1145s ok 3 /gdbus/message-serialize/invalid 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/.dirs/runtime 1145s ok 4 /gdbus/message-serialize/header-checks 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/double-array/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/double-array/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/double-array/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/double-array/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/double-array/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/double-array/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/double-array/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/double-array/.dirs/runtime 1145s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1145s ok 5 /gdbus/message-serialize/double-array 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/empty-structure/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/empty-structure/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/empty-structure/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/empty-structure/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/empty-structure/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/empty-structure/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/empty-structure/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/empty-structure/.dirs/runtime 1145s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1145s ok 6 /gdbus/message-serialize/empty-structure 1145s # Start of header-checks tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/valid/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/valid/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/valid/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/valid/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/valid/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1145s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1145s ok 7 /gdbus/message-serialize/header-checks/valid 1145s # End of header-checks tests 1145s # End of message-serialize tests 1145s # Start of message-parse tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1145s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1145s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/non-signature-header/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/non-signature-header/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/non-signature-header/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/non-signature-header/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/non-signature-header/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/non-signature-header/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/non-signature-header/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/non-signature-header/.dirs/runtime 1145s ok 9 /gdbus/message-parse/non-signature-header 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-signature-header/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-signature-header/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-signature-header/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-signature-header/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-signature-header/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-signature-header/.dirs/runtime 1145s ok 10 /gdbus/message-parse/empty-signature-header 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/multiple-signature-header/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/multiple-signature-header/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/multiple-signature-header/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/multiple-signature-header/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/multiple-signature-header/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1145s ok 11 /gdbus/message-parse/multiple-signature-header 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/over-long-signature-header/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/over-long-signature-header/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/over-long-signature-header/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/over-long-signature-header/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/over-long-signature-header/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1145s ok 12 /gdbus/message-parse/over-long-signature-header 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-header-nesting/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-header-nesting/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-header-nesting/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-header-nesting/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-header-nesting/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1145s ok 13 /gdbus/message-parse/deep-header-nesting 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-body-nesting/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-body-nesting/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-body-nesting/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-body-nesting/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-body-nesting/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1145s ok 14 /gdbus/message-parse/deep-body-nesting 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/truncated/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/truncated/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/truncated/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/truncated/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/truncated/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/truncated/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/truncated/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/truncated/.dirs/runtime 1145s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1145s ok 15 /gdbus/message-parse/truncated 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-structure/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-structure/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-structure/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-structure/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-structure/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-structure/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-structure/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/empty-structure/.dirs/runtime 1145s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1145s ok 16 /gdbus/message-parse/empty-structure 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/missing-header/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/missing-header/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/missing-header/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/missing-header/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/missing-header/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/missing-header/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/missing-header/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/missing-header/.dirs/runtime 1145s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1145s ok 17 /gdbus/message-parse/missing-header 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/invalid-header-type/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/invalid-header-type/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/invalid-header-type/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/invalid-header-type/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/invalid-header-type/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_CK0UJ3/gdbus/message-parse/invalid-header-type/.dirs/runtime 1145s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1145s ok 18 /gdbus/message-parse/invalid-header-type 1145s # End of message-parse tests 1145s # End of gdbus tests 1145s TAP version 14 1145s # random seed: R02S8bd2c591df32ef63a85735474375e336 1145s 1..21 1145s # Start of bytes tests 1145s ok 1 /bytes/new 1145s ok 2 /bytes/new-take 1145s ok 3 /bytes/new-static 1145s ok 4 /bytes/new-with-free-func 1145s ok 5 /bytes/new-from-bytes 1145s ok 6 /bytes/new-from-bytes-slice 1145s ok 7 /bytes/new-from-bytes-shared-ref 1145s ok 8 /bytes/hash 1145s ok 9 /bytes/equal 1145s ok 10 /bytes/compare 1145s ok 11 /bytes/null 1145s ok 12 /bytes/get-region 1145s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1145s ok 13 /bytes/unref-null 1145s # Start of to-data tests 1145s ok 14 /bytes/to-data/transferred 1145s ok 15 /bytes/to-data/two-refs 1145s ok 16 /bytes/to-data/non-malloc 1145s ok 17 /bytes/to-data/different-free-func 1145s # End of to-data tests 1145s # Start of to-array tests 1145s ok 18 /bytes/to-array/transferred 1145s ok 19 /bytes/to-array/two-refs 1145s ok 20 /bytes/to-array/non-malloc 1145s # Start of transferred tests 1145s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1145s ok 21 /bytes/to-array/transferred/oversize 1145s # End of transferred tests 1145s # End of to-array tests 1145s # End of bytes tests 1145s TAP version 14 1145s # random seed: R02S043195290618602eefa5975d080c7252 1145s 1..1 1145s # Start of properties tests 1145s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1145s ok 1 /properties/notify-in-init2 1145s # End of properties tests 1145s TAP version 14 1145s # random seed: R02S0026c2f2f1db6e1d1a0f56007ac60822 1145s 1..24 1145s # Start of repository tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/basic/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/basic/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/basic/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/basic/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/basic/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/basic/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/basic/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/basic/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/basic/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/basic/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1145s ok 1 /repository/basic 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/info/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/info/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/info/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/info/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/info/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/info/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/info/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/info/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/info/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/info/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1145s ok 2 /repository/info 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/dependencies/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/dependencies/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/dependencies/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/dependencies/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/dependencies/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/dependencies/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/dependencies/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/dependencies/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1145s ok 3 /repository/dependencies 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/arg-info/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/arg-info/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/arg-info/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/arg-info/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/arg-info/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/arg-info/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/arg-info/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/arg-info/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1145s ok 4 /repository/arg-info 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/callable-info/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/callable-info/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/callable-info/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/callable-info/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/callable-info/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/callable-info/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/callable-info/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/callable-info/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1145s ok 5 /repository/callable-info 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/callback-info/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/callback-info/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/callback-info/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/callback-info/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/callback-info/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/callback-info/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/callback-info/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/callback-info/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1145s ok 6 /repository/callback-info 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/char-types/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/char-types/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/char-types/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/char-types/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/char-types/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/char-types/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/char-types/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/char-types/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/char-types/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/char-types/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1145s ok 7 /repository/char-types 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/constructor-return-type/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/constructor-return-type/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/constructor-return-type/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/constructor-return-type/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/constructor-return-type/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/constructor-return-type/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/constructor-return-type/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/constructor-return-type/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1145s ok 8 /repository/constructor-return-type 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/enum-info-c-identifier/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/enum-info-c-identifier/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/enum-info-c-identifier/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/enum-info-c-identifier/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/enum-info-c-identifier/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/enum-info-c-identifier/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/enum-info-c-identifier/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/enum-info-c-identifier/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1145s ok 9 /repository/enum-info-c-identifier 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/enum-info-static-methods/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/enum-info-static-methods/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/enum-info-static-methods/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/enum-info-static-methods/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/enum-info-static-methods/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/enum-info-static-methods/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/enum-info-static-methods/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/enum-info-static-methods/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/enum-info-static-methods summary: Test an enum with methods 1145s ok 10 /repository/enum-info-static-methods 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/error-quark/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/error-quark/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/error-quark/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/error-quark/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/error-quark/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/error-quark/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/error-quark/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/error-quark/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/error-quark summary: Test finding an error quark by error domain 1145s ok 11 /repository/error-quark 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/flags-info-c-identifier/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/flags-info-c-identifier/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/flags-info-c-identifier/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/flags-info-c-identifier/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/flags-info-c-identifier/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/flags-info-c-identifier/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/flags-info-c-identifier/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/flags-info-c-identifier/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1145s ok 12 /repository/flags-info-c-identifier 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/fundamental-ref-func/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/fundamental-ref-func/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/fundamental-ref-func/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/fundamental-ref-func/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/fundamental-ref-func/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/fundamental-ref-func/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/fundamental-ref-func/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/fundamental-ref-func/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1145s ok 13 /repository/fundamental-ref-func 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/instance-method-ownership-transfer/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/instance-method-ownership-transfer/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/instance-method-ownership-transfer/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/instance-method-ownership-transfer/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/instance-method-ownership-transfer/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/instance-method-ownership-transfer/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/instance-method-ownership-transfer/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/instance-method-ownership-transfer/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1145s ok 14 /repository/instance-method-ownership-transfer 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/object-gtype-interfaces/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/object-gtype-interfaces/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/object-gtype-interfaces/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/object-gtype-interfaces/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/object-gtype-interfaces/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/object-gtype-interfaces/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/object-gtype-interfaces/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/object-gtype-interfaces/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1145s ok 15 /repository/object-gtype-interfaces 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/signal-info-with-array-length-arg/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/signal-info-with-array-length-arg/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/signal-info-with-array-length-arg/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/signal-info-with-array-length-arg/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/signal-info-with-array-length-arg/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/signal-info-with-array-length-arg/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/signal-info-with-array-length-arg/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/signal-info-with-array-length-arg/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1145s ok 16 /repository/signal-info-with-array-length-arg 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/type-info-name/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/type-info-name/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/type-info-name/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/type-info-name/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/type-info-name/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/type-info-name/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/type-info-name/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/type-info-name/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1145s ok 17 /repository/type-info-name 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-no-invoker/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-no-invoker/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-no-invoker/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-no-invoker/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-no-invoker/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-no-invoker/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1145s ok 18 /repository/vfunc-info-with-no-invoker 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1145s ok 19 /repository/vfunc-info-with-invoker-on-interface 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-object/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-object/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-object/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-object/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1145s ok 20 /repository/vfunc-info-with-invoker-on-object 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/find-by-gtype/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/find-by-gtype/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/find-by-gtype/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/find-by-gtype/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/find-by-gtype/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/find-by-gtype/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/find-by-gtype/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/find-by-gtype/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/find-by-gtype summary: Test finding a GType 1145s ok 21 /repository/find-by-gtype 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/loaded-namespaces/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/loaded-namespaces/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/loaded-namespaces/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/loaded-namespaces/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/loaded-namespaces/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/loaded-namespaces/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/loaded-namespaces/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/loaded-namespaces/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1145s ok 22 /repository/loaded-namespaces 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/dup_default/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/dup_default/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/dup_default/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/dup_default/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/dup_default/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/dup_default/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/dup_default/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/dup_default/.dirs/runtime 1145s ok 23 /repository/dup_default 1145s # Start of base-info tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RPCUJ3/repository/base-info/clear/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RPCUJ3/repository/base-info/clear/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RPCUJ3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_RPCUJ3/repository/base-info/clear/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RPCUJ3/repository/base-info/clear/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RPCUJ3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_RPCUJ3/repository/base-info/clear/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RPCUJ3/repository/base-info/clear/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RPCUJ3/repository/base-info/clear/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RPCUJ3/repository/base-info/clear/.dirs/runtime 1145s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1145s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1145s ok 24 /repository/base-info/clear 1145s # End of base-info tests 1145s # End of repository tests 1145s ok - glib/gdbus-serialization.test 1145s # Running test: glib/bytes.test 1145s ok - glib/bytes.test 1145s # Running test: glib/notify-init2.test 1145s ok - glib/notify-init2.test 1145s # Running test: glib/repository.test 1145s ok - glib/repository.test 1145s # Running test: glib/cxx.test 1145s ok - glib/cxx.test 1145s # Running test: glib/memory-input-stream.test 1145s ok - glib/memory-input-stream.test 1145s # Running test: glib/hash.test 1145s TAP version 14 1145s # random seed: R02S26a27ae9c22c7f9c4a23d959a94d3140 1145s 1..2 1145s # Start of gtask tests 1145s # 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. 1145s ok 1 /gtask/name 1145s # Start of name tests 1145s # 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. 1145s ok 2 /gtask/name/macro-wrapper 1145s # End of name tests 1145s # End of gtask tests 1145s TAP version 14 1145s # random seed: R02S62446cff4aabe6439dcee6d96e431512 1145s 1..6 1145s # Start of memory-input-stream tests 1145s ok 1 /memory-input-stream/read-chunks 1145s ok 2 /memory-input-stream/async 1145s ok 3 /memory-input-stream/seek 1145s ok 4 /memory-input-stream/truncate 1145s ok 5 /memory-input-stream/read-bytes 1145s ok 6 /memory-input-stream/from-bytes 1145s # End of memory-input-stream tests 1145s TAP version 14 1145s # random seed: R02Sa5a5bcec6aa9ae9fab8e1aeab2ddb08d 1145s 1..34 1145s # Start of hash tests 1145s ok 1 /hash/misc 1145s ok 2 /hash/one 1145s ok 3 /hash/honeyman 1145s ok 4 /hash/direct 1145s ok 5 /hash/direct2 1145s ok 6 /hash/int 1145s ok 7 /hash/int64 1145s ok 8 /hash/double 1145s ok 9 /hash/string 1145s ok 10 /hash/set 1145s ok 11 /hash/set-ref 1145s ok 12 /hash/ref 1145s ok 13 /hash/remove-all 1145s ok 14 /hash/recursive-remove-all 1145s ok 15 /hash/find 1145s ok 16 /hash/foreach 1145s ok 17 /hash/foreach-steal 1145s ok 18 /hash/steal-extended 1145s ok 19 /hash/steal-all-keys 1145s ok 20 /hash/steal-all-values 1145s ok 21 /hash/lookup-extended 1145s ok 22 /hash/new-similar 1145s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1145s ok 23 /hash/lookup-null-key 1145s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1145s ok 24 /hash/destroy-modify 1145s ok 25 /hash/consistency 1145s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1145s ok 26 /hash/iter-replace 1145s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1145s ok 27 /hash/set-insert-corruption 1145s ok 28 /hash/set-to-strv 1145s ok 29 /hash/get-keys-as-ptr-array 1145s ok 30 /hash/get-values-as-ptr-array 1145s ok 31 /hash/primes 1145s # Start of int64 tests 1145s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1145s ok 32 /hash/int64/collisions 1145s # End of int64 tests 1145s # Start of double tests 1145s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1145s ok 33 /hash/double/collisions 1145s # End of double tests 1145s # Start of recursive-remove-all tests 1145s # End of recursive-remove-all tests 1145s # Start of steal-extended tests 1145s ok 34 /hash/steal-extended/optional 1145s # End of steal-extended tests 1145s # End of hash tests 1145s ok - glib/hash.test 1145s # Running test: glib/signalgroup.test 1145s TAP version 14 1145s # random seed: R02Seb29aad188a1023c59ab5e4f56849ccc 1145s 1..9 1145s # Start of GObject tests 1145s # Start of SignalGroup tests 1145s ok 1 /GObject/SignalGroup/invalid 1145s ok 2 /GObject/SignalGroup/simple 1145s ok 3 /GObject/SignalGroup/changing-target 1145s ok 4 /GObject/SignalGroup/blocking 1145s ok 5 /GObject/SignalGroup/weak-ref-target 1145s ok 6 /GObject/SignalGroup/connect-object 1145s ok - glib/signalgroup.test 1145s # Running test: glib/io-channel.test 1145s ok - glib/io-channel.test 1145s # Running test: glib/fileattributematcher.test 1145s ok 7 /GObject/SignalGroup/signal-parsing 1145s ok 8 /GObject/SignalGroup/properties 1145s ok 9 /GObject/SignalGroup/interface 1145s # Start of signal-parsing tests 1145s # End of signal-parsing tests 1145s # End of SignalGroup tests 1145s # End of GObject tests 1145s TAP version 14 1145s # random seed: R02S5b318a2690dc645e1a0b8c71e51f7c28 1145s 1..2 1145s # Start of io-channel tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_N9QSJ3/io-channel/read-write/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_N9QSJ3/io-channel/read-write/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_N9QSJ3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_N9QSJ3/io-channel/read-write/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_N9QSJ3/io-channel/read-write/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_N9QSJ3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_N9QSJ3/io-channel/read-write/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_N9QSJ3/io-channel/read-write/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_N9QSJ3/io-channel/read-write/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_N9QSJ3/io-channel/read-write/.dirs/runtime 1145s # Line one 1145s # 1145s # Line two 1145s # 1145s # Line three 1145s # 1145s # /* Hello */ 1145s # 1145s # \x1234\x567890\x6666 1145s # 1145s # read 62 bytes, wrote 62 bytes 1145s ok 1 /io-channel/read-write 1145s # Start of read-line tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_N9QSJ3/io-channel/read-line/embedded-nuls/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_N9QSJ3/io-channel/read-line/embedded-nuls/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_N9QSJ3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_N9QSJ3/io-channel/read-line/embedded-nuls/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_N9QSJ3/io-channel/read-line/embedded-nuls/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_N9QSJ3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_N9QSJ3/io-channel/read-line/embedded-nuls/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_N9QSJ3/io-channel/read-line/embedded-nuls/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_N9QSJ3/io-channel/read-line/embedded-nuls/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_N9QSJ3/io-channel/read-line/embedded-nuls/.dirs/runtime 1145s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1145s ok 2 /io-channel/read-line/embedded-nuls 1145s # End of read-line tests 1145s # End of io-channel tests 1145s TAP version 14 1145s # random seed: R02Sf33237b72c161b1e2b6c1762c7e78f78 1145s 1..3 1145s # Start of fileattributematcher tests 1145s ok 1 /fileattributematcher/exact 1145s ok 2 /fileattributematcher/equality 1145s ok 3 /fileattributematcher/subtract 1145s # End of fileattributematcher tests 1145s ok - glib/fileattributematcher.test 1145s # Running test: glib/thread-deprecated.test 1145s TAP version 14 1145s # random seed: R02S27aa92a363fade7b50066589bc164687 1145s 1..6 1145s # Start of thread tests 1146s ok 1 /thread/mutex 1146s ok 2 /thread/static-rec-mutex 1146s # Executing: glib/thread-deprecated.test 1150s ok 3 /thread/static-private 1150s # slow test /thread/static-private executed in 4.40 secs 1151s # Executing: glib/thread-deprecated.test 1155s ok 4 /thread/static-rw-lock 1155s # slow test /thread/static-rw-lock executed in 5.12 secs 1155s ok 5 /thread/once 1156s # Executing: glib/thread-deprecated.test 1161s # Executing: glib/thread-deprecated.test 1165s ok 6 /thread/rerun-all 1165s # slow test /thread/rerun-all executed in 10.03 secs 1165s # End of thread tests 1165s ok - glib/thread-deprecated.test 1165s # Running test: glib/async-close-output-stream.test 1165s TAP version 14 1165s # random seed: R02S3881087b762ede19288ac4015cfb8435 1165s 1..3 1165s # Start of close-async tests 1165s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1165s ok 1 /close-async/without-flush 1165s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1165s ok 2 /close-async/with-flush 1165s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1165s ok 3 /close-async/with-async-flush 1165s # End of close-async tests 1165s ok - glib/async-close-output-stream.test 1166s TAP version 14 1166s # random seed: R02S63cfd8b55e778fc1302fff3041b34e3b 1166s 1..21 1166s # Start of gresolver tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/invalid-header/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/invalid-header/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/invalid-header/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/invalid-header/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/invalid-header/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/invalid-header/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/invalid-header/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/invalid-header/.dirs/runtime 1166s ok 1 /gresolver/invalid-header 1166s # Running test: glib/resolver-parsing.test 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/record-ownership/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/record-ownership/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/record-ownership/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/record-ownership/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/record-ownership/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/record-ownership/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/record-ownership/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/record-ownership/.dirs/runtime 1166s ok 2 /gresolver/record-ownership 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/unknown-record-type/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/unknown-record-type/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/unknown-record-type/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/unknown-record-type/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/unknown-record-type/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/unknown-record-type/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/unknown-record-type/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/unknown-record-type/.dirs/runtime 1166s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1166s ok 3 /gresolver/unknown-record-type 1166s # Start of mx tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/valid/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/valid/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/mx/valid/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/valid/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/mx/valid/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/valid/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/valid/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/valid/.dirs/runtime 1166s ok 4 /gresolver/mx/valid 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/.dirs/runtime 1166s ok 5 /gresolver/mx/invalid 1166s # Start of invalid tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short/.dirs/runtime 1166s ok 6 /gresolver/mx/invalid/too-short 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short2/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short2/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short2/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short2/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short2/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short2/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short2/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/mx/invalid/too-short2/.dirs/runtime 1166s ok 7 /gresolver/mx/invalid/too-short2 1166s # End of invalid tests 1166s # End of mx tests 1166s # Start of ns tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/valid/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/valid/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/ns/valid/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/valid/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/ns/valid/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/valid/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/valid/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/valid/.dirs/runtime 1166s ok 8 /gresolver/ns/valid 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/invalid/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/invalid/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/ns/invalid/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/invalid/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/ns/invalid/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/invalid/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/invalid/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/ns/invalid/.dirs/runtime 1166s ok 9 /gresolver/ns/invalid 1166s # End of ns tests 1166s # Start of soa tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/valid/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/valid/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/soa/valid/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/valid/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/soa/valid/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/valid/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/valid/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/valid/.dirs/runtime 1166s ok 10 /gresolver/soa/valid 1166s # Start of invalid tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/mname/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/mname/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/mname/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/mname/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/mname/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/mname/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/mname/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/mname/.dirs/runtime 1166s ok 11 /gresolver/soa/invalid/mname 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/rname/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/rname/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/rname/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/rname/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/rname/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/rname/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/rname/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/rname/.dirs/runtime 1166s ok 12 /gresolver/soa/invalid/rname 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/too-short/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/too-short/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/too-short/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/too-short/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/too-short/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/too-short/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/too-short/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/soa/invalid/too-short/.dirs/runtime 1166s ok 13 /gresolver/soa/invalid/too-short 1166s # End of invalid tests 1166s # End of soa tests 1166s # Start of srv tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/valid/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/valid/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/srv/valid/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/valid/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/srv/valid/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/valid/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/valid/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/valid/.dirs/runtime 1166s ok 14 /gresolver/srv/valid 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/.dirs/runtime 1166s ok 15 /gresolver/srv/invalid 1166s # Start of invalid tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short/.dirs/runtime 1166s ok 16 /gresolver/srv/invalid/too-short 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short2/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short2/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short2/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short2/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short2/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short2/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short2/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/srv/invalid/too-short2/.dirs/runtime 1166s ok 17 /gresolver/srv/invalid/too-short2 1166s # End of invalid tests 1166s # End of srv tests 1166s # Start of txt tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/.dirs/runtime 1166s ok 18 /gresolver/txt/valid 1166s # Start of valid tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/multiple-strings/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/multiple-strings/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/multiple-strings/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/multiple-strings/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/multiple-strings/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/valid/multiple-strings/.dirs/runtime 1166s ok - glib/resolver-parsing.test 1166s # Running test: glib/overflow-fallback.test 1166s ok - glib/overflow-fallback.test 1166s # Running test: glib/gdbus-subscribe.test 1166s ok 19 /gresolver/txt/valid/multiple-strings 1166s # End of valid tests 1166s # Start of invalid tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/empty/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/empty/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/empty/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/empty/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/empty/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/empty/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/empty/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/empty/.dirs/runtime 1166s ok 20 /gresolver/txt/invalid/empty 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/overflow/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/overflow/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/overflow/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/overflow/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/overflow/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/overflow/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/overflow/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_CBL1J3/gresolver/txt/invalid/overflow/.dirs/runtime 1166s ok 21 /gresolver/txt/invalid/overflow 1166s # End of invalid tests 1166s # End of txt tests 1166s # End of gresolver tests 1166s TAP version 14 1166s # random seed: R02S464909834ba53e97044ae32b231badb8 1166s 1..6 1166s # Start of glib tests 1166s # Start of checked-math tests 1166s ok 1 /glib/checked-math/guint-add 1166s ok 2 /glib/checked-math/guint-mul 1166s ok 3 /glib/checked-math/guint64-add 1166s ok 4 /glib/checked-math/guint64-mul 1166s ok 5 /glib/checked-math/gsize-add 1166s ok 6 /glib/checked-math/gsize-mul 1166s # End of checked-math tests 1166s # End of glib tests 1166s TAP version 14 1166s # random seed: R02S6ed3ad1db8dcb2c892f916514e1b4f93 1166s 1..24 1166s # Start of gdbus tests 1166s # Start of subscribe tests 1166s # Start of conn tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/simple/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/simple/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/simple/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/simple/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/simple/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/simple/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/simple/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/simple/.dirs/runtime 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1166s # Step 0: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 1: adding subscription 1166s # Sender: (any) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 2: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 2 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 1 /gdbus/subscribe/conn/simple 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1166s # Step 0: adding subscription 1166s # Sender: (any) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: service 2 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 3: emitting signal 1166s # Sender: service 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 4: emitting signal 1166s # Sender: service 2 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 1 1166s # Signal received from service 2 :1.2 1166s # Signal received from service 2 :1.2 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 2 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 3 1166s # Signal received from service 2 :1.2 1166s # Signal received from service 2 :1.2 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1166s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1166s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1166s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/match_twice/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/match_twice/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/match_twice/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/match_twice/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/match_twice/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/match_twice/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1166s # Step 0: adding subscription 1166s # Sender: service :1.1 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 1: adding subscription 1166s # Sender: (any) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: (any) 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 2: adding subscription 1166s # Sender: (any) 1166s # Path: (any) 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 3: adding subscription 1166s # Sender: service :1.1 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 4: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 3 /gdbus/subscribe/conn/match_twice 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1166s # Step 0: adding subscription 1166s # Sender: service :1.1 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 3: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 3 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1166s # Step 0: adding subscription 1166s # Sender: :0.this.had.better.not.exist 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /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 1166s # Step 0: claiming bus name 1166s # Name: org.gtk.Test.AlreadyOwned 1166s # Owner: service 1166s # Step 1: adding subscription 1166s # Sender: org.gtk.Test.AlreadyOwned 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 2: adding subscription 1166s # Sender: org.gtk.Test.OwnedLater 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 3: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 4: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 5: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 6: claiming bus name 1166s # Name: org.gtk.Test.OwnedLater 1166s # Owner: service 1166s # Step 7: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 5 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 7 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 7 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1166s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1166s # Step 0: adding subscription 1166s # Sender: org.freedesktop.DBus 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: NameOwnerChanged 1166s # String argument 0: would I lie to you? 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: NameOwnerChanged 1166s # Waiting for signal to reach message bus 1166s # Step 3: claiming bus name 1166s # Name: org.gtk.Test.OwnedLater 1166s # Owner: service 1166s # Signal received from message bus org.freedesktop.DBus 1166s # Signal received from (unused) org.freedesktop.DBus via connection 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: NameOwnerChanged 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1166s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1166s # Step 0: claiming bus name 1166s # Name: org.gtk.Test.AlreadyOwned 1166s # Owner: service 1166s # Step 1: adding subscription 1166s # Sender: org.gtk.Test.AlreadyOwned 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Immediately unsubscribing 1166s # Waiting for AddMatch to be processed 1166s # Step 2: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1166s # End of conn tests 1166s # Start of proxy tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/simple/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/simple/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/simple/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/simple/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/simple/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/simple/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/simple/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/simple/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1166s # Step 0: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 1: adding subscription 1166s # Sender: (any) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Cannot subscribe via proxy: no bus name 1166s # Waiting for AddMatch to be processed 1166s # Step 2: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 9 /gdbus/subscribe/proxy/simple 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1166s # Step 0: adding subscription 1166s # Sender: (any) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Cannot subscribe via proxy: no bus name 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: service 2 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 3: emitting signal 1166s # Sender: service 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 4: emitting signal 1166s # Sender: service 2 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/match_twice/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/match_twice/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/match_twice/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/match_twice/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/match_twice/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1166s # Step 0: adding subscription 1166s # Sender: service :1.1 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 1: adding subscription 1166s # Sender: (any) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: (any) 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Cannot subscribe via proxy: no bus name 1166s # Waiting for AddMatch to be processed 1166s # Step 2: adding subscription 1166s # Sender: (any) 1166s # Path: (any) 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Cannot subscribe via proxy: no bus name 1166s # Waiting for AddMatch to be processed 1166s # Step 3: adding subscription 1166s # Sender: service :1.1 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 4: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 11 /gdbus/subscribe/proxy/match_twice 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1166s # Step 0: adding subscription 1166s # Sender: service :1.1 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 3: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 3 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1166s # Step 0: adding subscription 1166s # Sender: :0.this.had.better.not.exist 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /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 1166s # Step 0: claiming bus name 1166s # Name: org.gtk.Test.AlreadyOwned 1166s # Owner: service 1166s # Step 1: adding subscription 1166s # Sender: org.gtk.Test.AlreadyOwned 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 2: adding subscription 1166s # Sender: org.gtk.Test.OwnedLater 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 3: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 4: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 5: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 6: claiming bus name 1166s # Name: org.gtk.Test.OwnedLater 1166s # Owner: service 1166s # Step 7: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 5 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 7 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 7 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1166s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1166s # Step 0: adding subscription 1166s # Sender: org.freedesktop.DBus 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: NameOwnerChanged 1166s # String argument 0: would I lie to you? 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: NameOwnerChanged 1166s # Waiting for signal to reach message bus 1166s # Step 3: claiming bus name 1166s # Name: org.gtk.Test.OwnedLater 1166s # Owner: service 1166s # Signal received from message bus org.freedesktop.DBus 1166s # Signal received from (unused) org.freedesktop.DBus via proxy 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: NameOwnerChanged 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1166s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1166s # Step 0: claiming bus name 1166s # Name: org.gtk.Test.AlreadyOwned 1166s # Owner: service 1166s # Step 1: adding subscription 1166s # Sender: org.gtk.Test.AlreadyOwned 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 2: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 2 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1166s # End of proxy tests 1166s # Start of parallel tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/simple/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/simple/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/simple/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/simple/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/simple/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/simple/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/simple/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/simple/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1166s # Step 0: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 1: adding subscription 1166s # Sender: (any) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Cannot subscribe via proxy: no bus name 1166s # Waiting for AddMatch to be processed 1166s # Step 2: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 2 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1166s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 17 /gdbus/subscribe/parallel/simple 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1166s # Step 0: adding subscription 1166s # Sender: (any) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Cannot subscribe via proxy: no bus name 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: service 2 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 3: emitting signal 1166s # Sender: service 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 4: emitting signal 1166s # Sender: service 2 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 1 1166s # Signal received from service 2 :1.2 1166s # Signal received from service 2 :1.2 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 2 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 3 1166s # Signal received from service 2 :1.2 1166s # Signal received from service 2 :1.2 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1166s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1166s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1166s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1166s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/match_twice/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/match_twice/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/match_twice/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/match_twice/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/match_twice/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1166s # Step 0: adding subscription 1166s # Sender: service :1.1 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 1: adding subscription 1166s # Sender: (any) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: (any) 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Cannot subscribe via proxy: no bus name 1166s # Waiting for AddMatch to be processed 1166s # Step 2: adding subscription 1166s # Sender: (any) 1166s # Path: (any) 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Cannot subscribe via proxy: no bus name 1166s # Waiting for AddMatch to be processed 1166s # Step 3: adding subscription 1166s # Sender: service :1.1 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 4: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 4 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1166s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok - glib/gdbus-subscribe.test 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 19 /gdbus/subscribe/parallel/match_twice 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1166s # Step 0: adding subscription 1166s # Sender: service :1.1 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 3: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 3 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 3 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1166s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1166s # Step 0: adding subscription 1166s # Sender: :0.this.had.better.not.exist 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /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 1166s # Step 0: claiming bus name 1166s # Name: org.gtk.Test.AlreadyOwned 1166s # Owner: service 1166s # Step 1: adding subscription 1166s # Sender: org.gtk.Test.AlreadyOwned 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 2: adding subscription 1166s # Sender: org.gtk.Test.OwnedLater 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 3: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 4: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 5: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Step 6: claiming bus name 1166s # Name: org.gtk.Test.OwnedLater 1166s # Owner: service 1166s # Step 7: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 5 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 5 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 7 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 7 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via connection 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 7 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 7 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1166s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1166s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1166s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1166s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1166s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1166s # Step 0: adding subscription 1166s # Sender: org.freedesktop.DBus 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 1: emitting signal 1166s # Sender: attacker 1166s # Destination: (broadcast) 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: NameOwnerChanged 1166s # String argument 0: would I lie to you? 1166s # Waiting for signal to reach message bus 1166s # Step 2: emitting signal 1166s # Sender: attacker 1166s # Destination: subscriber :1.0 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: NameOwnerChanged 1166s # Waiting for signal to reach message bus 1166s # Step 3: claiming bus name 1166s # Name: org.gtk.Test.OwnedLater 1166s # Owner: service 1166s # Signal received from message bus org.freedesktop.DBus 1166s # Signal received from (unused) org.freedesktop.DBus via connection 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: NameOwnerChanged 1166s # Signal received from message bus org.freedesktop.DBus 1166s # Signal received from (unused) org.freedesktop.DBus via proxy 1166s # Path: /org/freedesktop/DBus 1166s # Interface: org.freedesktop.DBus 1166s # Member: NameOwnerChanged 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1166s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1166s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_F8NZJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1166s # subscriber is :1.0 1166s # service is :1.1 1166s # service 2 is :1.2 1166s # attacker is :1.3 1166s # Waiting for AddMatch to be processed 1166s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1166s # Step 0: claiming bus name 1166s # Name: org.gtk.Test.AlreadyOwned 1166s # Owner: service 1166s # Step 1: adding subscription 1166s # Sender: org.gtk.Test.AlreadyOwned 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: (any) 1166s # String argument 0: (any) 1166s # Flags: 0 1166s # Subscribing via connection 1166s # Immediately unsubscribing 1166s # Subscribing via proxy 1166s # Waiting for AddMatch to be processed 1166s # Step 2: emitting signal 1166s # Sender: service 1166s # Destination: (broadcast) 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Waiting for signal to reach message bus 1166s # Signal received from service :1.1 1166s # Signal received from service :1.1 via proxy 1166s # Path: /org/gtk/GDBus/ExampleInterface 1166s # Interface: org.gtk.GDBus.ExampleInterface 1166s # Member: Foo 1166s # Argument 0: (not a string) 1166s # Sent in step: 2 1166s # Received Finished signal from subscriber :1.0 1166s # Received Finished signal from service :1.1 1166s # Received Finished signal from service 2 :1.2 1166s # Received Finished signal from attacker :1.3 1166s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1166s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1166s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1166s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1166s # End of parallel tests 1166s # End of subscribe tests 1166s # End of gdbus tests 1166s # Running test: glib/queue.test 1166s TAP version 14 1166s # random seed: R02Se490b4501b0299d016aca7a59ad038e9 1166s 1..12 1166s # Start of queue tests 1166s ok 1 /queue/basic 1166s ok 2 /queue/copy 1166s ok 3 /queue/off-by-one 1166s ok 4 /queue/find-custom 1166s ok 5 /queue/static 1166s ok 6 /queue/clear 1166s ok 7 /queue/free-full 1166s ok 8 /queue/clear-full 1166s ok 9 /queue/insert-sibling-link 1166s ok 10 /queue/push-nth-link 1166s # Start of clear-full tests 1166s ok 11 /queue/clear-full/noop 1166s # End of clear-full tests 1166s # Start of random tests 1166s ok - glib/queue.test 1166s # Running test: glib/gdbus-sasl.test 1166s ok 12 /queue/random/seed:1121207623 1166s # End of random tests 1166s # End of queue tests 1166s TAP version 14 1166s # random seed: R02S36fa57d66d44594ff7293f105a67ed71 1166s 1..1 1166s # Start of gdbus tests 1166s # Start of sasl tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_NQDIJ3/gdbus/sasl/server/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_NQDIJ3/gdbus/sasl/server/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_NQDIJ3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_NQDIJ3/gdbus/sasl/server/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_NQDIJ3/gdbus/sasl/server/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_NQDIJ3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_NQDIJ3/gdbus/sasl/server/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_NQDIJ3/gdbus/sasl/server/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_NQDIJ3/gdbus/sasl/server/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_NQDIJ3/gdbus/sasl/server/.dirs/runtime 1166s # New handshake: EXTERNAL with incorrect initial response 1166s # C:“AUTH EXTERNAL 30” 1166s # Expect: /^REJECTED.*$/ 1166s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1166s # New handshake: EXTERNAL without initial response, failing to authenticate 1166s # C:“AUTH EXTERNAL” 1166s # Expect: /^DATA$/ 1166s # S:“DATA” 1166s # C:“DATA 30” 1166s # Expect: /^REJECTED.*$/ 1166s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1166s # New handshake: EXTERNAL with initial response 1166s # C:“AUTH EXTERNAL 31303030” 1166s # Expect: /^OK [0-9a-f]+$/ 1166s # S:“OK 35ffaf486690d6db0324c39a697b53a0” 1166s # New handshake: EXTERNAL without initial response 1166s # C:“AUTH EXTERNAL” 1166s # Expect: /^DATA$/ 1166s # S:“DATA” 1166s # C:“DATA 31303030” 1166s # Expect: /^OK [0-9a-f]+$/ 1166s # S:“OK 35ffaf486690d6db0324c39a697b53a0” 1166s # New handshake: EXTERNAL with empty authorization identity 1166s # C:“AUTH EXTERNAL” 1166s # Expect: /^DATA$/ 1166s # S:“DATA” 1166s # C:“DATA” 1166s # Expect: /^OK [0-9a-f]+$/ 1166s # S:“OK 35ffaf486690d6db0324c39a697b53a0” 1166s # New handshake: EXTERNAL with empty authorization identity and whitespace 1166s # C:“AUTH EXTERNAL” 1166s # Expect: /^DATA$/ 1166s ok - glib/gdbus-sasl.test 1166s # S:“DATA” 1166s # C:“DATA ” 1166s # Expect: /^OK [0-9a-f]+$/ 1166s # S:“OK 35ffaf486690d6db0324c39a697b53a0” 1166s ok 1 /gdbus/sasl/server 1166s # End of sasl tests 1166s # End of gdbus tests 1166s # Running test: glib/objects-refcount2.test 1166s TAP version 14 1166s # random seed: R02S25ec199e2e0aff12d0894846bf947c80 1166s 1..1 1166s # Start of gobject tests 1166s # Start of refcount tests 1166s # init 0x2aa272eed70 1166s # 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1167s # Executing: glib/objects-refcount2.test 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # Executing: glib/objects-refcount2.test 1172s # . 1172s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # Executing: glib/objects-refcount2.test 1177s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # Executing: glib/objects-refcount2.test 1182s # . 1182s # . 1182s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # dispose 0x2aa272eed70! 1186s # 1186s ok 1 /gobject/refcount/object-advanced 1186s # slow test /gobject/refcount/object-advanced executed in 20.62 secs 1186s # End of refcount tests 1186s # End of gobject tests 1186s ok - glib/objects-refcount2.test 1186s # Running test: glib/vfs.test 1186s TAP version 14 1186s # random seed: R02S4ef3df77990c44b981822c14dccee796 1186s 1..3 1186s # Start of gvfs tests 1186s ok 1 /gvfs/local 1186s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1186s ok 2 /gvfs/register-scheme 1186s # Start of resource tests 1186s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1186s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1186s ok 3 /gvfs/resource/malformed-escaping 1186s # End of resource tests 1186s # End of gvfs tests 1186s ok - glib/vfs.test 1186s # Running test: glib/cxx-14.test 1186s TAP version 14 1186s # random seed: R02S62cbb867f80924097e245caf29fcde9a 1186s 1..2 1186s # Start of gtask tests 1186s # 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. 1186s ok 1 /gtask/name 1186s # Start of name tests 1186s # 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. 1186s ok 2 /gtask/name/macro-wrapper 1186s # End of name tests 1186s # End of gtask tests 1186s ok - glib/cxx-14.test 1186s # Running test: glib/unix-fd.test 1186s TAP version 14 1186s # random seed: R02S43539489eba1db449263c436bcdb26b9 1186s 1..2 1186s # Start of unix-fd tests 1187s ok 1 /unix-fd/fd-list 1187s ok 2 /unix-fd/scm 1187s # End of unix-fd tests 1187s ok - glib/unix-fd.test 1187s # Running test: glib/gio-tool.py.test 1187s TAP version 13 1187s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 1187s # gio: /usr/bin/gio 1187s # tmpdir: /tmp/tmphk95w065 1187s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmphk95w065/folder/desktop.entry'] 1187s # Working Directory: /tmp/tmphk95w065/folder 1187s # Return code: 0 1187s # Output: 1187s # /tmp/tmphk95w065/folder/desktop.entry 1187s # Error: 1187s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 1187s # gio: /usr/bin/gio 1187s # tmpdir: /tmp/tmpnp4igr03 1187s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpnp4igr03/folder/desktop.entry'] 1187s # Working Directory: /tmp/tmpnp4igr03 1187s # Return code: 0 1187s # Output: 1187s # /tmp/tmpnp4igr03/folder/desktop.entry 1187s # Error: 1187s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 1187s # gio: /usr/bin/gio 1187s # tmpdir: /tmp/tmphju_qveo 1187s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmphju_qveo/folder/desktop.entry'] 1187s # Working Directory: /tmp/tmphju_qveo/sibling 1187s # Return code: 0 1187s # Output: 1187s # /tmp/tmphju_qveo/folder/desktop.entry 1187s # Error: 1187s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 1187s # gio: /usr/bin/gio 1187s # tmpdir: /tmp/tmpcmyp6ild 1187s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 1187s # Working Directory: /tmp/tmpcmyp6ild/folder 1187s # Return code: 0 1187s # Output: 1187s # /tmp/tmpcmyp6ild/folder/desktop.entry 1187s # Error: 1187s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 1187s # gio: /usr/bin/gio 1187s # tmpdir: /tmp/tmpi13m38yl 1187s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 1187s # Working Directory: /tmp/tmpi13m38yl 1187s # Return code: 0 1187s # Output: 1187s # /tmp/tmpi13m38yl/folder/desktop.entry 1187s # Error: 1187s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 1187s # gio: /usr/bin/gio 1187s # tmpdir: /tmp/tmpmdh09mh1 1187s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 1187s # Working Directory: /tmp/tmpmdh09mh1/sibling 1187s # Return code: 0 1187s # Output: 1187s # /tmp/tmpmdh09mh1/folder/desktop.entry 1187s # Error: 1187s ok 7 __main__.TestGioTool.test_help 1187s # gio: /usr/bin/gio 1187s # tmpdir: /tmp/tmpuo_iu9ri 1187s # Running: ['/usr/bin/gio', '--help'] 1187s # Return code: 0 1187s # Output: 1187s # Usage: 1187s # gio COMMAND [ARGS…] 1187s # 1187s # Commands: 1187s # help Print help 1187s # version Print version 1187s # cat Concatenate files to standard output 1187s # copy Copy one or more files 1187s # info Show information about locations 1187s # launch Launch an application from a desktop file 1187s # list List the contents of locations 1187s # mime Get or set the handler for a mimetype 1187s # mkdir Create directories 1187s # monitor Monitor files and directories for changes 1187s # mount Mount or unmount the locations 1187s # move Move one or more files 1187s # open Open files with the default application 1187s # rename Rename a file 1187s # remove Delete one or more files 1187s # save Read from standard input and save 1187s # set Set a file attribute 1187s # trash Move files or directories to the trash 1187s # tree Lists the contents of locations in a tree 1187s # 1187s # Use “gio help COMMAND” to get detailed help. 1187s # Error: 1187s # 1187s # Running: ['/usr/bin/gio', 'help'] 1187s # Return code: 0 1187s # Output: 1187s # Usage: 1187s # gio COMMAND [ARGS…] 1187s # 1187s # Commands: 1187s # help Print help 1187s # version Print version 1187s # cat Concatenate files to standard output 1187s # copy Copy one or more files 1187s # info Show information about locations 1187s # launch Launch an application from a desktop file 1187s # list List the contents of locations 1187s # mime Get or set the handler for a mimetype 1187s # mkdir Create directories 1187s # monitor Monitor files and directories for changes 1187s # mount Mount or unmount the locations 1187s # move Move one or more files 1187s # open Open files with the default application 1187s # rename Rename a file 1187s # remove Delete one or more files 1187s # save Read from standard input and save 1187s # set Set a file attribute 1187s # trash Move files or directories to the trash 1187s # tree Lists the contents of locations in a tree 1187s # 1187s # Use “gio help COMMAND” to get detailed help. 1187s # Error: 1187s ok 8 __main__.TestGioTool.test_info_non_default_attributes 1187s # gio: /usr/bin/gio 1187s # tmpdir: /tmp/tmpt94sjjwo 1187s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpt94sjjwo/tmp9pa0hvg4'] 1187s # Return code: 0 1187s # Output: 1187s # uri: file:///tmp/tmpt94sjjwo/tmp9pa0hvg4 1187s # local path: /tmp/tmpt94sjjwo/tmp9pa0hvg4 1187s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1187s # attributes: 1187s # standard::content-type: application/x-zerosize 1187s # Error: 1187s ok 9 __main__.TestGioTool.test_no_args 1187s # gio: /usr/bin/gio 1187s # tmpdir: /tmp/tmp9t06wpwp 1187s # Running: ['/usr/bin/gio'] 1187s # Return code: 1 1187s # Output: 1187s # 1187s # Error: 1187s # Usage: 1187s # gio COMMAND [ARGS…] 1187s # 1187s # Commands: 1187s # help Print help 1187s # version Print version 1187s # cat Concatenate files to standard output 1187s # copy Copy one or more files 1187s # info Show information about locations 1187s # launch Launch an application from a desktop file 1187s # list List the contents of locations 1187s # mime Get or set the handler for a mimetype 1187s # mkdir Create directories 1187s # monitor Monitor files and directories for changes 1187s # mount Mount or unmount the locations 1187s # move Move one or more files 1187s # open Open files with the default application 1187s # rename Rename a file 1187s # remove Delete one or more files 1187s # save Read from standard input and save 1187s # set Set a file attribute 1187s # trash Move files or directories to the trash 1187s # tree Lists the contents of locations in a tree 1187s # 1187s # Use “gio help COMMAND” to get detailed help. 1187s 1..9 1187s ok - glib/gio-tool.py.test 1187s # Running test: glib/dynamictests.test 1187s TAP version 14 1187s # random seed: R02Se381f1f1ce4de9e1df71f835490bba6f 1187s 1..2 1187s # Start of GObject tests 1187s # Executing: glib/dynamictests.test 1187s ok 1 /GObject/threaded-dynamic-ref-unref-init 1187s ok 2 /GObject/dynamic-interface-properties 1187s # End of GObject tests 1187s ok - glib/dynamictests.test 1187s # Running test: glib/type-flags.test 1187s TAP version 14 1187s # random seed: R02S25df1ebd504c440f07ef9e52c6b9be6f 1187s 1..4 1187s # Start of type tests 1187s # Start of flags tests 1187s ok 1 /type/flags/interface 1187s ok 2 /type/flags/final 1187s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1187s ok 3 /type/flags/deprecated 1187s # Start of final tests 1187s ok 4 /type/flags/final/instance-check 1187s # End of final tests 1187s ok - glib/type-flags.test 1187s # End of flags tests 1187s # End of type tests 1187s # Running test: glib/power-profile-monitor-dbus.test 1188s TAP version 13 1188s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1188s 1..1 1188s ok - glib/power-profile-monitor-dbus.test 1188s # Running test: glib/qdata.test 1188s TAP version 14 1188s # random seed: R02S6199a10e50f984376b0c242fe8e6f317 1188s 1..2 1188s # Start of qdata tests 1188s ok 1 /qdata/threaded 1188s ok 2 /qdata/dup 1188s # End of qdata tests 1188s ok - glib/qdata.test 1188s # Running test: glib/gdbus-threading.test 1188s TAP version 14 1188s # random seed: R02S2e4650471522b0e2d6263234cbb80c7f 1188s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1188s ok - glib/gdbus-threading.test 1188s # Running test: glib/testing-nonfatal.test 1188s ok - glib/testing-nonfatal.test 1188s TAP version 14 1188s # random seed: R02Sbcdb5dcef55fc12d8dde189e85a74287 1188s ** 1188s 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?") 1188s # 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?") 1188s # Running test: glib/socket-address.test 1188s ok - glib/socket-address.test 1188s # Running test: glib/macros-c-99.test 1188s ok - glib/macros-c-99.test 1188s # Running test: glib/socket.test 1188s TAP version 14 1188s # random seed: R02S550803b6eab1ad649ab63c83dbbff97e 1188s 1..2 1188s # Start of socket tests 1188s # Start of address tests 1188s # Start of unix tests 1188s ok 1 /socket/address/unix/construct 1188s ok 2 /socket/address/unix/to-string 1188s # End of unix tests 1188s # End of address tests 1188s # End of socket tests 1188s TAP version 14 1188s # random seed: R02S359d10f54f2cfa7a46b59d0941df8b87 1188s 1..4 1188s # Start of C tests 1188s ok 1 /C/standard-99 1188s # End of C tests 1188s # Start of alignof tests 1188s ok 2 /alignof/fallback 1188s # End of alignof tests 1188s # Start of assert tests 1188s ok 3 /assert/static 1188s # End of assert tests 1188s # Start of struct tests 1188s ok 4 /struct/sizeof_member 1188s # End of struct tests 1188s TAP version 14 1188s # random seed: R02Seeec4dd5cae6b40f81f6a3b68278224d 1188s 1..30 1188s # Start of socket tests 1189s ok 1 /socket/ipv4_sync 1189s # slow test /socket/ipv4_sync executed in 1.00 secs 1190s ok 2 /socket/ipv4_async 1190s # slow test /socket/ipv4_async executed in 1.04 secs 1190s ok 3 /socket/ipv6_sync 1190s ok 4 /socket/ipv6_async 1190s ok 5 /socket/ipv6_v4mapped 1191s ok 6 /socket/close_graceful 1191s # slow test /socket/close_graceful executed in 1.00 secs 1191s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1191s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1191s ok 8 /socket/fd_reuse 1191s ok 9 /socket/address 1191s ok 10 /socket/unix-from-fd 1191s ok 11 /socket/unix-connection 1191s ok 12 /socket/unix-connection-ancillary-data 1191s ok 13 /socket/source-postmortem 1191s ok 14 /socket/read_write 1191s ok 15 /socket/read_writev 1191s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1191s ok 16 /socket/receive_bytes 1191s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1191s ok 17 /socket/receive_bytes_from 1191s # Start of ipv4_sync tests 1191s ok 18 /socket/ipv4_sync/datagram 1191s # Start of datagram tests 1192s # Executing: glib/socket.test 1193s ok 19 /socket/ipv4_sync/datagram/timeouts 1193s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.11 secs 1193s # End of datagram tests 1193s # End of ipv4_sync tests 1193s # Start of ipv6_sync tests 1193s ok 20 /socket/ipv6_sync/datagram 1193s # Start of datagram tests 1194s ok 21 /socket/ipv6_sync/datagram/timeouts 1194s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1194s # End of datagram tests 1194s # End of ipv6_sync tests 1194s # Start of reuse tests 1194s ok 22 /socket/reuse/tcp 1194s ok 23 /socket/reuse/udp 1194s # End of reuse tests 1194s # Start of get_available tests 1194s ok 24 /socket/get_available/datagram 1194s ok 25 /socket/get_available/stream 1194s # End of get_available tests 1194s # Start of credentials tests 1194s # Supported on this OS: GCredentials:linux-ucred:pid=0 1194s ok 26 /socket/credentials/tcp_client 1194s # Supported on this OS: GCredentials:linux-ucred:pid=0 1194s ok 27 /socket/credentials/tcp_server 1194s # Supported on this OS: GCredentials:linux-ucred:pid=39008,uid=1000,gid=1000 1194s ok 28 /socket/credentials/unix_socketpair 1194s # End of credentials tests 1194s # Start of accept tests 1194s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1194s ok 29 /socket/accept/cancelled 1194s # End of accept tests 1194s # Start of connect tests 1194s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1194s ok 30 /socket/connect/cancelled 1194s # End of connect tests 1194s # End of socket tests 1194s ok - glib/socket.test 1194s # Running test: glib/guuid.test 1194s ok - glib/guuid.test 1194s # Running test: glib/enums.test 1194s ok - glib/enums.test 1194s # Running test: glib/sleepy-stream.test 1194s ok - glib/sleepy-stream.test 1194s # Running test: glib/power-profile-monitor.test 1194s TAP version 14 1194s # random seed: R02Sd8d178649ef9cf9d71f36a634df2ef07 1194s 1..2 1194s # Start of uuid tests 1194s ok 1 /uuid/string 1194s ok 2 /uuid/random 1194s # End of uuid tests 1194s TAP version 14 1194s # random seed: R02Sb47d9cc1b16e48e300067a49271ea9a3 1194s 1..4 1194s # Start of enum tests 1194s ok 1 /enum/basic 1194s ok 2 /enum/define-type 1194s # End of enum tests 1194s # Start of flags tests 1194s ok 3 /flags/basic 1194s ok 4 /flags/define-type 1194s # End of flags tests 1194s TAP version 14 1194s # random seed: R02S199d726cdbec05c2c05144e9ad1d4423 1194s 1..2 1194s # Start of filter-stream tests 1194s ok 1 /filter-stream/input 1194s ok 2 /filter-stream/async 1194s # End of filter-stream tests 1194s TAP version 14 1194s # random seed: R02S189a93025732bf9e9125c03d14c2d052 1194s 1..1 1194s # Start of power-profile-monitor tests 1194s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1194s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 1194s ok 1 /power-profile-monitor/default 1194s # End of power-profile-monitor tests 1194s ok - glib/power-profile-monitor.test 1194s # Running test: glib/keyfile.test 1194s TAP version 14 1194s # random seed: R02Sf3c861d81dcb9dc9ed5269c358d6f6f2 1194s 1..36 1194s # Start of keyfile tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/line-ends/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/line-ends/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/line-ends/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/line-ends/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/line-ends/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/line-ends/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/line-ends/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/line-ends/.dirs/runtime 1194s ok 1 /keyfile/line-ends 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/whitespace/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/whitespace/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/whitespace/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/whitespace/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/whitespace/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/whitespace/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/whitespace/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/whitespace/.dirs/runtime 1194s ok 2 /keyfile/whitespace 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/comments/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/comments/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/comments/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/comments/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/comments/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/comments/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/comments/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/comments/.dirs/runtime 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1194s ok 3 /keyfile/comments 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/listing/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/listing/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/listing/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/listing/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/listing/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/listing/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/listing/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/listing/.dirs/runtime 1194s ok 4 /keyfile/listing 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/string/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/string/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/string/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/string/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/string/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/string/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/string/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/string/.dirs/runtime 1194s ok 5 /keyfile/string 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/boolean/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/boolean/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/boolean/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/boolean/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/boolean/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/boolean/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/boolean/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/boolean/.dirs/runtime 1194s ok 6 /keyfile/boolean 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/number/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/number/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/number/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/number/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/number/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/number/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/number/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/number/.dirs/runtime 1194s ok 7 /keyfile/number 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/locale-string/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/locale-string/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/.dirs/runtime 1194s ok 8 /keyfile/locale-string 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/lists/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/lists/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/lists/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/lists/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/lists/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/lists/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/lists/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/lists/.dirs/runtime 1194s ok 9 /keyfile/lists 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/lists-set-get/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/lists-set-get/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/lists-set-get/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/lists-set-get/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/lists-set-get/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/lists-set-get/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/lists-set-get/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/lists-set-get/.dirs/runtime 1194s ok 10 /keyfile/lists-set-get 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/group-remove/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/group-remove/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/group-remove/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/group-remove/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/group-remove/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/group-remove/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/group-remove/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/group-remove/.dirs/runtime 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1194s ok 11 /keyfile/group-remove 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/key-remove/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/key-remove/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/key-remove/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/key-remove/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/key-remove/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/key-remove/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/key-remove/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/key-remove/.dirs/runtime 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1194s ok 12 /keyfile/key-remove 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/groups/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/groups/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/groups/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/groups/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/groups/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/groups/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/groups/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/groups/.dirs/runtime 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1194s ok 13 /keyfile/groups 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-keys/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-keys/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/duplicate-keys/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-keys/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/duplicate-keys/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-keys/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-keys/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-keys/.dirs/runtime 1194s ok 14 /keyfile/duplicate-keys 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups/.dirs/runtime 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1194s ok 15 /keyfile/duplicate-groups 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups2/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups2/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups2/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups2/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups2/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups2/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups2/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/duplicate-groups2/.dirs/runtime 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1194s ok 16 /keyfile/duplicate-groups2 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/group-names/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/group-names/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/group-names/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/group-names/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/group-names/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/group-names/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/group-names/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/group-names/.dirs/runtime 1194s ok 17 /keyfile/group-names 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/key-names/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/key-names/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/key-names/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/key-names/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/key-names/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/key-names/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/key-names/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/key-names/.dirs/runtime 1194s ok 18 /keyfile/key-names 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/reload/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/reload/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/reload/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/reload/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/reload/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/reload/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOok - glib/keyfile.test 1194s # Running test: glib/error.test 1194s ok - glib/error.test 1194s # Running test: glib/giomodule.test 1194s ME to /tmp/test_keyfile_XAOIJ3/keyfile/reload/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/reload/.dirs/runtime 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1194s ok 19 /keyfile/reload 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/int64/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/int64/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/int64/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/int64/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/int64/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/int64/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/int64/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/int64/.dirs/runtime 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1194s ok 20 /keyfile/int64 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/load/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/load/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/load/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/load/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/load/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/load/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/load/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/load/.dirs/runtime 1194s ok 21 /keyfile/load 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/save/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/save/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/save/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/save/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/save/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/save/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/save/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/save/.dirs/runtime 1194s ok 22 /keyfile/save 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/load-fail/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/load-fail/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/load-fail/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/load-fail/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/load-fail/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/load-fail/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/load-fail/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/load-fail/.dirs/runtime 1194s ok 23 /keyfile/load-fail 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/non-utf8/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/non-utf8/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/non-utf8/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/non-utf8/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/non-utf8/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/non-utf8/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/non-utf8/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/non-utf8/.dirs/runtime 1194s ok 24 /keyfile/non-utf8 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/page-boundary/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/page-boundary/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/page-boundary/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/page-boundary/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/page-boundary/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/page-boundary/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/page-boundary/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/page-boundary/.dirs/runtime 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1194s ok 25 /keyfile/page-boundary 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/ref/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/ref/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/ref/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/ref/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/ref/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/ref/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/ref/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/ref/.dirs/runtime 1194s ok 26 /keyfile/ref 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/replace-value/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/replace-value/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/replace-value/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/replace-value/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/replace-value/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/replace-value/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/replace-value/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/replace-value/.dirs/runtime 1194s ok 27 /keyfile/replace-value 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/list-separator/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/list-separator/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/list-separator/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/list-separator/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/list-separator/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/list-separator/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/list-separator/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/list-separator/.dirs/runtime 1194s ok 28 /keyfile/list-separator 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/empty-string/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/empty-string/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/empty-string/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/empty-string/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/empty-string/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/empty-string/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/empty-string/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/empty-string/.dirs/runtime 1194s ok 29 /keyfile/empty-string 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/limbo/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/limbo/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/limbo/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/limbo/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/limbo/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/limbo/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/limbo/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/limbo/.dirs/runtime 1194s ok 30 /keyfile/limbo 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/utf8/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/utf8/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/utf8/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/utf8/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/utf8/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/utf8/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/utf8/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/utf8/.dirs/runtime 1194s # Testing invalid encoding ‘non-UTF-8’ 1194s # Testing invalid encoding ‘UTF’ 1194s # Testing invalid encoding ‘UTF-9’ 1194s ok 31 /keyfile/utf8 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/roundtrip/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/roundtrip/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/roundtrip/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/roundtrip/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/roundtrip/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/roundtrip/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/roundtrip/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/roundtrip/.dirs/runtime 1194s ok 32 /keyfile/roundtrip 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/bytes/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/bytes/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/bytes/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/bytes/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/bytes/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/bytes/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/bytes/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/bytes/.dirs/runtime 1194s ok 33 /keyfile/bytes 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/get-locale/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/get-locale/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/get-locale/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/get-locale/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/get-locale/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/get-locale/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/get-locale/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/get-locale/.dirs/runtime 1194s ok 34 /keyfile/get-locale 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/free-when-not-last-ref/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/free-when-not-last-ref/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/free-when-not-last-ref/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/free-when-not-last-ref/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/free-when-not-last-ref/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/free-when-not-last-ref/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/free-when-not-last-ref/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/free-when-not-last-ref/.dirs/runtime 1194s ok 35 /keyfile/free-when-not-last-ref 1194s # Start of locale-string tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/multiple-loads/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/multiple-loads/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_XAOIJ3/keyfile/locale-string/multiple-loads/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/multiple-loads/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_XAOIJ3/keyfile/locale-string/multiple-loads/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/multiple-loads/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/multiple-loads/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_XAOIJ3/keyfile/locale-string/multiple-loads/.dirs/runtime 1194s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1194s ok 36 /keyfile/locale-string/multiple-loads 1194s # End of locale-string tests 1194s # End of keyfile tests 1194s TAP version 14 1194s # random seed: R02S6b4e11c82bd2659a3fdeea7bde5c43d0 1194s 1..3 1194s # Start of error tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_I2IJJ3/error/from-errno/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_I2IJJ3/error/from-errno/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_I2IJJ3/error/from-errno/.dirs/system-config1:/tmp/test_error_I2IJJ3/error/from-errno/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_I2IJJ3/error/from-errno/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_I2IJJ3/error/from-errno/.dirs/system-data1:/tmp/test_error_I2IJJ3/error/from-errno/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_I2IJJ3/error/from-errno/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_I2IJJ3/error/from-errno/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_I2IJJ3/error/from-errno/.dirs/runtime 1194s ok 1 /error/from-errno 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_I2IJJ3/error/from-file-error/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_I2IJJ3/error/from-file-error/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_I2IJJ3/error/from-file-error/.dirs/system-config1:/tmp/test_error_I2IJJ3/error/from-file-error/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_I2IJJ3/error/from-file-error/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_I2IJJ3/error/from-file-error/.dirs/system-data1:/tmp/test_error_I2IJJ3/error/from-file-error/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_I2IJJ3/error/from-file-error/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_I2IJJ3/error/from-file-error/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_I2IJJ3/error/from-file-error/.dirs/runtime 1194s ok 2 /error/from-file-error 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_I2IJJ3/error/from-win32-error/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_I2IJJ3/error/from-win32-error/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_I2IJJ3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_I2IJJ3/error/from-win32-error/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_I2IJJ3/error/from-win32-error/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_I2IJJ3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_I2IJJ3/error/from-win32-error/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_I2IJJ3/error/from-win32-error/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_I2IJJ3/error/from-win32-error/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_I2IJJ3/error/from-win32-error/.dirs/runtime 1194s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1194s # End of error tests 1194s TAP version 14 1194s # random seed: R02Sf3c357aee4fa434c7354c222ecb155e2 1194s 1..3 1194s # Start of giomodule tests 1194s ok 1 /giomodule/extension-point 1194s ok 2 /giomodule/module-scan-all 1194s ok - glib/giomodule.test 1194s # Running test: glib/types.test 1194s ok - glib/types.test 1194s # Running test: glib/thread-pool.test 1194s ok 3 /giomodule/module-scan-all-with-scope 1194s # End of giomodule tests 1194s TAP version 14 1194s # random seed: R02S0c00e71b001a393e22254c12130404f4 1194s 1..1 1194s # Start of types tests 1194s ok 1 /types/basic_types 1194s # End of types tests 1194s TAP version 14 1194s # random seed: R02Sb41ddf9e1a4c5ac494d2fc9a57a6d303 1194s 1..6 1194s # Start of thread_pool tests 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 1194s ok 1 /thread_pool/pool_fail 1194s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1194s ok 2 /thread_pool/shared 1194s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1194s ok 3 /thread_pool/exclusive 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1194s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1194s ok - glib/thread-pool.test 1194s # Running test: glib/mem-overflow.test 1194s ok 4 /thread_pool/create_shared_after_exclusive 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1194s ok 5 /thread_pool/create_full 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1194s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1194s ok 6 /thread_pool/create_exclusive_after_shared 1194s # End of thread_pool tests 1194s TAP version 14 1194s # random seed: R02Scd5fe18a90f263b69133764949dd43a6 1194s 1..2 1194s # Start of mem tests 1194s ok 1 /mem/overflow 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1194s ok 2 /mem/empty-alloc 1194s # Start of overflow tests 1194s # Start of subprocess tests 1194s # End of subprocess tests 1194s # End of overflow tests 1194s # Start of empty-alloc tests 1194s ok - glib/mem-overflow.test 1194s # Running test: glib/gdbus-connection.test 1194s # End of empty-alloc tests 1194s # End of mem tests 1194s TAP version 14 1194s # random seed: R02S66ed029970efc607a70e4a94781bf6ea 1194s 1..9 1194s # Start of gdbus tests 1194s # Start of connection tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/bus-failure/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/bus-failure/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/bus-failure/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/bus-failure/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/bus-failure/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/bus-failure/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/bus-failure/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/bus-failure/.dirs/runtime 1194s ok 1 /gdbus/connection/bus-failure 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/basic/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/basic/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/basic/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/basic/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/basic/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/basic/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/basic/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/basic/.dirs/runtime 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s ok 2 /gdbus/connection/basic 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/life-cycle/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/life-cycle/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/life-cycle/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/life-cycle/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/life-cycle/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/life-cycle/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/life-cycle/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/life-cycle/.dirs/runtime 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s ok 3 /gdbus/connection/life-cycle 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/send/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/send/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/send/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/send/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/send/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/send/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/send/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/send/.dirs/runtime 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s ok 4 /gdbus/connection/send 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signals/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signals/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/signals/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signals/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/signals/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signals/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signals/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signals/.dirs/runtime 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s ok 5 /gdbus/connection/signals 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signal-match-rules/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signal-match-rules/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/signal-match-rules/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signal-match-rules/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/signal-match-rules/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signal-match-rules/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signal-match-rules/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/signal-match-rules/.dirs/runtime 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s ok 6 /gdbus/connection/signal-match-rules 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/filter/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/filter/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/filter/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/filter/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/filter/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/filter/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/filter/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/filter/.dirs/runtime 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s ok 7 /gdbus/connection/filter 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/serials/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/serials/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/serials/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/serials/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/serials/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/serials/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/serials/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/serials/.dirs/runtime 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s ok 8 /gdbus/connection/serials 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/cancel/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/cancel/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/cancel/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/cancel/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_356OJ3/gdbus/connection/cancel/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/cancel/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/cancel/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_356OJ3/gdbus/connection/cancel/.dirs/runtime 1195s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s ok 9 /gdbus/connection/cancel 1195s # End of connection tests 1195s # End of gdbus tests 1195s ok - glib/gdbus-connection.test 1195s # Running test: glib/pollable.test 1195s TAP version 14 1195s # random seed: R02S1a24f6eee0da6e68b73a23eb1e743976 1195s 1..6 1195s # Start of pollable tests 1195s ok 1 /pollable/converter 1195s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2471d890 and GSocketClientAsyncConnectData 0x2aa2471f710 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2472b220 for GSocketClientAsyncConnectData 0x2aa2471f710 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1195s ok 2 /pollable/socket 1195s # Start of unix tests 1195s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1195s ok 3 /pollable/unix/pipe 1195s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1195s ok 4 /pollable/unix/pty 1195s # /pollable/unix/file summary: Test that regular files are not considered pollable 1195s ok 5 /pollable/unix/file 1195s # /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 1195s ok 6 /pollable/unix/nulldev 1195s # End of unix tests 1195s # End of pollable tests 1195s ok - glib/pollable.test 1195s # Running test: glib/proxy-test.test 1195s TAP version 14 1195s # random seed: R02S8516b3779962f5f18b8cb2572229a914 1195s 1..11 1195s # Start of proxy tests 1195s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 1195s ok 1 /proxy/direct_sync 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402c9f30 and GSocketClientAsyncConnectData 0x2aa402c9450 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402caa50 for GSocketClientAsyncConnectData 0x2aa402c9450 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1195s ok 2 /proxy/direct_async 1195s ok 3 /proxy/single_sync 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402ca510 and GSocketClientAsyncConnectData 0x2aa402c9450 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402cbbb0 for GSocketClientAsyncConnectData 0x2aa402c9450 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1195s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1195s ok 4 /proxy/single_async 1195s ok 5 /proxy/multiple_sync 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402ca800 and GSocketClientAsyncConnectData 0x2aa402ca790 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402cc0f0 for GSocketClientAsyncConnectData 0x2aa402ca790 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402cc090 for GSocketClientAsyncConnectData 0x2aa402ca790 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1195s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1195s ok 6 /proxy/multiple_async 1195s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1195s ok 7 /proxy/invalid-uris-sync 1195s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402ca3f0 and GSocketClientAsyncConnectData 0x2aa402cc280 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1195s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402ca510 and GSocketClientAsyncConnectData 0x2aa402ca790 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1195s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402ca3f0 and GSocketClientAsyncConnectData 0x2aa402cc280 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402caab0 for GSocketClientAsyncConnectData 0x2aa402cc280 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402ca510 and GSocketClientAsyncConnectData 0x2aa402cc280 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402cc2f0 for GSocketClientAsyncConnectData 0x2aa402cc280 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1195s ok 8 /proxy/invalid-uris-async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402c9f30 and GSocketClientAsyncConnectData 0x2aa402cc280 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1195s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1195s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402cc410 and GSocketClientAsyncConnectData 0x2aa402ca9a0 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402cba10 for GSocketClientAsyncConnectData 0x2aa402ca9a0 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1195s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402ca3f0 and GSocketClientAsyncConnectData 0x2aa402ca790 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402caab0 for GSocketClientAsyncConnectData 0x2aa402ca790 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1195s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1195s ok 9 /proxy/dns 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402c9f30 and GSocketClientAsyncConnectData 0x2aa402ca790 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402caab0 for GSocketClientAsyncConnectData 0x2aa402ca790 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1195s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402ca3f0 and GSocketClientAsyncConnectData 0x2aa402ca5d0 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402cba10 for GSocketClientAsyncConnectData 0x2aa402ca5d0 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1195s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1195s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa402c9f30 and GSocketClientAsyncConnectData 0x2aa402cc280 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa402cc0f0 for GSocketClientAsyncConnectData 0x2aa402cc280 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1195s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1195s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1195s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1195s ok 10 /proxy/override 1195s ok 11 /proxy/enumerator-ports 1195s # End of proxy tests 1195s ok - glib/proxy-test.test 1195s # Running test: glib/string.test 1195s TAP version 14 1195s # random seed: R02S8d6d817a69df0341945c15a3bfa2c6ef 1195s 1..25 1195s # Start of string tests 1195s ok 1 /string/chunks 1195s ok 2 /string/chunk-insert 1195s ok 3 /string/new 1195s ok 4 /string/printf 1195s ok 5 /string/assign 1195s ok 6 /string/append-c 1195s ok 7 /string/append 1195s ok 8 /string/append-vprintf 1195s ok 9 /string/prepend-c 1195s ok 10 /string/prepend 1195s ok 11 /string/insert 1195s ok 12 /string/insert-unichar 1195s ok 13 /string/equal 1195s ok 14 /string/truncate 1195s ok 15 /string/overwrite 1195s ok 16 /string/nul-handling 1195s ok 17 /string/up-down 1195s ok 18 /string/set-size 1195s ok 19 /string/to-bytes 1195s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1195s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1195s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1195s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1195s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1195s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1195s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1195s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1195s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1195s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1195s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1195s # -> 4 replacements, "fd fr fals" 1195s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1195s # -> 3 replacements, "aaaaaaaaa" 1195s # 7: Replacing "a" with "" (limit 0) in "aaa" 1195s # -> 3 replacements, "" 1195s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1195s # -> 1 replacements, "bba" 1195s # 9: Replacing "" with "bar" (limit 0) in "foo" 1195s # -> 4 replacements, "barfbarobarobar" 1195s # 10: Replacing "" with "bar" (limit 1) in "foo" 1195s # -> 1 replacements, "barfoo" 1195s # 11: Replacing "" with "bar" (limit 2) in "foo" 1195s # -> 2 replacements, "barfbaroo" 1195s # 12: Replacing "" with "bar" (limit 3) in "foo" 1195s # -> 3 replacements, "barfbarobaro" 1195s # 13: Replacing "" with "bar" (limit 4) in "foo" 1195s # -> 4 replacements, "barfbarobarobar" 1195s # 14: Replacing "" with "bar" (limit 5) in "foo" 1195s # -> 4 replacements, "barfbarobarobar" 1195s # 15: Replacing "" with "x" (limit 0) in "" 1195s # -> 1 replacements, "x" 1195s # 16: Replacing "" with "" (limit 0) in "" 1195s # -> 1 replacements, "" 1195s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1195s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1195s ok 20 /string/replace 1195s ok 21 /string/steal 1195s ok 22 /string/new-take 1195s ok 23 /string/copy 1195s ok 24 /string/sized-new 1195s # Start of new-take tests 1195s ok 25 /string/new-take/null 1195s # End of new-take tests 1195s # End of string tests 1195s ok - glib/string.test 1195s # Running test: glib/dynamictype.test 1195s TAP version 14 1195s # random seed: R02S103b5ee2c0d6cbca2c175ecc94be5485 1195s 1..2 1195s # Start of gobject tests 1195s ok 1 /gobject/dynamic-type 1195s # Start of dynamic-type tests 1195s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1195s ok 2 /gobject/dynamic-type/query 1195s # End of dynamic-type tests 1195s # End of gobject tests 1195s ok - glib/dynamictype.test 1195s # Running test: glib/asyncqueue.test 1195s TAP version 14 1195s # random seed: R02Se3ec7dc93eb42906736bf327c8adbc9e 1195s 1..7 1195s # Start of asyncqueue tests 1195s ok 1 /asyncqueue/basics 1195s ok 2 /asyncqueue/sort 1195s ok 3 /asyncqueue/destroy 1195s ok 4 /asyncqueue/threads 1195s ok - glib/asyncqueue.test 1195s ok 5 /asyncqueue/timed 1195s ok 6 /asyncqueue/remove 1195s ok 7 /asyncqueue/push_front 1195s # End of asyncqueue tests 1195s # Running test: glib/portal-support-flatpak-none.test 1195s TAP version 14 1195s # random seed: R02Sd2816f74829199cb8b14d173d7a8b0d7 1195s 1..1 1195s # Start of portal-support tests 1195s # Start of flatpak tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/runtime 1195s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_F8FVJ3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1195s ok 1 /portal-support/flatpak/none 1195s # End of flatpak tests 1195s # End of portal-support tests 1195s ok - glib/portal-support-flatpak-none.test 1195s # Running test: glib/strfuncs.test 1195s TAP version 14 1195s # random seed: R02See12cd5746cfd24ab565631037c833a5 1195s 1..51 1195s # Start of strfuncs tests 1195s ok 1 /strfuncs/ascii-strcasecmp 1195s ok 2 /strfuncs/ascii_strdown 1195s ok 3 /strfuncs/ascii_strdup 1195s ok 4 /strfuncs/ascii_strtod 1195s ok 5 /strfuncs/bounds-check 1195s ok 6 /strfuncs/has-prefix 1195s ok 7 /strfuncs/has-prefix-macro 1195s ok 8 /strfuncs/has-suffix 1195s ok 9 /strfuncs/has-suffix-macro 1195s ok 10 /strfuncs/memdup 1195s ok 11 /strfuncs/memdup2 1195s ok 12 /strfuncs/set_str 1195s ok 13 /strfuncs/stpcpy 1195s ok 14 /strfuncs/str_match_string 1195s ok 15 /strfuncs/str_tokenize_and_fold 1195s ok 16 /strfuncs/strcanon 1195s ok 17 /strfuncs/strchomp 1195s ok 18 /strfuncs/strchug 1195s ok 19 /strfuncs/strcompress-strescape 1195s ok 20 /strfuncs/strconcat 1195s ok 21 /strfuncs/strdelimit 1195s ok 22 /strfuncs/strdup 1195s ok 23 /strfuncs/strdup-printf 1195s ok 24 /strfuncs/strdupv 1195s ok 25 /strfuncs/strerror 1195s ok 26 /strfuncs/strip-context 1195s ok 27 /strfuncs/strjoin 1195s ok 28 /strfuncs/strjoinv 1195s ok 29 /strfuncs/strlcat 1195s ok 30 /strfuncs/strlcpy 1195s ok 31 /strfuncs/strncasecmp 1195s ok 32 /strfuncs/strndup 1195s ok 33 /strfuncs/strnfill 1195s ok 34 /strfuncs/strreverse 1195s ok 35 /strfuncs/strsignal 1195s ok 36 /strfuncs/strsplit 1195s ok 37 /strfuncs/strsplit-set 1195s ok 38 /strfuncs/strstr 1195s ok 39 /strfuncs/strtod 1195s ok 40 /strfuncs/strtoull-strtoll 1195s ok 41 /strfuncs/strup 1195s ok 42 /strfuncs/strv-contains 1195s ok 43 /strfuncs/strv-equal 1195s ok 44 /strfuncs/strv-length 1195s ok 45 /strfuncs/test-is-to-digit 1195s ok 46 /strfuncs/transliteration 1195s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1195s ok 47 /strfuncs/str-equal 1195s ok 48 /strfuncs/str-is-ascii 1195s # Start of ascii-string-to-num tests 1195s ok 49 /strfuncs/ascii-string-to-num/pathological 1195s ok 50 /strfuncs/ascii-string-to-num/usual 1195s # End of ascii-string-to-num tests 1195s # Start of strdup tests 1195s ok 51 /strfuncs/strdup/inline 1195s # End of strdup tests 1195s # End of strfuncs tests 1195s ok - glib/strfuncs.test 1195s # Running test: glib/portal-support-flatpak-gsettings-only.test 1195s TAP version 14 1195s # random seed: R02S8753bcebd5114d8969b5d0069782515d 1195s 1..1 1195s # Start of portal-support tests 1195s # Start of flatpak tests 1195s ok - glib/portal-support-flatpak-gsettings-only.test 1195s # Running test: glib/mount-operation.test 1195s ok - glib/mount-operation.test 1195s # Running test: glib/properties-refcount4.test 1195s ok - glib/properties-refcount4.test 1195s # Running test: glib/utils-c-17.test 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/runtime 1195s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_ZZ6UJ3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1195s ok 1 /portal-support/flatpak/gsettings 1195s # End of flatpak tests 1195s # End of portal-support tests 1195s TAP version 14 1195s # random seed: R02S01df58db37e1bca0a511e9e80cfa96e1 1195s 1..2 1195s # Start of mount-operation tests 1195s ok 1 /mount-operation/construction 1195s ok 2 /mount-operation/properties 1195s # End of mount-operation tests 1195s TAP version 14 1195s # random seed: R02Se014adcef018a9b63962d8c18c7e0ca5 1195s 1..1 1195s # Start of gobject tests 1195s # Start of refcount tests 1195s ok 1 /gobject/refcount/properties-4 1195s # End of refcount tests 1195s # End of gobject tests 1195s TAP version 14 1195s # random seed: R02Sf7342b03cb952d89aa55b13a8820d118 1195s 1..41 1195s # Start of utils tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/language-names/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/language-names/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/language-names/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/language-names/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/language-names/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/language-names/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/language-names/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/language-names/.dirs/runtime 1195s ok 1 /utils/language-names 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/locale-variants/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/locale-variants/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/locale-variants/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/locale-variants/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/locale-variants/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/locale-variants/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/locale-variants/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/locale-variants/.dirs/runtime 1195s # Testing locale ‘en’ 1195s # Testing locale ‘sr@latin’ 1195s # Testing locale ‘fr_BE’ 1195s # Testing locale ‘sr_SR@latin’ 1195s # Testing locale ‘sr_SR@latin.UTF-8’ 1195s # Testing locale ‘sr@latin_invalid’ 1195s # Testing locale ‘sr.UTF-8@latin’ 1195s # Testing locale ‘sr.UTF-8_latin’ 1195s # Testing locale ‘sr.UTF-8@latin_invalid’ 1195s ok 2 /utils/locale-variants 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/version/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/version/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/version/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/version/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/version/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/version/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/version/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/version/.dirs/runtime 1195s ok 3 /utils/version 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/appname/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/appname/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/appname/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/appname/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/appname/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/appname/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/appname/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/appname/.dirs/runtime 1195s ok 4 /utils/appname 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/prgname-thread-safety/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/prgname-thread-safety/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/prgname-thread-safety/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/prgname-thread-safety/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/prgname-thread-safety/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/prgname-thread-safety/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/prgname-thread-safety/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/prgname-thread-safety/.dirs/runtime 1195s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1195s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1195s ok 5 /utils/prgname-thread-safety 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/tmpdir/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/tmpdir/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/tmpdir/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/tmpdir/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/tmpdir/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/tmpdir/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/tmpdir/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/tmpdir/.dirs/runtime 1195s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1195s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1195s Unable to clean up temporary directory /tmp/test_utils-c-17_OBBVJ3/utils/tmpdir: No such file or directory 1195s ok 6 /utils/tmpdir 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/basic_bits/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/basic_bits/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/basic_bits/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/basic_bits/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/basic_bits/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/basic_bits/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/basic_bits/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/basic_bits/.dirs/runtime 1195s ok 7 /utils/basic_bits 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/bits/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/bits/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/bits/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/bits/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/bits/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/bits/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/bits/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/bits/.dirs/runtime 1195s ok 8 /utils/bits 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/swap/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/swap/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/swap/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/swap/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/swap/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/swap/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/swap/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/swap/.dirs/runtime 1195s ok 9 /utils/swap 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/find-program/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/find-program/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/find-program/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/find-program/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/find-program/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/find-program/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/find-program/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/find-program/.dirs/runtime 1195s ok 10 /utils/find-program 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/find-program-for-path/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/find-program-for-path/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/find-program-for-path/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/find-program-for-path/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/find-program-for-path/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/find-program-for-path/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/find-program-for-path/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/find-program-for-path/.dirs/runtime 1195s ok 11 /utils/find-program-for-path 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/debug/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/debug/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/debug/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/debug/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/debug/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/debug/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/debug/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/debug/.dirs/runtime 1195s Unable to clean up temporary directory /tmp/test_utils-c-17_OBBVJ3/utils/debug: No such file or directory 1195s ok 12 /utils/debug 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/codeset/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/codeset/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/codeset/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/codeset/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/codeset/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/codeset/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/codeset/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/codeset/.dirs/runtime 1195s ok 13 /utils/codeset 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/codeset2/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/codeset2/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/codeset2/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/codeset2/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/codeset2/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/codeset2/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/codeset2/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/codeset2/.dirs/runtime 1195s Unable to clean up temporary directory /tmp/test_utils-c-17_OBBVJ3/utils/codeset2: No such file or directory 1195s ok 14 /utils/codeset2 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/console-charset/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/console-charset/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/console-charset/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/console-charset/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/console-charset/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/console-charset/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/console-charset/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/console-charset/.dirs/runtime 1195s ok 15 /utils/console-charset 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/gettext/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/gettext/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/gettext/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/gettext/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/gettext/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/gettext/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/gettext/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/gettext/.dirs/runtime 1195s ok 16 /utils/gettext 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/username/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/username/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/username/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/username/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/username/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/username/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/username/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/username/.dirs/runtime 1195s ok 17 /utils/username 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/realname/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/realname/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/realname/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/realname/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/realname/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/realname/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/realname/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/realname/.dirs/runtime 1195s ok 18 /utils/realname 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/hostname/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/hostname/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/hostname/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/hostname/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/hostname/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/hostname/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/hostname/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/hostname/.dirs/runtime 1195s ok 19 /utils/hostname 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/os-info/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/os-info/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/os-info/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/os-info/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/os-info/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/os-info/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/os-info/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/os-info/.dirs/runtime 1195s # NAME: Ubuntu 1195s ok 20 /utils/os-info 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/.dirs/runtime 1195s ok 21 /utils/clear-pointer 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer-cast/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer-cast/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer-cast/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer-cast/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer-cast/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer-cast/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer-cast/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer-cast/.dirs/runtime 1195s ok 22 /utils/clear-pointer-cast 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/take-pointer/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/take-pointer/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/take-pointer/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/take-pointer/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/take-pointer/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/take-pointer/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/take-pointer/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/take-pointer/.dirs/runtime 1195s ok 23 /utils/take-pointer 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-source/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-source/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-source/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-source/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-source/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-source/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-source/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/clear-source/.dirs/runtime 1195s ok 24 /utils/clear-source 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/misc-mem/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/misc-mem/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/misc-mem/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/misc-mem/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/misc-mem/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/misc-mem/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/misc-mem/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/misc-mem/.dirs/runtime 1195s ok 25 /utils/misc-mem 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/.dirs/runtime 1195s # /utils/aligned-mem summary: Aligned memory allocator 1195s # Alignment must not be zero 1195s # Alignment must be a power of two 1195s # Alignment must be a multiple of sizeof(void*) 1195s ok 26 /utils/aligned-mem 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/free-sized/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/free-sized/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/free-sized/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/free-sized/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/free-sized/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/free-sized/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/free-sized/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/free-sized/.dirs/runtime 1195s # /utils/free-sized summary: Check that g_free_sized() works 1195s ok 27 /utils/free-sized 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/nullify/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/nullify/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/nullify/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/nullify/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/nullify/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/nullify/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/nullify/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/nullify/.dirs/runtime 1195s ok 28 /utils/nullify 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/atexit/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/atexit/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/atexit/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/atexit/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/atexit/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/atexit/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/atexit/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/atexit/.dirs/runtime 1195s Unable to clean up temporary directory /tmp/test_utils-c-17_OBBVJ3/utils/atexit: No such file or directory 1195s ok 29 /utils/atexit 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/check-setuid/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/check-setuid/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/check-setuid/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/check-setuid/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/check-setuid/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/check-setuid/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/check-setuid/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/check-setuid/.dirs/runtime 1195s ok 30 /utils/check-setuid 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/int-limits/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/int-limits/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/int-limits/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/int-limits/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/int-limits/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/int-limits/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/int-limits/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/int-limits/.dirs/runtime 1195s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1195s ok 31 /utils/int-limits 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-list/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-list/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-list/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-list/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-list/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-list/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-list/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/clear-list/.dirs/runtime 1195s ok 32 /utils/clear-list 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-slist/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-slist/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-slist/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-slist/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-slist/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-slist/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-slist/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/clear-slist/.dirs/runtime 1195s ok 33 /utils/clear-slist 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/steal-handle-id/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/steal-handle-id/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/steal-handle-id/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/steal-handle-id/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/steal-handle-id/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/steal-handle-id/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/steal-handle-id/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/steal-handle-id/.dirs/runtime 1195s ok 34 /utils/steal-handle-id 1195s # Start of user-special-dirs tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/desktop/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/desktop/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/desktop/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/desktop/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/desktop/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/desktop/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/desktop/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/desktop/.dirs/runtime 1195s ok 35 /utils/user-special-dirs/desktop 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1195s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1195s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1195s Unable to clean up temporary directory /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/load-unlocked: No such file or directory 1195s ok 36 /utils/user-special-dirs/load-unlocked 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1195s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1195s Unable to clean up temporary directory /tmp/test_utils-c-17_OBBVJ3/utils/user-special-dirs/reload-leaks: No such file or directory 1195s ok 37 /utils/user-special-dirs/reload-leaks 1195s # End of user-special-dirs tests 1195s # Start of clear-pointer tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/side-effects/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/side-effects/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/side-effects/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/side-effects/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/side-effects/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/side-effects/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/side-effects/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/clear-pointer/side-effects/.dirs/runtime 1195s ok 38 /utils/clear-pointer/side-effects 1195s # End of clear-pointer tests 1195s # Start of aligned-mem tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/alignment/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/alignment/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/alignment/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/alignment/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/alignment/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/alignment/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/alignment/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/alignment/.dirs/runtime 1195s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1195s ok 39 /utils/aligned-mem/alignment 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/zeroed/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/zeroed/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/zeroed/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/zeroed/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/zeroed/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/zeroed/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/zeroed/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/zeroed/.dirs/runtime 1195s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1195s ok 40 /utils/aligned-mem/zeroed 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/free-sized/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/free-sized/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/free-sized/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/free-sized/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/free-sized/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/free-sized/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/free-sized/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_OBBVJ3/utils/aligned-mem/free-sized/.dirs/runtime 1195s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1195s ok 41 /utils/aligned-mem/free-sized 1195s # Start of subprocess tests 1195s # End of subprocess tests 1195s # End of aligned-mem tests 1195s # End of utils tests 1195s ok - glib/utils-c-17.test 1195s # Running test: glib/markup-subparser.test 1195s ok - glib/markup-subparser.test 1195s # Running test: glib/null-settings-backend.test 1195s TAP version 14 1195s # random seed: R02Sf3ff5ee9dbbdd52e03ddd1ed17f6237d 1195s 1..14 1195s # Start of glib tests 1195s # Start of markup tests 1195s # Start of subparser tests 1195s # Start of success tests 1195s ok 1 /glib/markup/subparser/success/0 1195s ok 2 /glib/markup/subparser/success/1 1195s ok 3 /glib/markup/subparser/success/2 1195s ok 4 /glib/markup/subparser/success/3 1195s ok 5 /glib/markup/subparser/success/4 1195s ok 6 /glib/markup/subparser/success/5 1195s ok 7 /glib/markup/subparser/success/6 1195s # End of success tests 1195s # Start of failure tests 1195s ok 8 /glib/markup/subparser/failure/0 1195s ok 9 /glib/markup/subparser/failure/1 1195s ok 10 /glib/markup/subparser/failure/2 1195s ok 11 /glib/markup/subparser/failure/3 1195s ok 12 /glib/markup/subparser/failure/4 1195s ok 13 /glib/markup/subparser/failure/5 1195s ok 14 /glib/markup/subparser/failure/6 1195s # End of failure tests 1195s # End of subparser tests 1195s # End of markup tests 1195s # End of glib tests 1195s ok - glib/null-settings-backend.test 1195s TAP version 14 1195s # random seed: R02Se4d4ed56ffb2c1c5efd8e37bf59ba057 1195s 1..1 1195s # Start of null-settings-backend tests 1195s ok 1 /null-settings-backend/extension-point-registered 1195s # End of null-settings-backend tests 1195s # Running test: glib/properties-introspection.test 1195s TAP version 14 1195s # random seed: R02S8a3a5e7d8bcb6787838de5f79107f2b6 1195s 1..2 1195s # Start of properties tests 1195s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1195s ok 1 /properties/introspection 1195s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1195s ok 2 /properties/collision 1195s # End of properties tests 1195s ok - glib/properties-introspection.test 1195s # Running test: glib/testing.test 1195s TAP version 14 1195s # random seed: R02Sd281b85978bdffe78055262ea59d6c3c 1195s ok - glib/testing.test 1195s 1..1 1195s # Start of assert tests 1195s ok 1 /assert/finalize_object 1195s # Start of finalize_object tests 1195s # Start of subprocess tests 1195s # End of subprocess tests 1195s # End of finalize_object tests 1195s # End of assert tests 1195s # Running test: glib/fdo-notification-backend.test 1195s TAP version 14 1195s # random seed: R02S4b51b63a37983a8b3ed15bce99939c72 1195s 1..2 1195s # Start of fdo-notification-backend tests 1195s # Test constructing a GFdoNotificationBackend 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s ok 1 /fdo-notification-backend/construction 1195s # Start of dbus tests 1195s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1195s ok - glib/fdo-notification-backend.test 1195s # Running test: glib/type.test 1195s ok 2 /fdo-notification-backend/dbus/activate-action 1195s # End of dbus tests 1195s # End of fdo-notification-backend tests 1195s TAP version 14 1195s # random seed: R02S992ddf3f84215d44ab099d41dc29af3c 1195s 1..6 1195s # Start of type tests 1195s ok 1 /type/registration-serial 1195s ok 2 /type/interface-prerequisite 1195s ok 3 /type/interface-check 1195s ok 4 /type/next-base 1195s ok 5 /type/is-a 1195s # Invalid types can’t be queried. 1195s # Unclassed types can’t be queried. 1195s ok 6 /type/query 1195s # End of type tests 1196s ok - glib/type.test 1196s # Running test: glib/list.test 1196s TAP version 14 1196s # random seed: R02S2cc0ab3a177ebf35a7c9cd0963f8adb4 1196s 1..20 1196s # Start of list tests 1196s ok 1 /list/sort 1196s ok 2 /list/sort-with-data 1196s ok 3 /list/insert-before-link 1196s ok 4 /list/insert-sorted 1196s ok 5 /list/insert-sorted-with-data 1196s ok 6 /list/reverse 1196s ok 7 /list/nth 1196s ok 8 /list/concat 1196s ok 9 /list/remove 1196s ok 10 /list/remove-all 1196s ok 11 /list/first-last 1196s ok 12 /list/insert 1196s ok 13 /list/free-full 1196s ok 14 /list/copy 1196s ok 15 /list/copy-deep 1196s ok 16 /list/delete-link 1196s ok 17 /list/prepend 1196s ok 18 /list/position 1196s ok 19 /list/double-free 1196s # Start of sort tests 1196s ok 20 /list/sort/stable 1196s # End of sort tests 1196s # End of list tests 1196s ok - glib/list.test 1196s # Running test: glib/reference.test 1196s TAP version 14 1196s # random seed: R02S5a2127ba5b9c5432f2999f8323d3db29 1196s 1..29 1196s # Start of type tests 1196s ok 1 /type/fundamentals 1196s ok 2 /type/qdata 1196s ok 3 /type/query 1196s ok 4 /type/class-private 1196s # End of type tests 1196s # Start of object tests 1196s ok 5 /object/clear 1196s ok 6 /object/clear-function 1196s ok 7 /object/set 1196s ok 8 /object/set-function 1196s ok 9 /object/value 1196s ok 10 /object/initially-unowned 1196s ok 11 /object/weak-pointer 1196s ok 12 /object/weak-ref 1196s ok 13 /object/toggle-ref 1196s ok 14 /object/qdata 1196s ok 15 /object/qdata2 1196s # Start of set tests 1196s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 1196s ok 16 /object/set/derived-type 1196s # End of set tests 1196s # Start of weak-pointer tests 1196s ok 17 /object/weak-pointer/clear 1196s ok 18 /object/weak-pointer/clear-function 1196s ok 19 /object/weak-pointer/set 1196s ok 20 /object/weak-pointer/set-function 1196s # End of weak-pointer tests 1196s # Start of weak-ref tests 1196s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1196s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1196s ok 21 /object/weak-ref/on-dispose 1196s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1196s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1196s ok 22 /object/weak-ref/on-run-dispose 1196s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1196s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1196s ok 23 /object/weak-ref/on-toggle-notify 1196s ok 24 /object/weak-ref/in-toggle-notify 1196s ok 25 /object/weak-ref/many 1196s # Start of concurrent tests 1196s ok 26 /object/weak-ref/concurrent/0 1196s ok - glib/reference.test 1196s ok 27 /object/weak-ref/concurrent/1 1196s # End of concurrent tests 1196s # End of weak-ref tests 1196s # Start of toggle-ref tests 1196s ok 28 /object/toggle-ref/ref-on-dispose 1196s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1196s # End of toggle-ref tests 1196s # End of object tests 1196s # Running test: glib/readwrite.test 1196s TAP version 14 1196s # random seed: R02Scb7ffea269d74e81afc17d2518648caa 1196s 1..3 1196s # Start of readwrite tests 1196s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1196s ok 1 /readwrite/test_g_file_open_readwrite 1196s ok 2 /readwrite/test_g_file_create_readwrite 1196s ok - glib/readwrite.test 1196s # Running test: glib/struct-info.test 1196s ok 3 /readwrite/test_g_file_replace_readwrite 1196s # End of readwrite tests 1196s TAP version 14 1196s # random seed: R02S7be83804cb6a9d7280b9c0ad42db5ec0 1196s 1..4 1196s # Start of struct-info tests 1196s ok - glib/struct-info.test 1196s # Running test: glib/gsubprocess.test 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_QD3YJ3/struct-info/field-iterators/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/field-iterators/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_QD3YJ3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_QD3YJ3/struct-info/field-iterators/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/field-iterators/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_QD3YJ3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_QD3YJ3/struct-info/field-iterators/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/field-iterators/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/field-iterators/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_QD3YJ3/struct-info/field-iterators/.dirs/runtime 1196s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1196s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1196s ok 1 /struct-info/field-iterators 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_QD3YJ3/struct-info/sizeof-gvalue/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/sizeof-gvalue/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_QD3YJ3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_QD3YJ3/struct-info/sizeof-gvalue/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/sizeof-gvalue/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_QD3YJ3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_QD3YJ3/struct-info/sizeof-gvalue/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/sizeof-gvalue/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/sizeof-gvalue/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_QD3YJ3/struct-info/sizeof-gvalue/.dirs/runtime 1196s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1196s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1196s ok 2 /struct-info/sizeof-gvalue 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_QD3YJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_QD3YJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_QD3YJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_QD3YJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_QD3YJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_QD3YJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1196s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1196s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1196s ok 3 /struct-info/is-pointer-for-struct-method-arg 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_QD3YJ3/struct-info/boxed/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/boxed/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_QD3YJ3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_QD3YJ3/struct-info/boxed/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/boxed/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_QD3YJ3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_QD3YJ3/struct-info/boxed/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/boxed/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_QD3YJ3/struct-info/boxed/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_QD3YJ3/struct-info/boxed/.dirs/runtime 1196s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1196s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1196s ok 4 /struct-info/boxed 1196s # End of struct-info tests 1196s TAP version 14 1196s # random seed: R02S64c0aa06a7b58e4d7edd24981e6cdc97 1196s 1..84 1196s # Start of gsubprocess tests 1196s ok 1 /gsubprocess/noop 1196s ok 2 /gsubprocess/noop-all-to-null 1196s ok 3 /gsubprocess/noop-no-wait 1196s ok 4 /gsubprocess/noop-stdin-inherit 1196s ok 5 /gsubprocess/search-path 1196s ok 6 /gsubprocess/search-path-from-envp 1198s # Executing: glib/gsubprocess.test 1198s ok 7 /gsubprocess/signal 1198s # slow test /gsubprocess/signal executed in 2.80 secs 1198s ok 8 /gsubprocess/exit1 1198s ok 9 /gsubprocess/echo1 1198s ok 10 /gsubprocess/echo-merged 1198s ok 11 /gsubprocess/cat-utf8 1199s ok 12 /gsubprocess/cat-eof 1199s # slow test /gsubprocess/cat-eof executed in 1.03 secs 1202s # Executing: glib/gsubprocess.test 1203s ok 13 /gsubprocess/multi1 1203s # slow test /gsubprocess/multi1 executed in 3.21 secs 1203s ok 14 /gsubprocess/communicate 1206s ok 15 /gsubprocess/terminate 1206s # slow test /gsubprocess/terminate executed in 3.75 secs 1206s ok 16 /gsubprocess/fail-initialization 1206s ok 17 /gsubprocess/env 1206s ok 18 /gsubprocess/cwd 1206s ok 19 /gsubprocess/launcher-close 1206s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1206s ok 20 /gsubprocess/stdout-file 1206s ok 21 /gsubprocess/stdout-fd 1206s ok 22 /gsubprocess/child-setup 1206s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1206s ok 23 /gsubprocess/launcher-environment 1206s # Start of exit1 tests 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1206s ok 24 /gsubprocess/exit1/cancel 1206s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1206s ok 25 /gsubprocess/exit1/cancel_in_cb 1206s # End of exit1 tests 1206s # Start of communicate tests 1206s ok 26 /gsubprocess/communicate/cancelled 1206s ok 27 /gsubprocess/communicate/async 1206s ok 28 /gsubprocess/communicate/utf8 1206s # hello world 1206s ok 29 /gsubprocess/communicate/no-pipes 1206s ok 30 /gsubprocess/communicate/separate-stderr 1206s ok 31 /gsubprocess/communicate/stdout-only 1206s # hello world 1206s ok 32 /gsubprocess/communicate/stderr-only 1206s ok 33 /gsubprocess/communicate/stdout-silence 1206s ok 34 /gsubprocess/communicate/nothing 1206s # Start of async tests 1206s ok 35 /gsubprocess/communicate/async/cancelled 1206s # hello world 1206s ok 36 /gsubprocess/communicate/async/no-pipes 1206s ok 37 /gsubprocess/communicate/async/separate-stderr 1206s ok 38 /gsubprocess/communicate/async/stdout-only 1206s # hello world 1206s ok 39 /gsubprocess/communicate/async/stderr-only 1206s ok 40 /gsubprocess/communicate/async/stdout-silence 1206s # Start of cancelled tests 1206s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1206s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1206s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1206s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1206s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1206s # End of cancelled tests 1206s # End of async tests 1206s # Start of utf8 tests 1206s ok 46 /gsubprocess/communicate/utf8/cancelled 1207s ok 47 /gsubprocess/communicate/utf8/async 1207s # hello world 1207s ok 48 /gsubprocess/communicate/utf8/no-pipes 1207s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1207s ok 50 /gsubprocess/communicate/utf8/stdout-only 1207s # hello world 1207s ok 51 /gsubprocess/communicate/utf8/stderr-only 1207s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1207s ok 53 /gsubprocess/communicate/utf8/invalid 1207s # Start of async tests 1207s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1207s # hello world 1207s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1207s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1207s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1207s # hello world 1207s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1207s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1207s ok 60 /gsubprocess/communicate/utf8/async/invalid 1207s # Start of cancelled tests 1207s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1207s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1207s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1207s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1207s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1207s # End of cancelled tests 1207s # End of async tests 1207s # Start of cancelled tests 1207s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1207s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1207s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1207s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1207s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1207s # End of cancelled tests 1207s # End of utf8 tests 1207s # Start of cancelled tests 1207s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1207s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1207s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1207s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1207s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1207s # End of cancelled tests 1207s # End of communicate tests 1207s # Start of env tests 1207s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1207s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1207s ok 76 /gsubprocess/env/inherit 1207s # End of env tests 1207s # Start of pass-fd tests 1207s ok 77 /gsubprocess/pass-fd/basic 1207s ok 78 /gsubprocess/pass-fd/empty-child-setup 1207s ok 79 /gsubprocess/pass-fd/inherit-fds 1207s # End of pass-fd tests 1207s # Start of fd-conflation tests 1207s ok 80 /gsubprocess/fd-conflation/basic 1207s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1207s ok 82 /gsubprocess/fd-conflation/inherit-fds 1207s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1207s # End of fd-conflation tests 1207s # Start of exit-status tests 1207s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1207s ok 84 /gsubprocess/exit-status/trapped 1207s # End of exit-status tests 1207s # End of gsubprocess tests 1207s ok - glib/gsubprocess.test 1207s # Running test: glib/hook.test 1207s TAP version 14 1207s # random seed: R02S4f4404b1888a117687c791ebe48580bf 1207s ok - glib/hook.test 1207s 1..2 1207s # Start of hook tests 1207s ok 1 /hook/basics 1207s ok 2 /hook/corner-cases 1207s # End of hook tests 1207s # Running test: glib/memchunk.test 1207s ok - glib/memchunk.test 1207s TAP version 14 1207s # random seed: R02S6cfb90ada4a9b2ce9f9666c8d6c7558c 1207s 1..1 1207s # Start of memchunk tests 1207s ok 1 /memchunk/basic 1207s # End of memchunk tests 1207s # SUMMARY: total=332; passed=331; skipped=1; failed=0; user=108.4s; system=60.1s; maxrss=218716 1207s autopkgtest [12:32:03]: test installed-tests: -----------------------] 1209s autopkgtest [12:32:05]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1209s installed-tests PASS 1209s autopkgtest [12:32:05]: test closure-refcount: preparing testbed 1210s Reading package lists... 1211s Building dependency tree... 1211s Reading state information... 1211s Solving dependencies... 1211s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1213s autopkgtest [12:32:09]: test closure-refcount: [----------------------- 1213s Running test: glib/closure-refcount.test 1213s TAP version 14 1213s # random seed: R02S881aa72635167647967a56953cc8517b 1213s 1..1 1213s # Start of closure tests 1213s # Init 0x2aa0221adb0 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from thread1 1213s # Yielding from thread2 1213s # Yielding from main thread 1213s # Yielding from thread1 1213s # Yielding from main thread 1213s # Yielding from thread1 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1213s # Yielding from main thread 1214s # Yielding from thread2 1214s # Yielding from thread2 1214s # Yielding from thread2 1214s # Yielding from thread2 1214s # Yielding from main thread 1214s # Yielding from thread2 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from thread2 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from thread1 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from thread1 1214s # Yielding from main thread 1214s # Yielding from main thread 1214s # Yielding from thread2 1214s # Yielding from thread1 1214s # Yielding from thread2 1214s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from thread1 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from thread1 1215s # Yielding from thread2 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from thread2 1215s # Yielding from main thread 1215s # Yielding from thread1 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from thread2 1216s # Yielding from thread1 1216s # Yielding from thread2 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from thread1 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from thread1 1216s # Yielding from main thread 1216s # Yielding from thread1 1216s # Yielding from thread2 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from thread2 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from thread1 1216s # Yielding from main thread 1216s # Yielding from thread2 1216s # Yielding from main thread 1216s # Yielding from thread1 1216s # Yielding from main thread 1216s # Yielding from thread2 1216s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from thread1 1217s # Yielding from thread2 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from thread2 1217s # Yielding from main thread 1217s # Stopping 1217s # Stopped 1217s ok 1 /closure/refcount 1217s # slow test /closure/refcount executed in 3.94 secs 1217s # End of closure tests 1217s PASS: glib/closure-refcount.test 1217s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.6s; system=0.1s; maxrss=3604 1217s autopkgtest [12:32:13]: test closure-refcount: -----------------------] 1218s closure-refcount PASS 1218s autopkgtest [12:32:14]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1218s autopkgtest [12:32:14]: test debugcontroller: preparing testbed 1218s Reading package lists... 1218s Building dependency tree... 1219s Reading state information... 1219s Solving dependencies... 1219s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1220s autopkgtest [12:32:16]: test debugcontroller: [----------------------- 1220s Running test: glib/debugcontroller.test 1220s TAP version 14 1220s # random seed: R02S3daa9a7299599e4a9b6b8b1f35e1cddb 1220s 1..3 1220s # Start of debug-controller tests 1220s # Start of dbus tests 1220s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1220s # GLib-GIO-DEBUG: Debug output enabled 1220s # GLib-GIO-DEBUG: Debug output disabled 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s ok 1 /debug-controller/dbus/basic 1220s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s ok 2 /debug-controller/dbus/duplicate 1220s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Debug output enabled 1220s # GLib-GIO-DEBUG: Debug output disabled 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1220s ok 3 /debug-controller/dbus/properties 1220s # End of dbus tests 1220s # End of debug-controller tests 1220s PASS: glib/debugcontroller.test 1220s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6376 1220s autopkgtest [12:32:16]: test debugcontroller: -----------------------] 1221s debugcontroller PASS 1221s autopkgtest [12:32:17]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1222s autopkgtest [12:32:18]: test gdbus-server-auth: preparing testbed 1222s Reading package lists... 1223s Building dependency tree... 1223s Reading state information... 1223s Solving dependencies... 1224s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1225s autopkgtest [12:32:21]: test gdbus-server-auth: [----------------------- 1225s Running test: glib/gdbus-server-auth.test 1225s TAP version 14 1225s # random seed: R02S8684ce9e5ce26b85b67033ab2aee2052 1225s 1..9 1225s # Start of gdbus tests 1225s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/.dirs/home 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/.dirs/cache 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/.dirs/system-config2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/.dirs/config 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/.dirs/system-data2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/.dirs/data 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/.dirs/state 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/.dirs/runtime 1225s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-UKLPJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1225s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-UKLPJ3/dbus-CKopCIcq 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39944 1225s ok 1 /gdbus/server-auth 1225s # Start of server-auth tests 1225s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/abstract/.dirs/home 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/abstract/.dirs/cache 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/abstract/.dirs/system-config2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/abstract/.dirs/config 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/abstract/.dirs/system-data2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/abstract/.dirs/data 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/abstract/.dirs/state 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/abstract/.dirs/runtime 1225s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-PVRQJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1225s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-PVRQJ3/dbus-SWDY2XQQ 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39944 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1225s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39944 1225s ok 2 /gdbus/server-auth/abstract 1225s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/tcp/.dirs/home 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/tcp/.dirs/cache 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/tcp/.dirs/system-config2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/tcp/.dirs/config 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/tcp/.dirs/system-data2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/tcp/.dirs/data 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/tcp/.dirs/state 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/tcp/.dirs/runtime 1225s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1225s # Connectable address: tcp:host=127.0.0.1,port=45251 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1225s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1225s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1225s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1225s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1225s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1225s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1226s ok 3 /gdbus/server-auth/tcp 1226s # slow test /gdbus/server-auth/tcp executed in 1.26 secs 1226s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/.dirs/home 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/.dirs/cache 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/.dirs/system-config2 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/.dirs/config 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/.dirs/system-data2 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/.dirs/data 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/.dirs/state 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/.dirs/runtime 1226s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-S4QUJ3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1226s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-S4QUJ3/dbus-LEKMjBhe 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39944 1226s ok 4 /gdbus/server-auth/anonymous 1226s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/.dirs/home 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/.dirs/cache 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/.dirs/system-config2 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/.dirs/config 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/.dirs/system-data2 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/.dirs/data 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/.dirs/state 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/.dirs/runtime 1226s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-4TOSJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1226s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-4TOSJ3/dbus-ybAm2fyk 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1226s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39944 1226s ok 5 /gdbus/server-auth/external 1226s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/.dirs/home 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/.dirs/cache 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/.dirs/system-config2 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/.dirs/config 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/.dirs/system-data2 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/.dirs/data 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/.dirs/state 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/.dirs/runtime 1226s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-3SGSJ3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1226s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-3SGSJ3/dbus-vE0ku994 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39944 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39944 1226s ok 6 /gdbus/server-auth/sha1 1226s # Start of anonymous tests 1226s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/tcp/.dirs/home 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/tcp/.dirs/config 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/tcp/.dirs/data 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/tcp/.dirs/state 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1226s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1226s # Connectable address: tcp:host=127.0.0.1,port=39093 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1226s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1227s ok 7 /gdbus/server-auth/anonymous/tcp 1227s # slow test /gdbus/server-auth/anonymous/tcp executed in 1.05 secs 1227s # End of anonymous tests 1227s # Start of external tests 1227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/require-same-user/.dirs/home 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/require-same-user/.dirs/cache 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/require-same-user/.dirs/config 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/require-same-user/.dirs/data 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/require-same-user/.dirs/state 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1227s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-HTO0J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1227s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NFQPJ3/gdbus-server-auth-HTO0J3/dbus-1yXwVNw4 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39944 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39944,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39944 1227s ok 8 /gdbus/server-auth/external/require-same-user 1227s # End of external tests 1227s # Start of sha1 tests 1227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/tcp/.dirs/home 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/tcp/.dirs/cache 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/tcp/.dirs/config 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/tcp/.dirs/data 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/tcp/.dirs/state 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NFQPJ3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1227s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1227s # Connectable address: tcp:host=127.0.0.1,port=39079 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1229s ok 9 /gdbus/server-auth/sha1/tcp 1229s # slow test /gdbus/server-auth/sha1/tcp executed in 1.37 secs 1229s # End of sha1 tests 1229s # End of server-auth tests 1229s # End of gdbus tests 1229s PASS: glib/gdbus-server-auth.test 1229s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.2s; maxrss=8252 1229s autopkgtest [12:32:25]: test gdbus-server-auth: -----------------------] 1230s gdbus-server-auth PASS 1230s autopkgtest [12:32:26]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1230s autopkgtest [12:32:26]: test gdbus-threading: preparing testbed 1230s Reading package lists... 1231s Building dependency tree... 1231s Reading state information... 1231s Solving dependencies... 1231s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1232s autopkgtest [12:32:28]: test gdbus-threading: [----------------------- 1233s Running test: glib/gdbus-threading.test 1233s TAP version 14 1233s # random seed: R02S37fe89e49ccaa8849adb1c33cec9ca45 1233s 1..3 1233s # Start of gdbus tests 1233s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/delivery-in-thread/.dirs/home 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/delivery-in-thread/.dirs/cache 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_I57PJ3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_I57PJ3/gdbus/delivery-in-thread/.dirs/system-config2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/delivery-in-thread/.dirs/config 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_I57PJ3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_I57PJ3/gdbus/delivery-in-thread/.dirs/system-data2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/delivery-in-thread/.dirs/data 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/delivery-in-thread/.dirs/state 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_I57PJ3/gdbus/delivery-in-thread/.dirs/runtime 1233s ok 1 /gdbus/delivery-in-thread 1233s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/method-calls-in-thread/.dirs/home 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/method-calls-in-thread/.dirs/cache 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_I57PJ3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_I57PJ3/gdbus/method-calls-in-thread/.dirs/system-config2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/method-calls-in-thread/.dirs/config 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_I57PJ3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_I57PJ3/gdbus/method-calls-in-thread/.dirs/system-data2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/method-calls-in-thread/.dirs/data 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/method-calls-in-thread/.dirs/state 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_I57PJ3/gdbus/method-calls-in-thread/.dirs/runtime 1234s ok 2 /gdbus/method-calls-in-thread 1234s # slow test /gdbus/method-calls-in-thread executed in 1.04 secs 1234s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/threaded-singleton/.dirs/home 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/threaded-singleton/.dirs/cache 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_I57PJ3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_I57PJ3/gdbus/threaded-singleton/.dirs/system-config2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/threaded-singleton/.dirs/config 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_I57PJ3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_I57PJ3/gdbus/threaded-singleton/.dirs/system-data2 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/threaded-singleton/.dirs/data 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_I57PJ3/gdbus/threaded-singleton/.dirs/state 1234s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_I57PJ3/gdbus/threaded-singleton/.dirs/runtime 1234s # GLib-GIO-DEBUG: refcount of 0x3ff8c003230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: refcount of 0x3ff8c003230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: refcount of 0x3ff8c0046c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: refcount of 0x3ff8c000f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: refcount of 0x3ff8c0039d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: refcount of 0x3ff8c002fe0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: refcount of 0x3ff8c000980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: refcount of 0x3ff8c0048c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: refcount of 0x3ff8c0048c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: refcount of 0x3ff8c0048c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: refcount of 0x3ff8c0048c0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: refcount of 0x3ff8c001550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c0027a0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c006060 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c002f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c002f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c0048c0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c000980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c000980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c0013a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c006550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c0048c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c006550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x3ff8c006850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c005c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c005c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c005c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c004510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c004510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c006fe0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c007160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c002d00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c001250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c0060f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c0060f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x3ff8c006b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c003c60 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c003c60 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c003c60 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c003c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c003c60 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c003c60 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c003c60 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1238s Executing: glib/gdbus-threading.test 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c003c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c003c60 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c002af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c003670 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x3ff8c006bb0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: refcount of 0x3ff8c005ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: refcount of 0x3ff8c006610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: refcount of 0x3ff8c005d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s ok 3 /gdbus/threaded-singleton 1239s # slow test /gdbus/threaded-singleton executed in 4.68 secs 1239s # End of gdbus tests 1239s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1239s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1239s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1239s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1239s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1239s PASS: glib/gdbus-threading.test 1239s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=1.0s; maxrss=6144 1239s autopkgtest [12:32:35]: test gdbus-threading: -----------------------] 1239s gdbus-threading PASS 1240s autopkgtest [12:32:35]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1240s autopkgtest [12:32:36]: test gmenumodel: preparing testbed 1241s Reading package lists... 1241s Building dependency tree... 1241s Reading state information... 1241s Solving dependencies... 1242s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1243s autopkgtest [12:32:39]: test gmenumodel: [----------------------- 1243s Running test: glib/gmenumodel.test 1243s TAP version 14 1243s # random seed: R02S1da48bd1ae5d2fb04d1e9a37557aaf58 1243s 1..15 1243s # Start of gmenu tests 1245s ok 1 /gmenu/equality 1245s # slow test /gmenu/equality executed in 2.25 secs 1248s ok 2 /gmenu/random 1248s # slow test /gmenu/random executed in 2.41 secs 1248s ok 3 /gmenu/attributes 1248s ok 4 /gmenu/links 1248s ok 5 /gmenu/mutable 1248s ok 6 /gmenu/convenience 1248s ok 7 /gmenu/menuitem 1248s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1248s ok 8 /gmenu/input-validation 1248s # Start of dbus tests 1248s Executing: glib/gmenumodel.test 1249s ok 9 /gmenu/dbus/roundtrip 1249s # slow test /gmenu/dbus/roundtrip executed in 1.57 secs 1250s ok 10 /gmenu/dbus/subscriptions 1253s ok 11 /gmenu/dbus/threaded 1253s # slow test /gmenu/dbus/threaded executed in 2.74 secs 1253s # Start of peer tests 1253s Executing: glib/gmenumodel.test 1254s ok 12 /gmenu/dbus/peer/roundtrip 1254s # slow test /gmenu/dbus/peer/roundtrip executed in 1.36 secs 1254s ok 13 /gmenu/dbus/peer/subscriptions 1254s # End of peer tests 1254s # Start of export tests 1254s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1254s ok 14 /gmenu/dbus/export/error-handling 1254s # End of export tests 1254s # End of dbus tests 1254s # Start of attributes tests 1254s ok 15 /gmenu/attributes/iterate 1254s # End of attributes tests 1254s # End of gmenu tests 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s PASS: glib/gmenumodel.test 1254s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.6s; system=1.1s; maxrss=32992 1255s autopkgtest [12:32:51]: test gmenumodel: -----------------------] 1255s gmenumodel PASS 1255s autopkgtest [12:32:51]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1256s autopkgtest [12:32:52]: test mainloop: preparing testbed 1256s Reading package lists... 1256s Building dependency tree... 1256s Reading state information... 1256s Solving dependencies... 1257s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1258s autopkgtest [12:32:54]: test mainloop: [----------------------- 1258s Running test: glib/mainloop.test 1258s TAP version 14 1258s # random seed: R02S8df110695ca2c135a9022de1d0cf4d76 1258s 1..47 1258s # Start of maincontext tests 1258s ok 1 /maincontext/basic 1258s # Add same-priority sources: 150 1258s # Find each source: 9 1258s # Remove in random order: 58 1258s ok 2 /maincontext/nsources_same_priority 1258s # Add different-priority sources: 39 1258s # Find each source: 2 1259s # Remove in random order: 53 1259s ok 3 /maincontext/nsources_different_priority 1259s # Add sources from threads: 170 1259s # Remove sources from threads: 153 1259s ok 4 /maincontext/nsources_threadpool 1259s ok 5 /maincontext/source_finalization 1259s # /maincontext/idle-once summary: Test g_idle_add_once() works 1259s ok 6 /maincontext/idle-once 1259s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1259s ok 7 /maincontext/timeout-once 1259s # /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. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1259s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1259s # Start of source_finalization_from_source tests 1259s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1259s ok 9 /maincontext/source_finalization_from_source/0 1259s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1259s ok 10 /maincontext/source_finalization_from_source/1 1259s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1259s ok 11 /maincontext/source_finalization_from_source/2 1259s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1259s ok 12 /maincontext/source_finalization_from_source/3 1259s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1259s ok 13 /maincontext/source_finalization_from_source/4 1259s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1259s ok 14 /maincontext/source_finalization_from_source/5 1259s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1259s ok 15 /maincontext/source_finalization_from_source/6 1259s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1259s ok 16 /maincontext/source_finalization_from_source/7 1259s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1259s ok 17 /maincontext/source_finalization_from_source/8 1259s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1259s ok 18 /maincontext/source_finalization_from_source/9 1259s # End of source_finalization_from_source tests 1259s # Start of source_finalization_from_dispatch tests 1259s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1259s ok 19 /maincontext/source_finalization_from_dispatch/0 1259s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1259s ok 20 /maincontext/source_finalization_from_dispatch/1 1259s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1259s ok 21 /maincontext/source_finalization_from_dispatch/2 1259s # End of source_finalization_from_dispatch tests 1259s # End of maincontext tests 1259s # Start of mainloop tests 1259s ok 22 /mainloop/basic 1259s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1259s ok 24 /mainloop/priorities 1260s ok 25 /mainloop/invoke 1260s # slow test /mainloop/invoke executed in 0.50 secs 1261s ok 26 /mainloop/child_sources 1261s # slow test /mainloop/child_sources executed in 1.19 secs 1263s Executing: glib/mainloop.test 1264s ok 27 /mainloop/recursive_child_sources 1264s # slow test /mainloop/recursive_child_sources executed in 3.31 secs 1264s ok 28 /mainloop/recursive_loop_child_sources 1264s ok 29 /mainloop/swapping_child_sources 1264s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1264s ok 30 /mainloop/blocked_child_sources 1265s ok 31 /mainloop/source_time 1265s # slow test /mainloop/source_time executed in 1.00 secs 1265s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1265s ok 32 /mainloop/overflow 1266s ok 33 /mainloop/ready-time 1266s # slow test /mainloop/ready-time executed in 0.56 secs 1266s ok 34 /mainloop/wakeup 1266s ok 35 /mainloop/remove-invalid 1266s ok 36 /mainloop/unref-while-pending 1266s ok 37 /mainloop/unix-fd 1266s ok 38 /mainloop/unix-fd-source 1266s ok 39 /mainloop/source-unix-fd-api 1266s ok 40 /mainloop/wait 1266s ok 41 /mainloop/unix-file-poll 1266s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1266s ok 42 /mainloop/unix-fd-priority 1266s ok 43 /mainloop/nfds 1266s ok 44 /mainloop/steal-fd 1268s Executing: glib/mainloop.test 1269s ok 45 /mainloop/simultaneous-source-context-destruction 1269s # slow test /mainloop/simultaneous-source-context-destruction executed in 3.01 secs 1269s # Start of ownerless-polling tests 1269s ok 46 /mainloop/ownerless-polling/attach-first 1269s ok 47 /mainloop/ownerless-polling/pop-first 1269s # End of ownerless-polling tests 1269s # End of mainloop tests 1269s PASS: glib/mainloop.test 1269s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=2.6s; maxrss=17432 1270s autopkgtest [12:33:06]: test mainloop: -----------------------] 1270s autopkgtest [12:33:06]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1270s mainloop PASS 1271s autopkgtest [12:33:07]: test memory-monitor-dbus: preparing testbed 1271s Reading package lists... 1271s Building dependency tree... 1271s Reading state information... 1271s Solving dependencies... 1272s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1273s autopkgtest [12:33:09]: test memory-monitor-dbus: [----------------------- 1273s Running test: glib/memory-monitor-dbus.test 1274s TAP version 13 1274s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1274s # Received memory warning signal, level 0 1274s # Received memory warning signal, level 100 1274s # Received memory warning signal, level 255 1274s 1..1 1274s PASS: glib/memory-monitor-dbus.test 1274s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=31148 1274s autopkgtest [12:33:10]: test memory-monitor-dbus: -----------------------] 1275s memory-monitor-dbus PASS 1275s autopkgtest [12:33:11]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1275s autopkgtest [12:33:11]: test socket: preparing testbed 1275s Reading package lists... 1275s Building dependency tree... 1275s Reading state information... 1275s Solving dependencies... 1277s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1278s autopkgtest [12:33:14]: test socket: [----------------------- 1278s Running test: glib/socket.test 1278s TAP version 14 1278s # random seed: R02S0bef2861ad7249dc5b5f7957763ae985 1278s 1..30 1278s # Start of socket tests 1279s ok 1 /socket/ipv4_sync 1279s # slow test /socket/ipv4_sync executed in 1.00 secs 1280s ok 2 /socket/ipv4_async 1280s # slow test /socket/ipv4_async executed in 1.08 secs 1280s ok 3 /socket/ipv6_sync 1280s ok 4 /socket/ipv6_async 1280s ok 5 /socket/ipv6_v4mapped 1281s ok 6 /socket/close_graceful 1281s # slow test /socket/close_graceful executed in 1.00 secs 1281s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1281s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1281s ok 8 /socket/fd_reuse 1281s ok 9 /socket/address 1281s ok 10 /socket/unix-from-fd 1281s ok 11 /socket/unix-connection 1281s ok 12 /socket/unix-connection-ancillary-data 1281s ok 13 /socket/source-postmortem 1281s ok 14 /socket/read_write 1281s ok 15 /socket/read_writev 1281s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1281s ok 16 /socket/receive_bytes 1281s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1281s ok 17 /socket/receive_bytes_from 1281s # Start of ipv4_sync tests 1281s ok 18 /socket/ipv4_sync/datagram 1281s # Start of datagram tests 1282s ok 19 /socket/ipv4_sync/datagram/timeouts 1282s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1282s # End of datagram tests 1282s # End of ipv4_sync tests 1282s # Start of ipv6_sync tests 1282s ok 20 /socket/ipv6_sync/datagram 1282s # Start of datagram tests 1283s Executing: glib/socket.test 1283s ok 21 /socket/ipv6_sync/datagram/timeouts 1283s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1283s # End of datagram tests 1283s # End of ipv6_sync tests 1283s # Start of reuse tests 1283s ok 22 /socket/reuse/tcp 1283s ok 23 /socket/reuse/udp 1283s # End of reuse tests 1283s # Start of get_available tests 1283s ok 24 /socket/get_available/datagram 1283s ok 25 /socket/get_available/stream 1283s # End of get_available tests 1283s # Start of credentials tests 1283s # Supported on this OS: GCredentials:linux-ucred:pid=0 1283s ok 26 /socket/credentials/tcp_client 1283s # Supported on this OS: GCredentials:linux-ucred:pid=0 1283s ok 27 /socket/credentials/tcp_server 1283s # Supported on this OS: GCredentials:linux-ucred:pid=65939,uid=1000,gid=1000 1283s ok 28 /socket/credentials/unix_socketpair 1283s # End of credentials tests 1283s # Start of accept tests 1283s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1283s ok 29 /socket/accept/cancelled 1283s # End of accept tests 1283s # Start of connect tests 1283s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1283s ok 30 /socket/connect/cancelled 1283s # End of connect tests 1283s # End of socket tests 1283s PASS: glib/socket.test 1283s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5676 1283s autopkgtest [12:33:19]: test socket: -----------------------] 1284s autopkgtest [12:33:20]: test socket: - - - - - - - - - - results - - - - - - - - - - 1284s socket PASS 1284s autopkgtest [12:33:20]: test testfilemonitor: preparing testbed 1285s Reading package lists... 1286s Building dependency tree... 1286s Reading state information... 1286s Solving dependencies... 1287s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1288s autopkgtest [12:33:24]: test testfilemonitor: [----------------------- 1289s Running test: glib/testfilemonitor.test 1289s TAP version 14 1289s # random seed: R02Sa05426b80546a721619db7b9e31f98a8 1289s 1..8 1289s # Start of monitor tests 1289s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1289s # Using temporary directory: /tmp/gio-test-testfilemonitor_LERLJ3 1289s # Using GFileMonitor GInotifyFileMonitor 1291s ok 1 /monitor/atomic-replace 1291s # slow test /monitor/atomic-replace executed in 2.01 secs 1291s # Using temporary directory: /tmp/gio-test-testfilemonitor_IAHLJ3 1291s # Using GFileMonitor GInotifyFileMonitor 1293s ok 2 /monitor/file-changes 1293s # slow test /monitor/file-changes executed in 2.50 secs 1293s # Using temporary directory: /tmp/gio-test-testfilemonitor_SK9WJ3 1293s # Using GFileMonitor GInotifyFileMonitor 1294s Executing: glib/testfilemonitor.test 1297s ok 3 /monitor/dir-monitor 1297s # slow test /monitor/dir-monitor executed in 3.71 secs 1297s # Using temporary directory: /tmp/gio-test-testfilemonitor_BLCIJ3 1297s # Using GFileMonitor GInotifyFileMonitor 1299s Executing: glib/testfilemonitor.test 1304s Executing: glib/testfilemonitor.test 1309s Executing: glib/testfilemonitor.test 1314s Executing: glib/testfilemonitor.test 1319s Executing: glib/testfilemonitor.test 1322s ok 4 /monitor/dir-not-existent 1322s # slow test /monitor/dir-not-existent executed in 25.04 secs 1322s # Using temporary directory: /tmp/gio-test-testfilemonitor_K1WQJ3 1322s # Using GFileMonitor 0 GInotifyFileMonitor 1322s # Using GFileMonitor 1 GInotifyFileMonitor 1324s ok 5 /monitor/cross-dir-moves 1324s # slow test /monitor/cross-dir-moves executed in 2.21 secs 1324s # Using temporary directory: /tmp/gio-test-testfilemonitor_CK3WJ3 1324s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1324s ok 6 /monitor/finalize-in-callback 1324s # Using temporary directory: /tmp/gio-test-testfilemonitor_EHYWJ3 1324s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1324s ok 7 /monitor/root 1324s # Start of file tests 1324s # Using temporary directory: /tmp/gio-test-testfilemonitor_8IYWJ3 1324s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1324s # Running with hard link tests 1324s # Using GFileMonitor GInotifyFileMonitor 1324s Executing: glib/testfilemonitor.test 1328s # Event 0 at expected index 7 skipped because it is marked as optional 1328s # Event 2 at expected index 11 skipped because it is marked as optional 1328s ok 8 /monitor/file/hard-links 1328s # slow test /monitor/file/hard-links executed in 3.91 secs 1328s # End of file tests 1328s # End of monitor tests 1328s PASS: glib/testfilemonitor.test 1328s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6024 1329s autopkgtest [12:34:05]: test testfilemonitor: -----------------------] 1330s autopkgtest [12:34:06]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1330s testfilemonitor PASS 1331s autopkgtest [12:34:07]: test thread-pool-slow: preparing testbed 1331s Reading package lists... 1331s Building dependency tree... 1331s Reading state information... 1331s Solving dependencies... 1332s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1334s autopkgtest [12:34:10]: test thread-pool-slow: [----------------------- 1334s Running test: glib/thread-pool-slow.test 1334s TAP version 14 1334s # random seed: R02S567dc6781752a4e025bd2b51db794522 1334s 1..7 1334s # Start of threadpool tests 1334s ok 1 /threadpool/functions 1334s ok 2 /threadpool/stop-unused 1334s # slow test /threadpool/stop-unused executed in 0.51 secs 1335s ok 3 /threadpool/pools 1335s # [unsorted] ===> pushed new thread with id:93, number of threads:1, unprocessed:1 1335s # [unsorted] ===> pushed new thread with id:88, number of threads:2, unprocessed:2 1335s # [unsorted] ===> pushed new thread with id:39, number of threads:3, unprocessed:3 1335s # [unsorted] ===> pushed new thread with id:92, number of threads:4, unprocessed:4 1335s # [unsorted] ===> pushed new thread with id:90, number of threads:5, unprocessed:5 1335s # [unsorted] ===> pushed new thread with id:57, number of threads:6, unprocessed:6 1335s # [unsorted] ===> pushed new thread with id:27, number of threads:7, unprocessed:7 1335s # [unsorted] ===> pushed new thread with id:49, number of threads:8, unprocessed:8 1335s # [unsorted] ===> pushed new thread with id:56, number of threads:9, unprocessed:9 1335s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:9 1335s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:1 1335s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:2 1335s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:3 1335s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:4 1335s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:5 1335s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:6 1335s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:7 1335s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:8 1335s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:9 1335s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:10 1335s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:11 1335s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:12 1335s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:13 1335s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:14 1335s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:15 1335s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:16 1335s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:17 1335s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:18 1335s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:19 1335s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:20 1335s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:21 1335s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:22 1335s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:23 1335s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:24 1335s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:25 1335s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:26 1335s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:27 1335s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:28 1335s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:29 1335s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:30 1335s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:31 1335s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:32 1335s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:33 1335s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:34 1335s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:35 1335s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:36 1335s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:37 1335s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:38 1335s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:39 1335s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:40 1335s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:41 1335s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:42 1335s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:43 1335s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:44 1335s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:45 1335s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:46 1335s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:47 1335s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:48 1335s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:49 1335s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:50 1335s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:51 1335s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:52 1335s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:53 1335s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:54 1335s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:55 1335s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:56 1335s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:57 1335s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:58 1335s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:59 1335s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:60 1335s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:61 1335s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:62 1335s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:63 1335s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:64 1335s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:65 1335s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:66 1335s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:67 1335s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:68 1335s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:69 1335s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:70 1335s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:71 1335s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:72 1335s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:73 1335s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:74 1335s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:75 1335s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:76 1335s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:77 1335s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:78 1335s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:79 1335s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:80 1335s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:81 1335s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:82 1335s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:83 1335s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:84 1335s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:85 1335s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:86 1335s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:87 1335s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:88 1335s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:89 1335s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:90 1335s ok 4 /threadpool/no-sort 1335s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:1 1335s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:2 1335s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:3 1335s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:4 1335s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:5 1335s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:6 1335s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:7 1335s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:8 1335s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:9 1335s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:10 1335s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:11 1335s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:12 1335s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:13 1335s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:14 1335s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:15 1335s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:16 1335s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:17 1335s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:18 1335s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:19 1335s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:20 1335s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:21 1335s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:22 1335s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:23 1335s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:24 1335s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:25 1335s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:26 1335s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:27 1335s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:28 1335s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:29 1335s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:30 1335s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:31 1335s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:32 1335s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:33 1335s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:34 1335s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:35 1335s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:36 1335s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:37 1335s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:38 1335s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:39 1335s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:40 1335s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:41 1335s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:42 1335s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:43 1335s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:44 1335s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:45 1335s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:46 1335s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:47 1335s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:48 1335s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:49 1335s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:50 1335s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:51 1335s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:52 1335s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:53 1335s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:54 1335s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:55 1335s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:56 1335s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:57 1335s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:58 1335s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:59 1335s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:60 1335s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:61 1335s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:62 1335s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:63 1335s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:64 1335s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:65 1335s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:66 1335s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:67 1335s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:68 1335s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:69 1335s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:70 1335s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:71 1335s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:72 1335s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:73 1335s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:74 1335s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:75 1335s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:76 1335s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:77 1335s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:78 1335s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:79 1335s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:80 1335s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:81 1335s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:82 1335s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:83 1335s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:84 1335s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:85 1335s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:86 1335s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:87 1335s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:88 1335s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:89 1335s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:90 1335s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:91 1335s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:92 1335s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:93 1335s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:94 1335s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:95 1335s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:96 1335s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:97 1335s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:98 1335s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:99 1335s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:100 1335s # Starting thread pool processing 1335s ok 5 /threadpool/sort 1335s ok 6 /threadpool/stop-unused-multiple 1335s # slow test /threadpool/stop-unused-multiple executed in 0.55 secs 1335s # Pool idle thread count: 0, unprocessed jobs: 41 1336s # Pool idle thread count: 0, unprocessed jobs: 0 1336s # Pool idle thread count: 0, unprocessed jobs: 0 1336s # Pool idle thread count: 10, unprocessed jobs: 0 1336s # Pool idle thread count: 10, unprocessed jobs: 0 1337s # Pool idle thread count: 10, unprocessed jobs: 0 1337s # Pool idle thread count: 10, unprocessed jobs: 0 1337s # Pool idle thread count: 10, unprocessed jobs: 0 1337s # Pool idle thread count: 10, unprocessed jobs: 0 1338s # Pool idle thread count: 10, unprocessed jobs: 0 1338s # Pool idle thread count: 10, unprocessed jobs: 0 1338s # Pool idle thread count: 10, unprocessed jobs: 0 1338s # Pool idle thread count: 10, unprocessed jobs: 0 1339s # Pool idle thread count: 10, unprocessed jobs: 0 1339s # Pool idle thread count: 10, unprocessed jobs: 0 1339s Executing: glib/thread-pool-slow.test 1339s # Pool idle thread count: 10, unprocessed jobs: 0 1339s # Pool idle thread count: 10, unprocessed jobs: 0 1340s # Pool idle thread count: 10, unprocessed jobs: 0 1340s # Pool idle thread count: 10, unprocessed jobs: 0 1340s # Pool idle thread count: 10, unprocessed jobs: 0 1340s # Pool idle thread count: 10, unprocessed jobs: 0 1341s # Pool idle thread count: 10, unprocessed jobs: 0 1341s # Pool idle thread count: 10, unprocessed jobs: 0 1341s # Pool idle thread count: 10, unprocessed jobs: 0 1341s # Pool idle thread count: 10, unprocessed jobs: 0 1342s # Pool idle thread count: 10, unprocessed jobs: 0 1342s # Pool idle thread count: 10, unprocessed jobs: 0 1342s # Pool idle thread count: 10, unprocessed jobs: 0 1342s # Pool idle thread count: 10, unprocessed jobs: 0 1343s # Pool idle thread count: 10, unprocessed jobs: 0 1343s # Pool idle thread count: 10, unprocessed jobs: 0 1343s # Pool idle thread count: 10, unprocessed jobs: 0 1343s # Pool idle thread count: 10, unprocessed jobs: 0 1344s # Pool idle thread count: 10, unprocessed jobs: 0 1344s # Pool idle thread count: 10, unprocessed jobs: 0 1344s Executing: glib/thread-pool-slow.test 1344s # Pool idle thread count: 10, unprocessed jobs: 2 1344s # Pool idle thread count: 8, unprocessed jobs: 0 1345s # Pool idle thread count: 10, unprocessed jobs: 0 1345s # Pool idle thread count: 10, unprocessed jobs: 0 1345s # Pool idle thread count: 10, unprocessed jobs: 0 1345s # Pool idle thread count: 10, unprocessed jobs: 0 1346s # Pool idle thread count: 2, unprocessed jobs: 0 1346s # Pool idle thread count: 2, unprocessed jobs: 0 1346s # Pool idle thread count: 2, unprocessed jobs: 0 1346s # Pool idle thread count: 2, unprocessed jobs: 0 1347s # Pool idle thread count: 2, unprocessed jobs: 0 1347s # Pool idle thread count: 2, unprocessed jobs: 0 1347s # Pool idle thread count: 2, unprocessed jobs: 0 1347s # Pool idle thread count: 2, unprocessed jobs: 0 1348s # Pool idle thread count: 2, unprocessed jobs: 0 1348s # Pool idle thread count: 2, unprocessed jobs: 0 1348s # Pool idle thread count: 2, unprocessed jobs: 0 1348s # Pool idle thread count: 2, unprocessed jobs: 0 1349s # Pool idle thread count: 2, unprocessed jobs: 0 1349s # Pool idle thread count: 2, unprocessed jobs: 0 1349s Executing: glib/thread-pool-slow.test 1349s # Pool idle thread count: 2, unprocessed jobs: 0 1349s # Pool idle thread count: 2, unprocessed jobs: 0 1350s # Pool idle thread count: 2, unprocessed jobs: 0 1350s # Pool idle thread count: 2, unprocessed jobs: 0 1351s # Pool idle thread count: 2, unprocessed jobs: 0 1351s # Pool idle thread count: 2, unprocessed jobs: 0 1351s # Pool idle thread count: 2, unprocessed jobs: 0 1351s # Pool idle thread count: 2, unprocessed jobs: 0 1352s # Pool idle thread count: 2, unprocessed jobs: 0 1352s # Pool idle thread count: 2, unprocessed jobs: 0 1352s # Pool idle thread count: 2, unprocessed jobs: 0 1352s # Pool idle thread count: 2, unprocessed jobs: 0 1353s # Pool idle thread count: 2, unprocessed jobs: 0 1353s # Pool idle thread count: 2, unprocessed jobs: 0 1353s # Pool idle thread count: 2, unprocessed jobs: 0 1353s # Pool idle thread count: 2, unprocessed jobs: 0 1354s # Pool idle thread count: 2, unprocessed jobs: 0 1354s # Pool idle thread count: 2, unprocessed jobs: 0 1354s Executing: glib/thread-pool-slow.test 1354s # Pool idle thread count: 2, unprocessed jobs: 0 1354s # Pool idle thread count: 2, unprocessed jobs: 0 1355s # Pool idle thread count: 2, unprocessed jobs: 0 1355s # Pool idle thread count: 2, unprocessed jobs: 0 1355s ok 7 /threadpool/idle-time 1355s # slow test /threadpool/idle-time executed in 19.98 secs 1355s # End of threadpool tests 1355s PASS: glib/thread-pool-slow.test 1355s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.0s; maxrss=3680 1355s autopkgtest [12:34:31]: test thread-pool-slow: -----------------------] 1356s thread-pool-slow PASS 1356s autopkgtest [12:34:32]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1356s autopkgtest [12:34:32]: test threadtests: preparing testbed 1356s Reading package lists... 1357s Building dependency tree... 1357s Reading state information... 1358s Solving dependencies... 1358s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1358s autopkgtest [12:34:34]: test threadtests: [----------------------- 1359s Running test: glib/threadtests.test 1359s TAP version 14 1359s # random seed: R02S919a0c70d04f84bcb0706f540fff7cc0 1359s 1..5 1359s # Start of GObject tests 1359s ok 1 /GObject/threaded-object-init 1361s ok 2 /GObject/threaded-weak-ref 1361s # slow test /GObject/threaded-weak-ref executed in 1.94 secs 1361s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1361s # /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 1362s ok 3 /GObject/threaded-toggle-notify 1362s # slow test /GObject/threaded-toggle-notify executed in 0.67 secs 1362s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1362s # Start of threaded-weak-ref tests 1362s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1362s # /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. 1362s ok 5 /GObject/threaded-weak-ref/on-finalization 1362s # End of threaded-weak-ref tests 1362s # End of GObject tests 1362s PASS: glib/threadtests.test 1362s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.7s; maxrss=3612 1362s autopkgtest [12:34:38]: test threadtests: -----------------------] 1363s threadtests PASS 1363s autopkgtest [12:34:39]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1363s autopkgtest [12:34:39]: test timeout: preparing testbed 1363s Reading package lists... 1364s Building dependency tree... 1364s Reading state information... 1364s Solving dependencies... 1365s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1366s autopkgtest [12:34:42]: test timeout: [----------------------- 1366s Running test: glib/timeout.test 1366s TAP version 14 1366s # random seed: R02S66043553bedcdf0e3b01b39addba976c 1366s 1..5 1366s # Start of timeout tests 1366s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1369s ok 1 /timeout/seconds 1369s # slow test /timeout/seconds executed in 2.56 secs 1371s ok 2 /timeout/seconds-once 1371s # slow test /timeout/seconds-once executed in 2.10 secs 1371s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1371s Executing: glib/timeout.test 1373s ok 3 /timeout/weeks-overflow 1373s # slow test /timeout/weeks-overflow executed in 2.10 secs 1373s ok 4 /timeout/far-future-ready-time 1376s Executing: glib/timeout.test 1381s Executing: glib/timeout.test 1383s ok 5 /timeout/rounding 1383s # slow test /timeout/rounding executed in 10.16 secs 1383s # End of timeout tests 1383s PASS: glib/timeout.test 1383s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2908 1383s autopkgtest [12:34:59]: test timeout: -----------------------] 1384s autopkgtest [12:35:00]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1384s timeout PASS 1384s autopkgtest [12:35:00]: test timer: preparing testbed 1384s Reading package lists... 1384s Building dependency tree... 1384s Reading state information... 1385s Solving dependencies... 1385s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1386s autopkgtest [12:35:02]: test timer: [----------------------- 1386s Running test: glib/timer.test 1386s TAP version 14 1386s # random seed: R02S55b232c24fbc43cb23fb64181efe0cba 1386s 1..10 1386s # Start of timer tests 1386s ok 1 /timer/basic 1386s ok 2 /timer/stop 1386s ok 3 /timer/continue 1386s ok 4 /timer/reset 1386s ok 5 /timer/is_active 1386s # End of timer tests 1386s # Start of timeval tests 1386s ok 6 /timeval/add 1386s ok 7 /timeval/from-iso8601 1386s ok 8 /timeval/to-iso8601 1386s # Start of to-iso8601 tests 1386s ok 9 /timeval/to-iso8601/overflow 1386s # End of to-iso8601 tests 1386s # End of timeval tests 1386s # Start of usleep tests 1386s ok 10 /usleep/with-zero-wait 1386s # End of usleep tests 1386s PASS: glib/timer.test 1386s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3044 1387s autopkgtest [12:35:03]: test timer: -----------------------] 1387s autopkgtest [12:35:03]: test timer: - - - - - - - - - - results - - - - - - - - - - 1387s timer PASS 1387s autopkgtest [12:35:03]: test 1065022-futureproofing: preparing testbed 1398s Creating nova instance adt-resolute-s390x-glib2.0-20260129-121156-juju-7f2275-prod-proposed-migration-environment-2-11e74e6b-91cd-4de5-8758-4cf6796deaaa from image adt/ubuntu-resolute-s390x-server-20260128.img (UUID 5ba972fb-5682-41ac-8a6c-59e0b358d8f4)... 1517s autopkgtest [12:37:13]: testbed dpkg architecture: s390x 1517s autopkgtest [12:37:13]: testbed apt version: 3.1.14 1518s autopkgtest [12:37:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1518s autopkgtest [12:37:14]: testbed release detected to be: resolute 1519s autopkgtest [12:37:15]: updating testbed package index (apt update) 1520s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1520s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1520s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1520s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1520s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 1520s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 1520s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 1520s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 1520s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [120 kB] 1521s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [701 kB] 1521s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [6428 B] 1521s Fetched 2160 kB in 1s (1508 kB/s) 1524s Reading package lists... 1526s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1526s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1526s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1526s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1529s Reading package lists... 1529s Reading package lists... 1530s Building dependency tree... 1530s Reading state information... 1530s Calculating upgrade... 1531s The following packages will be upgraded: 1531s libxcb1 tzdata 1531s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1531s Need to get 250 kB of archives. 1531s After this operation, 0 B of additional disk space will be used. 1531s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x tzdata all 2025c-3ubuntu3 [199 kB] 1531s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb1 s390x 1.17.0-2ubuntu1 [50.6 kB] 1532s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1532s Fetched 250 kB in 0s (2506 kB/s) 1532s (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 ... 87720 files and directories currently installed.) 1532s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 1532s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 1532s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_s390x.deb ... 1532s Unpacking libxcb1:s390x (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 1533s Setting up libxcb1:s390x (1.17.0-2ubuntu1) ... 1533s Setting up tzdata (2025c-3ubuntu3) ... 1533s 1533s Current default time zone: 'Etc/UTC' 1533s Local time is now: Thu Jan 29 12:39:43 UTC 2026. 1533s Universal Time is now: Thu Jan 29 12:39:43 UTC 2026. 1533s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1533s 1533s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1533s autopkgtest [12:37:29]: upgrading testbed (apt dist-upgrade and autopurge) 1534s Reading package lists... 1534s Building dependency tree... 1534s Reading state information... 1535s Calculating upgrade... 1535s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1536s Reading package lists... 1536s Building dependency tree... 1536s Reading state information... 1536s Solving dependencies... 1537s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1541s Reading package lists... 1541s Building dependency tree... 1541s Reading state information... 1542s Solving dependencies... 1542s The following NEW packages will be installed: 1542s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1542s libdconf1 1542s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1542s Need to get 142 kB of archives. 1542s After this operation, 636 kB of additional disk space will be used. 1542s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libdconf1 s390x 0.49.0-4 [40.7 kB] 1542s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x dconf-service s390x 0.49.0-4 [28.1 kB] 1542s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x dconf-gsettings-backend s390x 0.49.0-4 [22.6 kB] 1542s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x dpkg-repack all 1.54build1 [11.2 kB] 1542s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 1543s Fetched 142 kB in 0s (6459 kB/s) 1543s Selecting previously unselected package libdconf1:s390x. 1543s (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 ... 87720 files and directories currently installed.) 1543s Preparing to unpack .../libdconf1_0.49.0-4_s390x.deb ... 1543s Unpacking libdconf1:s390x (0.49.0-4) ... 1543s Selecting previously unselected package dconf-service. 1543s Preparing to unpack .../dconf-service_0.49.0-4_s390x.deb ... 1543s Unpacking dconf-service (0.49.0-4) ... 1544s Selecting previously unselected package dconf-gsettings-backend:s390x. 1544s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_s390x.deb ... 1544s Unpacking dconf-gsettings-backend:s390x (0.49.0-4) ... 1544s Selecting previously unselected package dpkg-repack. 1544s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 1544s Unpacking dpkg-repack (1.54build1) ... 1544s Selecting previously unselected package gsettings-desktop-schemas. 1544s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 1544s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1544s Setting up dpkg-repack (1.54build1) ... 1544s Setting up libdconf1:s390x (0.49.0-4) ... 1544s Setting up dconf-service (0.49.0-4) ... 1544s Setting up dconf-gsettings-backend:s390x (0.49.0-4) ... 1544s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1544s Processing triggers for man-db (2.13.1-1) ... 1546s Processing triggers for libglib2.0-0t64:s390x (2.86.3-4) ... 1546s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1556s autopkgtest [12:37:52]: test 1065022-futureproofing: [----------------------- 1556s + export DEBIAN_FRONTEND=noninteractive 1556s + n=0 1556s + failed=0 1556s + binary_package=libglib2.0-0t64 1556s + future_binary_package=libglib2.0-0xyz 1556s + pwd 1556s + srcdir=/tmp/autopkgtest.mbpDUd/build.PzA/src 1556s + mktemp -d 1556s + tmpdir=/tmp/tmp.TJI7rO299l 1556s + cd /tmp/tmp.TJI7rO299l 1556s + exec 1556s + [ -e /tmp/autopkgtest.mbpDUd/build.PzA/src/debian/tests/manual/local-1065022.sources ] 1556s + dpkg-query -W dpkg-repack 1556s dpkg-repack 1.54build1 1556s + dpkg-query -s libglib2.0-0t64 1556s Package: libglib2.0-0t64 1556s Status: install ok installed 1556s Priority: important 1556s Section: libs 1556s Installed-Size: 4586 1556s Maintainer: Ubuntu Developers 1556s Architecture: s390x 1556s Multi-Arch: same 1556s Source: glib2.0 1556s Version: 2.86.3-4 1556s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1556s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4) 1556s 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) 1556s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1556s Suggests: low-memory-monitor 1556s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 1556s Description: GLib library of C routines 1556s GLib is a library containing many useful C routines for things such 1556s as trees, hashes, lists, and strings. It is a useful general-purpose 1556s C library used by projects such as GTK+, GIMP, and GNOME. 1556s . 1556s This package contains the shared libraries. 1556s Original-Maintainer: Debian GNOME Maintainers 1556s Homepage: https://gitlab.gnome.org/GNOME/glib 1556s + dpkg-query -W -f ${Version} libglib2.0-0t64 1556s + binary_version=2.86.3-4 1556s + dpkg-repack --generate libglib2.0-0t64 1557s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1557s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.9Eh8sF for libglib2.0-0t64 1557s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.9Eh8sF ." 1557s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.9Eh8sF/DEBIAN/control 1557s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.9Eh8sF/DEBIAN/control 1557s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.9Eh8sF/DEBIAN/control 1557s + env binary_package=libglib2.0-0t64 binary_version=2.86.3-4 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package} (= $ENV{binary_version})/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.9Eh8sF/DEBIAN/control 1557s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.9Eh8sF libglib2.0-0xyz.deb 1557s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1564s + dpkg-deb --info libglib2.0-0xyz.deb 1564s new Debian package, version 2.0. 1564s size 1602494 bytes: control archive=25812 bytes. 1564s 1218 bytes, 24 lines control 1564s 1136 bytes, 14 lines md5sums 1564s 1280 bytes, 44 lines * postinst #!/bin/sh 1564s 2576 bytes, 87 lines * postrm #!/bin/sh 1564s 2408 bytes, 53 lines * preinst #!/bin/sh 1564s 466 bytes, 10 lines shlibs 1564s 172677 bytes, 4529 lines symbols 1564s 170 bytes, 4 lines triggers 1564s Package: libglib2.0-0xyz 1564s Source: glib2.0 1564s Version: 2.86.3-4 1564s Architecture: s390x 1564s Maintainer: Ubuntu Developers 1564s Installed-Size: 4586 1564s 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) 1564s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1564s Suggests: low-memory-monitor 1564s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1564s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1564s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4), libglib2.0-0t64 (= 2.86.3-4) 1564s Section: libs 1564s Priority: important 1564s Multi-Arch: same 1564s Homepage: https://gitlab.gnome.org/GNOME/glib 1564s Description: GLib library of C routines 1564s GLib is a library containing many useful C routines for things such 1564s as trees, hashes, lists, and strings. It is a useful general-purpose 1564s C library used by projects such as GTK+, GIMP, and GNOME. 1564s . 1564s This package contains the shared libraries. 1564s . 1564s (Repackaged on Thu, 29 Jan 2026 12:40:07 +0000 by dpkg-repack.) 1564s + dpkg-deb --contents libglib2.0-0xyz.deb 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/lib/ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/lib/s390x-linux-gnu/ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/lib/s390x-linux-gnu/gio/ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/lib/s390x-linux-gnu/gio/modules/ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/lib/s390x-linux-gnu/glib-2.0/ 1564s -rwxr-xr-x root/root 10408 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/glib-2.0/gio-launch-desktop 1564s -rwxr-xr-x root/root 14504 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/glib-2.0/gio-querymodules 1564s -rwxr-xr-x root/root 51408 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/glib-2.0/glib-compile-schemas 1564s -rw-r--r-- root/root 2117104 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/libgio-2.0.so.0.8600.3 1564s -rw-r--r-- root/root 1490408 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/libglib-2.0.so.0.8600.3 1564s -rw-r--r-- root/root 14376 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/libgmodule-2.0.so.0.8600.3 1564s -rw-r--r-- root/root 420056 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/libgobject-2.0.so.0.8600.3 1564s -rw-r--r-- root/root 6152 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/libgthread-2.0.so.0.8600.3 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/share/ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/share/doc/ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/share/doc/libglib2.0-0t64/ 1564s -rw-r--r-- root/root 258310 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1564s -rw-r--r-- root/root 1703 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/README.Debian 1564s -rw-r--r-- root/root 3248 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/README.md 1564s -rw-r--r-- root/root 39086 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1564s -rw-r--r-- root/root 55103 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/copyright 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/share/glib-2.0/ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/share/glib-2.0/schemas/ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/share/lintian/ 1564s drwxr-xr-x root/root 0 2026-01-29 12:40 ./usr/share/lintian/overrides/ 1564s -rw-r--r-- root/root 520 2026-01-01 12:59 ./usr/share/lintian/overrides/libglib2.0-0t64 1564s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.3 1564s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.3 1564s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.3 1564s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.3 1564s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/s390x-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.3 1564s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1564s Reading package lists... 1565s Building dependency tree... 1565s Reading state information... 1565s dconf-gsettings-backend is already the newest version (0.49.0-4). 1565s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 1566s Solving dependencies... 1566s The following additional packages will be installed: 1566s xdg-user-dirs 1566s Suggested packages: 1566s low-memory-monitor 1566s The following packages will be REMOVED: 1566s libglib2.0-0t64 1566s The following NEW packages will be installed: 1566s libglib2.0-0xyz xdg-user-dirs 1566s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1566s Need to get 20.1 kB/1623 kB of archives. 1566s After this operation, 168 kB of additional disk space will be used. 1566s Get:1 /tmp/tmp.TJI7rO299l/libglib2.0-0xyz.deb libglib2.0-0xyz s390x 2.86.3-4 [1602 kB] 1566s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x xdg-user-dirs s390x 0.19-1 [20.1 kB] 1567s Fetched 20.1 kB in 0s (735 kB/s) 1567s dpkg: libglib2.0-0t64:s390x: dependency problems, but removing anyway as you requested: 1567s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 1567s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1567s s390-tools depends on libglib2.0-0t64 (>= 2.32.0). 1567s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 1567s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1567s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1567s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 1567s libxmlb2:s390x depends on libglib2.0-0t64 (>= 2.54.0). 1567s libvolume-key1:s390x depends on libglib2.0-0t64 (>= 2.18.0). 1567s libudisks2-0:s390x depends on libglib2.0-0t64 (>= 2.83.0). 1567s libqrtr-glib0:s390x depends on libglib2.0-0t64 (>= 2.56). 1567s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 1567s libqmi-glib5:s390x depends on libglib2.0-0t64 (>= 2.54.0). 1567s libpolkit-gobject-1-0:s390x depends on libglib2.0-0t64 (>= 2.38.0). 1567s libpolkit-agent-1-0:s390x depends on libglib2.0-0t64 (>= 2.38.0). 1567s libnetplan1:s390x depends on libglib2.0-0t64 (>= 2.76.0). 1567s libmm-glib0:s390x depends on libglib2.0-0t64 (>= 2.62.0). 1567s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 1567s libmbim-glib4:s390x depends on libglib2.0-0t64 (>= 2.56). 1567s libjson-glib-1.0-0:s390x depends on libglib2.0-0t64 (>= 2.80.0). 1567s libjcat1:s390x depends on libglib2.0-0t64 (>= 2.80.0). 1567s libgudev-1.0-0:s390x depends on libglib2.0-0t64 (>= 2.80.0). 1567s libgirepository-2.0-0:s390x depends on libglib2.0-0t64 (= 2.86.3-4). 1567s libfwupd3:s390x depends on libglib2.0-0t64 (>= 2.80.0). 1567s libdconf1:s390x depends on libglib2.0-0t64 (>= 2.80.0). 1567s libblockdev3:s390x depends on libglib2.0-0t64 (>= 2.42.2). 1567s libblockdev-utils3:s390x depends on libglib2.0-0t64 (>= 2.76.0). 1567s libblockdev-swap3:s390x depends on libglib2.0-0t64 (>= 2.42.2). 1567s libblockdev-smart3:s390x depends on libglib2.0-0t64 (>= 2.42.2). 1567s libblockdev-part3:s390x depends on libglib2.0-0t64 (>= 2.42.2). 1567s libblockdev-nvme3:s390x depends on libglib2.0-0t64 (>= 2.42.2). 1567s libblockdev-mdraid3:s390x depends on libglib2.0-0t64 (>= 2.42.2). 1567s libblockdev-loop3:s390x depends on libglib2.0-0t64 (>= 2.42.2). 1567s libblockdev-fs3:s390x depends on libglib2.0-0t64 (>= 2.42.2). 1567s libblockdev-crypto3:s390x depends on libglib2.0-0t64 (>= 2.42.2). 1567s gir1.2-glib-2.0:s390x depends on libglib2.0-0t64 (= 2.86.3-4). 1567s fwupd depends on libglib2.0-0t64 (>= 2.80.0). 1567s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1567s dconf-gsettings-backend:s390x depends on libglib2.0-0t64 (>= 2.80.0). 1567s bolt depends on libglib2.0-0t64 (>= 2.80.0). 1567s 1567s (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 ... 87787 files and directories currently installed.) 1567s Removing libglib2.0-0t64:s390x (2.86.3-4) ... 1568s Selecting previously unselected package libglib2.0-0xyz:s390x. 1568s (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 ... 87768 files and directories currently installed.) 1568s Preparing to unpack .../libglib2.0-0xyz.deb ... 1568s Unpacking libglib2.0-0xyz:s390x (2.86.3-4) ... 1568s Selecting previously unselected package xdg-user-dirs. 1568s Preparing to unpack .../xdg-user-dirs_0.19-1_s390x.deb ... 1568s Unpacking xdg-user-dirs (0.19-1) ... 1568s Setting up xdg-user-dirs (0.19-1) ... 1569s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1569s Setting up libglib2.0-0xyz:s390x (2.86.3-4) ... 1569s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1569s Processing triggers for man-db (2.13.1-1) ... 1571s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1571s + n=1 1571s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1571s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1571s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1571s + n=2 1571s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1571s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1571s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1571s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1571s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1571s + n=3 1571s + test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1571s + echo ok 3 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1571s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1571s + n=4 1571s + test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1571s + echo ok 4 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1571s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1571s + n=5 1571s + test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1571s + echo ok 5 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1571s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1571s + n=6 1571s + test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1571s + echo ok 6 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1571s + apt-get -y purge libglib2.0-0t64 1571s ok 3 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1571s ok 4 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1571s ok 5 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1571s ok 6 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1571s Reading package lists... 1572s Building dependency tree... 1572s Reading state information... 1572s Solving dependencies... 1573s The following packages will be REMOVED: 1573s libglib2.0-0t64* 1574s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1574s After this operation, 0 B of additional disk space will be used. 1574s (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 ... 87802 files and directories currently installed.) 1574s Purging configuration files for libglib2.0-0t64:s390x (2.86.3-4) ... 1575s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1575s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1575s ok 9 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1575s ok 10 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1575s ok 11 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1575s ok 12 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1575s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1575s + n=7 1575s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1575s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1575s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1575s + n=8 1575s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1575s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1575s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1575s + n=9 1575s + test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1575s + echo ok 9 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1575s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1575s + n=10 1575s + test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1575s + echo ok 10 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1575s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1575s + n=11 1575s + test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1575s + echo ok 11 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1575s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1575s + n=12 1575s + test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1575s + echo ok 12 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1575s + apt-get -y purge libglib2.0-0xyz 1575s Reading package lists... 1576s Building dependency tree... 1576s Reading state information... 1576s Solving dependencies... 1577s The following additional packages will be installed: 1577s libglib2.0-0t64 1577s Suggested packages: 1577s low-memory-monitor 1577s The following packages will be REMOVED: 1577s libglib2.0-0xyz* 1577s The following NEW packages will be installed: 1577s libglib2.0-0t64 1577s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1577s Need to get 1602 kB of archives. 1577s After this operation, 0 B of additional disk space will be used. 1577s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-0t64 s390x 2.86.3-4 [1602 kB] 1579s Fetched 1602 kB in 0s (4072 kB/s) 1579s dpkg: libglib2.0-0xyz:s390x: dependency problems, but removing anyway as you requested: 1579s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s s390-tools depends on libglib2.0-0t64 (>= 2.32.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libxmlb2:s390x depends on libglib2.0-0t64 (>= 2.54.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libvolume-key1:s390x depends on libglib2.0-0t64 (>= 2.18.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libudisks2-0:s390x depends on libglib2.0-0t64 (>= 2.83.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libqrtr-glib0:s390x depends on libglib2.0-0t64 (>= 2.56); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libqmi-glib5:s390x depends on libglib2.0-0t64 (>= 2.54.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libpolkit-gobject-1-0:s390x depends on libglib2.0-0t64 (>= 2.38.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libpolkit-agent-1-0:s390x depends on libglib2.0-0t64 (>= 2.38.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libnetplan1:s390x depends on libglib2.0-0t64 (>= 2.76.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libmm-glib0:s390x depends on libglib2.0-0t64 (>= 2.62.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libmbim-glib4:s390x depends on libglib2.0-0t64 (>= 2.56); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libjson-glib-1.0-0:s390x depends on libglib2.0-0t64 (>= 2.80.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libjcat1:s390x depends on libglib2.0-0t64 (>= 2.80.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libgudev-1.0-0:s390x depends on libglib2.0-0t64 (>= 2.80.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libgirepository-2.0-0:s390x depends on libglib2.0-0t64 (= 2.86.3-4); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libfwupd3:s390x depends on libglib2.0-0t64 (>= 2.80.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libdconf1:s390x depends on libglib2.0-0t64 (>= 2.80.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libblockdev3:s390x depends on libglib2.0-0t64 (>= 2.42.2); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libblockdev-utils3:s390x depends on libglib2.0-0t64 (>= 2.76.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libblockdev-swap3:s390x depends on libglib2.0-0t64 (>= 2.42.2); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libblockdev-smart3:s390x depends on libglib2.0-0t64 (>= 2.42.2); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libblockdev-part3:s390x depends on libglib2.0-0t64 (>= 2.42.2); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libblockdev-nvme3:s390x depends on libglib2.0-0t64 (>= 2.42.2); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libblockdev-mdraid3:s390x depends on libglib2.0-0t64 (>= 2.42.2); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libblockdev-loop3:s390x depends on libglib2.0-0t64 (>= 2.42.2); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libblockdev-fs3:s390x depends on libglib2.0-0t64 (>= 2.42.2); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s libblockdev-crypto3:s390x depends on libglib2.0-0t64 (>= 2.42.2); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s gir1.2-glib-2.0:s390x depends on libglib2.0-0t64 (= 2.86.3-4); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s fwupd depends on libglib2.0-0t64 (>= 2.80.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s dconf-gsettings-backend:s390x depends on libglib2.0-0t64 (>= 2.80.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 1579s Package libglib2.0-0t64 is not installed. 1579s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1579s 1579s (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 ... 87802 files and directories currently installed.) 1579s Removing libglib2.0-0xyz:s390x (2.86.3-4) ... 1579s Selecting previously unselected package libglib2.0-0t64:s390x. 1579s (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 ... 87783 files and directories currently installed.) 1579s Preparing to unpack .../libglib2.0-0t64_2.86.3-4_s390x.deb ... 1579s Unpacking libglib2.0-0t64:s390x (2.86.3-4) ... 1579s Setting up libglib2.0-0t64:s390x (2.86.3-4) ... 1579s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1580s (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 ... 87802 files and directories currently installed.) 1580s Purging configuration files for libglib2.0-0xyz:s390x (2.86.3-4) ... 1580s + not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1580s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1580s assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1580s + n=13 1580s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1580s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1580s + failed=1 1580s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1580s + n=14 1580s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1580s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1580s + failed=1 1580s + assert_not test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.sonot ok 15 - should not have succeeded: test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1580s not ok 16 - should not have succeeded: test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1580s 1..16 1580s 1580s + n=15 1580s + test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1580s + echo not ok 15 - should not have succeeded: test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1580s + failed=1 1580s + assert_not test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1580s + n=16 1580s + test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1580s + echo not ok 16 - should not have succeeded: test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1580s + failed=1 1580s + echo 1..16 1580s + exit 1 1580s autopkgtest [12:38:16]: test 1065022-futureproofing: -----------------------] 1581s autopkgtest [12:38:17]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1581s 1065022-futureproofing FLAKY non-zero exit status 1 1582s autopkgtest [12:38:18]: @@@@@@@@@@@@@@@@@@@@ summary 1582s build PASS (superficial) 1582s build-static PASS (superficial) 1582s girepository-tools PASS (superficial) 1582s libgio-2.0-dev-bin PASS (superficial) 1582s libglib2.0-dev PASS (superficial) 1582s installed-tests PASS 1582s closure-refcount PASS 1582s debugcontroller PASS 1582s gdbus-server-auth PASS 1582s gdbus-threading PASS 1582s gmenumodel PASS 1582s mainloop PASS 1582s memory-monitor-dbus PASS 1582s socket PASS 1582s testfilemonitor PASS 1582s thread-pool-slow PASS 1582s threadtests PASS 1582s timeout PASS 1582s timer PASS 1582s 1065022-futureproofing FLAKY non-zero exit status 1